具有多种工具操作的计划

下面是几个使用多种工具生成计划的提示示例:

提示示例

要列出目录,请输入以下提示:

list catalogs and use the selected catalog to list published apis
list catalogs and use the selected catalog to list published products
list catalogs and use the selected catalog to list consumer orgs
list catalogs and use the selected catalog to list apps
要创建 API 草稿并使用 API 名称验证 API,请输入以下提示:
create draft api @file_name.json and validate the api created
要创建并下载 API 草稿,请输入以下提示:
create draft api @file_name.json and download the draft api created
要创建 API 草稿并验证和发布 API,请输入以下提示:
create draft api @file_name.json and validate the api and publish it to catalog with name catalog1

要验证和审查 API 的安全性,请输入以下提示:

validate api API_NAME and add client secret security to that api
review security of api API_NAME and publish the api to catalog CATALOG_NAME
validate api with name API_NAME and version VERSION and add client secret security to that api and publish to catalog CATALOG_NAME

要在目录中列出应用程序并使用所选应用程序列出订阅,请输入以下提示:

List apps in catalog with name CATALOG_NAME and use the selected app to list subscriptions

要在目录中列出已发布的产品和 API,请输入以下提示:

List published products in catalog CATALOG_NAME and list apps in catalog and create subscription for the selected app
List published apis in catalog CATALOG_NAME and list apps and create subscription for the selected application