Nav

Create Notification

logo cloud active logo hybrid disabled logo server disabled logo pcf disabled

This document deals with calling the CloudHub API. For instructions on how to perform these same tasks more easily via the Runtime Manager UI, see CloudHub and its child pages.

The POST operation specified with the /api/notifications resource creates a new CloudHub notification.

Example Request:


         
      
1
2
3
4
5
6
7
8
POST https://anypoint.mulesoft.com/cloudhub/api/notifications
Content-Type: application/json
 
{
  "domain": "myapp",
  "priority": "INFO",
  "message": "Something happened",
}

Example Response:


         
      
1
2
3
201
Content-Type: application/json
Location: https://anypoint.mulesoft.com/cloudhub/api/notifications/12345

Check out the API Portal of the CloudHub API to see an interactive reference of all the supported resources, methods, required properties and expected responses.

In the link above, search among other Mule APIs for the "CloudHub" API and click on its latest version.

In this topic: