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": null,
"_id": "35e984cd5a91824c6977fdd7",
"gbac": {
"write": [
{
"provenance": "localAAA",
"name": "operators",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "admins",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "operators",
"description": "Description of a group"
}
],
"read": [
{
"provenance": "localAAA",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "admins",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"name": "operators",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"name": "admins",
"description": "Description of a group"
}
]
},
"componentName": null,
"createdBy": "incididunt et",
"created": "1999-11-06T00:34:35.886Z",
"lastUpdatedBy": null,
"lastUpdated": "1979-06-15T10:24:59.91Z",
"triggers": [
{
"name": "myCoolDocumentName",
"type": "eventSystem",
"enabled": true,
"actionType": "automations",
"actionId": "ffa8393b4c68e0dfadc65de8",
"source": "Ut officia laboris irure",
"topic": "officia",
"_id": "a6ba2a7871bbe18a6d90fd92",
"jst": null,
"description": "Some helpful information about the document",
"lastExecuted": 13747539,
"migrationVersion": -30218062,
"legacyWrapper": false,
"createdBy": "esse in irure minim mollit",
"created": "2004-09-28T10:26:44.926Z",
"lastUpdatedBy": null,
"lastUpdated": "1972-10-22T06:05:09.938Z"
},
{
"name": "myCoolDocumentName",
"type": "endpoint",
"enabled": true,
"actionType": "automations",
"actionId": "f8c936886d29659fe1cb8b13",
"verb": "POST",
"routeName": "c4y9MPMvzBk",
"_id": "611cf5c781707b172256dbab",
"jst": null,
"description": "Some helpful information about the document",
"lastExecuted": null,
"migrationVersion": 25363994,
"createdBy": null,
"created": "1977-05-12T04:15:28.575Z",
"lastUpdatedBy": "tempor elit mollit cupidatat pariatur",
"lastUpdated": "1985-09-29T11:56:10.868Z"
}
]
}
}