-
Use the keyboard shortcuts:
-
Mac: Cmd+Shift+p
-
Windows: Ctrl+Shift+p
-
-
In the desktop IDE, select View > Command Palette.
-
In the cloud IDE, click the (menu) icon, and select View > Command Palette.
Publishing the API Spec to Anypoint Exchange
Publish American Flights API specification to Exchange so that other team members can find and implement it.
Before You Begin
-
If you haven’t started the American Flight API specification, follow these procedures before attempting to publish:
-
Have some familiarity with business groups.
When you publish your API spec to Exchange from Anypoint Code Builder, the IDE requests the name of the business group. See Business Groups.
Publish an API to Exchange
To publish your API to Exchange:
-
In Anypoint Code Builder, open the specification for your American Flights API project, such as
american-flights-api.raml
. -
Open the Command Palette.
Show me how
-
Provide the following command:
MuleSoft: Publish API Specification to Exchange
-
If prompted, click Allow, and follow the prompts to sign in to Anypoint Platform.
-
In Select a Business Group, find and select your business group for the project.
For more information, see Before You Begin.
-
Type a project name: American Flights API.
-
Confirm the artifact ID: American-Flights-API.
-
Confirm the asset version: 1.0.0.
-
Confirm the API version: v1. The status bar shows the progress:
-
When prompted to implement the API now, select No to avoid scaffolding the American Flights API specification into your integration.
Selecting Yes scaffolds the API specification into your project. Instead of scaffolding now, you will scaffold in Implementing the American Flights API Spec.
Locate Your API in Exchange
After publishing your API specification, you can find it in Anypoint Exchange:
-
Navigate to Anypoint Platform and log in using your credentials.
Show me how
-
US cloud (non-EU host): Anypoint Platform (US)
-
EU cloud (EU host): Anypoint Platform (EU)
-
-
Navigate to Anypoint Exchange.
Show me how
-
US cloud (non-EU host): Exchange (US)
-
EU cloud (EU host): Exchange (EU)
-
-
Notice that your API specification is listed as an asset.
You can select the API, navigate through its summary, and see all the endpoints you defined in the previous tasks.
-
Proceed to Integrating American Flights Processes to start an integration app for American Flights.