Summary
Export Automation
Description
Export an Automation.
Route
GET /operations-manager/automations/:id/export
Roles
admin
engineering
apiread
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": "e101cba2793a97b692ae35a9",
"gbac": {
"write": [
{
"provenance": "localAAA",
"name": "designers",
"description": "Description of a group"
}
],
"read": [
{
"provenance": "ldap",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"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": "cupidatat ea est ut",
"createdBy": "esse",
"created": "1997-05-12T21:48:26.597Z",
"lastUpdatedBy": "id",
"lastUpdated": "1996-06-21T20:29:25.385Z",
"triggers": [
{
"name": "myCoolDocumentName",
"type": "endpoint",
"enabled": true,
"actionType": "automations",
"actionId": "64e3ed3bd378f21179d6906d",
"verb": "POST",
"routeName": "y42I6M36KG8",
"_id": "a0163253c3014fcedd468537",
"description": "Some helpful information about the document",
"lastExecuted": null,
"migrationVersion": -48887941,
"createdBy": "consectetur ad sit",
"created": "1982-10-14T17:17:32.289Z",
"lastUpdatedBy": null,
"lastUpdated": "1989-12-27T17:44:19.576Z"
},
{
"name": "myCoolDocumentName",
"type": "eventSystem",
"enabled": true,
"actionType": "automations",
"actionId": "577ca834161ae037085ae2d4",
"source": "minim",
"topic": "cillum consequat anim",
"_id": "1986196655740a5a74e0658b",
"jst": null,
"description": "Some helpful information about the document",
"lastExecuted": 98741802,
"migrationVersion": 92313098,
"createdBy": null,
"created": "1975-05-10T00:32:16.499Z",
"lastUpdatedBy": "Ut voluptate do velit",
"lastUpdated": "1962-06-26T11:29:00.146Z"
}
]
}
}