Getting Started with API Catalog CLI
After you become familiar with the API Catalog CLI concepts covered in Autocataloging APIs Using API Catalog CLI, you are ready to get started autocataloging your APIs.
Before You Begin
To grant permission to run the API Catalog CLI commands that interact with Anypoint Platform:
-
Enable API Catalog Contributor.
-
If you are authenticating using a connected app, set the View Environment scope to the main environment for your organization.
Permissions must be set in Access Management by an Anypoint Platform user with administrative permission. |
See the Access Management documentation for details on managing permissions.
Get Started with API Catalog CLI
To get started with API Catalog CLI:
-
Install API Catalog CLI.
-
Get familiar with the general use of API Catalog, such as how to pass authentication information and how to use the general command flags.
-
Create a descriptor file to identify the APIs to publish.
-
Catalog an asset using API Catalog CLI and view it in Anypoint Exchange.
Consider testing the process end-to-end locally by running the commands at a command prompt before adding the commands to your CI/CD pipeline or custom scripts. |