your connectors, API's, templates and examples. Anypoint Exchange is hub where you can find connectors, API's, examples and many more. You can connect to Exchange with Anypoint Studio to download and install connectors, consume API's etc.
and go to Exchange. Make sure you have access to Exchange and it can be verify under Access Management < Users. Now, click on Add item and select Rest API from drop down list and it will navigate you to other page.
and Item Id (auto generated). Other fields are optional. Click on Add Version at the end of page and it will ask to provide details like Rest API Spec Version, API Version, API Portal and Rest API url. You can get API Portal and Rest API url from your Live Portal. Click on Done.
and go to File < New < Mule Project and it will open pop-up window. Provide the Project Name and checked Add APIKit Component. Click on ellipsis button near API Definition, it will show Drop Down list and select Anypoint Platform, it will open new pop-up window.
in then you can see list of all API's associated with your account and select API which you want to consume and Press OK. Finally, click on Finish. This will generate various flows like API Main, API Console, Exception Strategy and various flows depending on HTTP method defined in your API.
function • Exposes API using HTTP or jetty. • Routes request between interface and backed flows depending on a HTTP request. • References exception strategies that produce HTTP-status-code responses.