Summary
Get Trigger
Description
Get a Trigger.
Route
GET /operations-manager/triggers/:id
Roles
admin
engineering
apiread
operations
viewer
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| id |
string |
yes |
The id of the Trigger to get. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The requested Trigger. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"type": "manual",
"enabled": true,
"actionType": "automations",
"actionId": "8f871891121904fd23da988d",
"lastExecuted": null,
"createdBy": "ut Ut aliquip",
"created": "2015-11-15T01:58:48.765Z",
"lastUpdatedBy": null,
"lastUpdated": "2020-07-08T15:08:35.281Z",
"formData": {
"ip": "1.2.3.4",
"name": "myNewDevice"
},
"legacyWrapper": true,
"_id": "5b761ac6cda4c14d274e2a94",
"formId": null,
"migrationVersion": -15507659,
"formSchemaHash": null
}
}