Listenoperationen

Verwenden Sie die Eingabeaufforderung list , um eine paginierte Liste von Katalogen, Entwürfen oder veröffentlichten APIs oder Produkten, Gateways, Verbraucherorganisationen und Anwendungen innerhalb einer Anbieterorganisation abzurufen.

Ressourcen auflisten

Dieser Vorgang wird sofort ausgeführt, ohne dass eine Bestätigung des Benutzers erforderlich ist, und liefert die angeforderten Daten direkt in der Antwort. Verwenden Sie die Parameter limit und offset , um die Paginierung zu steuern.

Tabelle 1. Parameter
Parameter Typ Beschreibung Standardwert
limit ganze Zahl Maximale Anzahl von Katalogen, die in der Antwort zurückgegeben werden. Steuert den Seitenumbruch durch Angabe der Seitengröße. 100
offset ganze Zahl Anzahl der Kataloge, die übersprungen werden sollen, bevor mit der Rückgabe der Ergebnisse begonnen wird. Wird für die Paginierung verwendet, um durch große Datensätze zu navigieren. 0
Sie können die folgenden Eingabeaufforderungen verwenden, um li:
Tabelle 2. Ressourcen auflisten
Aktion Eingabeaufforderung Befehle
Kataloge auflisten
list catalogs
list catalogs with limit 5
list catalogs with offset 4
list catalogs with limit 5 and offset 5
/list_catalogs
/list_catalogs limit:5
/list_catalogs offset:4
/list_catalogs limit:5 offset:5
Liste der Entwurfsprodukte
list draft products
list draft products with limit 5
list draft products with offset 4
list draft products with limit 5 and offset 5
list draft products
list draft products with limit 5
list draft products with offset 4
list draft products with limit 5 and offset 5
Gateways auflisten
list gateways in catalog
list gateways in catalog with limit 5
list gateways in catalog with offset 4
list gateways in catalog with limit 5 and offset 5
list gateways in catalog CATALOG_NAME and limit 5
list gateways in catalog CATALOG_NAME and limit 5 and offset 3
/list_gateways_in_catalog
/list_gateways_in_catalog catalog:CATALOG_NAME
Liste der Verbraucherorganisationen
list consumer orgs
list consumer orgs with limit 5
list consumer orgs with offset 4
list consumer orgs with limit 5 and offset 5
list consumer orgs in catalog CATALOG_NAME with limit 5
list consumer orgs in catalog CATALOG_NAME with limit 5 and offset 3
/list_consumer_orgs
/list_consumer_orgs limit:5
/list_consumer_orgs offset:4
/list_consumer_orgs limit:5 offset:5
/list_consumer_orgs limit:5 catalog:CATALOG_NAME
/list_consumer_orgs catalog:CATALOG_NAME limit:5 offset:3
Liste der veröffentlichten Produkte
list published products
list published products with limit 5
list published products with offset 4
list published products with limit 5 and offset 5
list published products in catalog CATALOG_NAME with limit 5
list published products in catalog CATALOG_NAME with limit 5 and offset 3
/list_published_products
/list_published_products limit:5
/list_published_products offset:4
/list_published_products limit:5 offset:5
/list_published_products limit:5 catalog:CATALOG_NAME
/list_published_products catalog:CATALOG_NAME limit:5 offset:3
Entwurf der APIs auflisten
list draft apis
list draft apis with limit 5
list draft apis with offset 4
list draft apis with limit 5 and offset 5
/list_draft_apis
/list_draft_apis limit:5
/list_draft_apis offset:4
/list_draft_apis limit:5 offset:5
Liste der veröffentlichten APIs
list published APIs
list published apis with limit 5
list published apis with offset 4
list published apis with limit 5 and offset 5
list published apis in catalog CATALOG_NAME with limit 5
list published apis in catalog CATALOG_NAME with limit 5 and offset 3
/list_published_apis
/list_published_apis limit:5
/list_published_apis offset:4
/list_published_apis limit:5 offset:5
/list_published_apis limit:5 catalog:CATALOG_NAME
/list_published_apis catalog:CATALOG_NAME limit:5 offset:3
Anwendungen auflisten
list apps in catalog
list apps in catalog with limit 5
list apps in catalog with offset 4
list apps in catalog with limit 5 and offset 5
list apps in catalog CATALOG_NAME with limit 5
list apps in catalog CATALOG_NAME with limit 5 and offset 3
list apps in catalog for consumer org corg1
list apps in catalog CATALOG_NAME with limit 5 and consumer org corg1
list apps in catalog CATALOG_NAME with limit 5 and offset 3 and consumer org corg1
/list_apps_in_catalog
/list_apps_in_catalog limit:5
/list_apps_in_catalog offset:4
/list_apps_in_catalog limit:5 offset:5
/list_apps_in_catalog limit:5 catalog:CATALOG_NAME
/list_apps_in_catalog catalog:CATALOG_NAME limit:5 offset:3
/list_apps_in_catalog consumer_org:CONSUMER_ORG_NAME
/list_apps_in_catalog catalog:CATALOG_NAME limit:5 consumer_org:CONSUMER_ORG_NAME
/list_apps_in_catalog catalog:CATALOG_NAME limit:15 offset:5 consumer_org:CONSUMER_ORG_NAME