Summary
Export Automation
Description
Export an Automation.
Route
GET /operations-manager/automations/:id/export
Roles
admin
engineering
apiread
viewer
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
The id of the Automation 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 created the requested item",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"_id": "23bcaf4a3b3b85a032a8d6cb",
"gbac": {
"write": [
{
"provenance": "localAAA",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "admins",
"description": "Description of a group"
}
],
"read": [
{
"provenance": "localAAA",
"name": "operators",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "operators",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "designers",
"description": "Description of a group"
}
]
},
"componentName": null,
"createdBy": null,
"created": "1960-08-29T09:38:01.444Z",
"lastUpdatedBy": null,
"lastUpdated": "1973-06-21T20:47:49.491Z",
"triggers": [
{
"name": "myCoolDocumentName",
"type": "manual",
"enabled": true,
"actionType": "automations",
"actionId": "6d8a2051c667fb23c0d3d8fc",
"formData": {
"deviceName": "ATL-123",
"action": "SYNC"
},
"_id": "94bfe9a2761090edfa87315f",
"formId": null,
"description": "Some helpful information about the document",
"lastExecuted": 52287438,
"migrationVersion": -3123462,
"createdBy": "ad fugiat",
"created": "1949-03-19T15:08:14.288Z",
"lastUpdatedBy": "laboris dolor dolor mollit amet",
"lastUpdated": "1975-09-16T16:35:12.027Z",
"formSchemaHash": null,
"legacyWrapper": false
}
]
}
}