ActionPlanAlertTriggersResource


Create an alert trigger for an action plan


POST https://example.com/api/cloud/actionplans/{actionplan}/triggers

Roles : [ROLE_ACTION_PLAN_MANAGE]

Content-Type : links Accept : links

Error Codes

  • AP-19 - Duplicated trigger for alert and action plan
  • MONITORING-23 - Alert not found

Example

List alert triggers flat for an action plan


Returns all the alerts that trigger the action plan execution.

GET https://example.com/api/cloud/actionplans/{actionplan}/triggers

Roles : [ROLE_ACTION_PLAN_VIEW]

List alert triggers for an action plan


Returns the links of all the alerts that trigger the execution of the action plan.

GET https://example.com/api/cloud/actionplans/{actionplan}/triggers

Roles : [ROLE_ACTION_PLAN_VIEW]

Accept : links

Example

Delete an alert trigger from an action plan


DELETE https://example.com/api/cloud/actionplans/{actionplan}/triggers/{trigger}

Roles : [ROLE_ACTION_PLAN_MANAGE]

Example

Get an alert trigger for an action plan


Returns a collection of links to identify an alert that triggers an action plan. The link with a "rel" value of "self" is the "alerttrigger" link. The collection also contains links to the alert and the action plan.

GET https://example.com/api/cloud/actionplans/{actionplan}/triggers/{trigger}

Roles : [ROLE_ACTION_PLAN_VIEW]

Accept : links

Error Codes

  • AP-20 - The requested alert trigger for the action plan does not exist

Example