Summary
Update Trigger
Description
Update a Trigger.
Route
PATCH /operations-manager/triggers/:id
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
The id of the Trigger to update. |
updates |
object |
yes |
The details of the Trigger document to update. |
Copied to Clipboard
{
"title": "updates",
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "trigger-update",
"oneOf": [
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"enabled": true,
"actionType": "automations",
"actionId": "9f28611b38d8c659a9f78e6d",
"lastExecuted": null,
"migrationVersion": -76622101,
"type": "endpoint",
"verb": "POST",
"routeName": "yC6",
"schema": null,
"jst": "c7563e2bb3fcd4faac7f4692"
},
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"enabled": false,
"actionType": "automations",
"actionId": "b3326e7dac1ef2961e4639a3",
"lastExecuted": null,
"migrationVersion": -30183876,
"type": "eventSystem",
"source": "proident",
"topic": "proident aliquip",
"legacyWrapper": true,
"jst": null
},
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"enabled": true,
"actionType": "automations",
"actionId": "bf10b2ba9aad3b719b015bc2",
"lastExecuted": null,
"migrationVersion": 5881457,
"type": "manual",
"formData": {
"deviceName": "ATL-123",
"action": "SYNC"
},
"formSchemaHash": "esse ut",
"legacyWrapper": false,
"formId": "fc91bb62ca7b0ce33de5348d"
},
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"enabled": false,
"actionType": "automations",
"actionId": "1192ae26aa87e651b287a560",
"lastExecuted": null,
"migrationVersion": -5842210,
"repeatInterval": 120000,
"formId": "1e0af14af0eb805b4c74dc1e"
}
]
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"enabled": false,
"actionType": "automations",
"actionId": "27e49c3cba0bff11f0362244",
"lastExecuted": null,
"migrationVersion": 63456872,
"createdBy": "Pronghorn",
"created": "1948-02-22T22:26:54.132Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2011-01-25T11:25:18.808Z",
"_id": "82595f9736a88aa6fb9fb1f4"
}
}