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 imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"_id": "434a963f2fd0989a441c7725",
"gbac": {
"write": [
{
"provenance": "ldap",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"name": "admins",
"description": "Description of a group"
}
],
"read": [
{
"provenance": "ldap",
"name": "admins",
"description": "Description of a group"
}
]
},
"componentName": "cupidatat ipsum",
"createdBy": "officia quis fugiat exercitation",
"created": "2008-05-23T04:24:50.766Z",
"lastUpdatedBy": "proident",
"lastUpdated": "1976-06-06T14:07:45.842Z",
"triggers": [
{
"name": "myCoolDocumentName",
"type": "endpoint",
"enabled": false,
"actionType": "automations",
"actionId": "558c6b4342e176a1eb84ef2e",
"verb": "POST",
"routeName": "2",
"schema": null,
"_id": "8e9eb4b1ec58968f85990bc0",
"description": "Some helpful information about the document",
"lastExecuted": 19293726,
"migrationVersion": 29830989,
"createdBy": "voluptate",
"created": "1985-05-02T13:15:05.761Z",
"lastUpdatedBy": "commodo ea nostrud sunt deserunt",
"lastUpdated": "1957-02-16T04:40:52.061Z"
}
]
}
}