Summary
Export Trigger
Description
Export a Trigger.
Route
GET /operations-manager/triggers/:id/export
Roles
admin
apiread
viewer
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
The id of the Trigger to export. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
document |
object |
The result of the export operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"type": "manual",
"enabled": true,
"actionType": "automations",
"actionId": "dfc570b38510cbae3c9569ac",
"formData": {
"ip": "1.2.3.4",
"name": "myNewDevice"
},
"_id": "e790ebdb93e96a8502a7e9ae",
"formId": "myCoolDocumentName",
"description": "Some helpful information about the document",
"lastExecuted": null,
"migrationVersion": -17613309,
"createdBy": "ad in",
"created": "1951-01-28T23:42:07.328Z",
"lastUpdatedBy": "sit aute eiusmod dolore",
"lastUpdated": "1993-07-18T02:20:14.667Z",
"formSchemaHash": null,
"legacyWrapper": true
}
}