0

Is there a way to get details of all the apps in an Anypoint Platform Business Group. For example, if there are 3 apps available in the RunTime Manager, I am looking at details like below:

enter image description here

I know there are cloudhub APIs which can get the details, but is there a custom API? If yes, can it be integrated with a reporting tool like PowerBI to create a live dashboard?

Please advise.

Triumph Spitfire
  • 663
  • 15
  • 38

1 Answers1

0

All or nearly all REST APIs provided by Anypoint Platform return JSON, including the CloudHub REST API. You can check the platform APIs in MuleSoft Dev Portal.

You can use the cloudhub/api/v2/applications/{domain} endpoint to get details of an application: https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/cloudhub-api/minor/1.0/console/method/%231839/

To get the schedulers information the endpoint there is a cloudhub/api/applications/{domain}/schedules endpoint: https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/cloudhub-api/minor/1.0/console/method/%233128/

Both return JSON responses with the information described in above links.

I don't know if that is useful for PowerBI. If not, you can develop your own custom application to query above information and return it in a suitable format. Your application can implement an API of your design if needed.

aled
  • 21,330
  • 3
  • 27
  • 34
  • Thanks for the details. What does {domain} indicate here? – Triumph Spitfire Feb 25 '21 at 15:55
  • It is the application name. You can see examples of using the API in Help Center. For example: https://help.mulesoft.com/s/article/How-to-update-the-loggers-in-Cloudhub-using-the-API. You need to obtain a bearer token first: https://help.mulesoft.com/s/article/How-to-generate-your-Authorization-Bearer-token-for-Anypoint-Platform – aled Feb 25 '21 at 17:42