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": "workflows",
"_id": "7e75acfda6aa73122dba3988",
"gbac": {
"write": [
{
"provenance": "localAAA",
"name": "designers",
"description": "Description of a group"
}
],
"read": [
{
"provenance": "ldap",
"name": "operators",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"name": "operators",
"description": "Description of a group"
}
]
},
"componentName": null,
"createdBy": "ut",
"created": "1955-11-01T16:21:55.271Z",
"lastUpdatedBy": "velit non ut sint",
"lastUpdated": "1977-03-11T20:55:25.535Z",
"triggers": [
{
"name": "myCoolDocumentName",
"type": "endpoint",
"enabled": false,
"actionType": "automations",
"actionId": "ee0c95baba23737e2ea080e1",
"verb": "POST",
"routeName": "4kMfio",
"_id": "cae02c1a2d514b9f0beb312d",
"jst": null,
"description": "Some helpful information about the document",
"lastExecuted": null,
"migrationVersion": 37163789,
"createdBy": "ex laborum dolor non eiusmod",
"created": "2014-05-18T01:02:57.912Z",
"lastUpdatedBy": "cillum voluptate eiusmod labore",
"lastUpdated": "1958-10-13T21:16:27.979Z"
}
]
}
}