Every time you login into the MuleSoft Anypoint Platform, you are implicitly calling a set of APIs that are invoked by the UI, the PlatformAPI! and you can make all these UI actions through HTTP requests directly as well, this is specially useful When automating your SDLC as you may need something more customizable than Anypoint CLI or the Mule Maven Plugin.
These assets act as base to start working upon with good practices (Postman concatenation of requests, testing scripts, etc.)
If you are new to Platform APIs please go through this post!
Before we start working with platform APIs, you need these three pieces of data: a session token, the organization id and the environment id; as shown in the below image.
Make sure you have Postman installed, that you do know how to import the Postman Collection and the Environment and then you can finally download the postman assets from this repository. Import both files and make sure to add both anypoint-username and anypoint-password to your Postman Environment, the fields highlighted below.
That's about it. Download import into your Postman, add your credentials to the Environment. Ideas? Comments around the Anypoint Platform APIs documentation? Please leave them in the post!
- Put what you learn into practice with Learn How to use MuleSoft Platform APIs to manage API Specifications
- For additional Postman collections, make sure you check out: MuleSoft Catalyst
- Or to visit the Platform API Portal