Skip to content

amirkhan-ak-sf/anypoint-platform-postman-collection

Repository files navigation

Anypoint Platform Postman Collection

Click on the link to fork or import a copy of the collection into your postman workspace

Run in Postman

Complete list of all available Anypoint Platform APIs can be found on Exchange: https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/

Also check out the Postman Collection of Angel Alberici: https://github.com/angelalberici/mulesoft-platform-apis

Getting started

This collection pack contains Anypoint Platform APIs request collection for the following areas:

  • Authentication
  • Design Center
  • Exchange
  • Management Center
    • Access Management
    • API Manager
    • Runtime Manager
    • Visualizer
    • Secret Manager

Environment

This collection pack contains an environment "Anypoint Platform". Set the values before you use any request. You must set the following:

  • url
  • username
  • password
  • organization_id

All other parameters are optional or related to specific requests.

Image of Postman Collection

Basic Setup Example

In the following, find some examples on accessing data using the postman collection pack. For detailed instruction, please watch the quick tutorial video linked below.

Login to Anypoint Platform

Once you have entered to correct parameter values in the environment "Anypoint Platform", you can make use of the "Login to anypoint platform" POST request in the Authentication Folder. This request will save the token bearer to the parameters and use it in all subsequent requests.

Image of Postman Collection

Getting profile Information

After you have logged in, you need to get your profile information in order to set the organization_Id. This is set by the "Get profile information" request in the Authentication folder. After execution of this request, the organization_Id parameter is set and relevant for all subsequent requests.

Image of Postman Collection

Subsequent request

After the basic setup is done, you can now use the majority of the requests in postman with your anypoint platform environment.

Get all projects

In order to access all projects using the collection pack, go to the folder "Design Center/Projects" and select the "Get all projects". Run this request to retrieve all projects within the organization_Id

Image of Postman Collection

Get all assets

In order to access all assets using the collection pack, go to the folder "Exchange/Assets" and select the "Get all assets". Run this request to retrieve all projects within the organization_Id

Image of Postman Collection

Invite new users

In order to invite new users, go to folder "Management Center/Access Management/Users" and select "Invite new users" request. This is requires to have the group role id, which you need to have prior performing this POST request. To get the group roles go to folder "Management Center/Access Management/Rolegroups" and perform "Get all rolegroups" request to retrieve all rolegroups.

Image of Postman Collection

Copy the required role_group_id and name. Go back to the "Invite new users" request and select Body. Enter the copied values to the correct fields.

Image of Postman Collection

Watch quick tutorial on how to use this collection pack

https://youtu.be/BFJJPqO1l20

License agreement

By using this repository, you accept that Max the Mule is the coolest integrator on the planet - Go to biography Max the Mule

About

anypoint-platform-postman-collection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published