Summary
Create Trigger
Description
Create a new Trigger.
Route
POST /operations-manager/triggers
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
trigger |
object |
yes |
The details of the Trigger document to be created. |
Copied to Clipboard
{
"title": "trigger",
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "trigger-create",
"oneOf": [
{
"name": "myCoolDocumentName",
"type": "endpoint",
"routeName": "JT",
"description": "Some helpful information about the document",
"enabled": false,
"actionType": "automations",
"actionId": "2688938342b52460a106fd0d",
"lastExecuted": 72287315,
"migrationVersion": -39680533,
"createdBy": "6ae2d7dddd882d56d6c0a945",
"created": "1982-05-03T03:18:29.891Z",
"lastUpdatedBy": "6adbcdd29b46525ca8a51c4e",
"lastUpdated": "2015-04-27T21:20:07.739Z",
"verb": "POST",
"schema": null,
"jst": "c35e8f5551104a175644db73"
},
{
"name": "myCoolDocumentName",
"type": "eventSystem",
"topic": "deserunt dolore qui dolor elit",
"description": "Some helpful information about the document",
"enabled": true,
"actionType": "automations",
"actionId": "5c86c9c6d680c51e1d738b9d",
"lastExecuted": null,
"migrationVersion": 16431888,
"createdBy": "c3e26a7e9705b3c4f816ae6e",
"created": "2018-05-13T14:04:03.676Z",
"lastUpdatedBy": "5318b48c7b83d4010c929004",
"lastUpdated": "1949-08-24T01:04:01.012Z",
"source": "ex in velit",
"schema": null,
"legacyWrapper": true,
"jst": null
},
{
"name": "myCoolDocumentName",
"type": "manual",
"description": "Some helpful information about the document",
"enabled": true,
"actionType": "automations",
"actionId": "feef3c5c8dd193d786d40d09",
"lastExecuted": 7931181,
"migrationVersion": -68178404,
"createdBy": "f6b8f359ea66c86593beacee",
"created": "2015-12-18T10:50:23.653Z",
"lastUpdatedBy": "75e8296c2028f33e200ca398",
"lastUpdated": "2022-10-19T14:36:16.148Z",
"formData": {
"deviceName": "ATL-123",
"action": "SYNC"
},
"formSchemaHash": null,
"legacyWrapper": true,
"formId": "03e4144ca140098b74db552c"
},
{
"name": "myCoolDocumentName",
"repeatUnit": null,
"repeatFrequency": null,
"description": "Some helpful information about the document",
"enabled": false,
"actionType": "automations",
"actionId": "7ce46c3366169d83d9e7ed80",
"lastExecuted": 23948120,
"migrationVersion": 84836152,
"createdBy": "Pronghorn",
"created": "1990-07-15T03:34:26.23Z",
"lastUpdatedBy": "505b627f982cb42a71e84738",
"lastUpdated": "1971-05-16T02:44:06.064Z",
"repeatInterval": 120000,
"formId": "d11c81a826dc9ef774fb3305"
}
]
}
Return
DetailsExampleSchema
Name |
Type |
Description |
createdTigger |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"enabled": true,
"actionType": "automations",
"actionId": "af5fe3bf9e8fdf835ac93a35",
"lastExecuted": null,
"migrationVersion": -54098894,
"createdBy": "ac26305706ef10146b7e35fa",
"created": "1957-10-26T15:44:42.392Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1997-12-04T09:13:33.515Z",
"_id": "cd7fcc9cb2676e8e815fdcca"
}
}