具有多种工具操作的计划
下面是几个使用多种工具生成计划的提示示例:
- 提示示例
要列出目录,请输入以下提示:
list catalogs and use the selected catalog to list published apislist catalogs and use the selected catalog to list published productslist catalogs and use the selected catalog to list consumer orgslist 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 apireview security of api API_NAME and publish the api to catalog CATALOG_NAMEvalidate 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 appList published apis in catalog CATALOG_NAME and list apps and create subscription for the selected application