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": "fb43a05db160d422b344f77c",
"gbac": {
"write": [
{
"provenance": "ldap",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "designers",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"name": "operators",
"description": "Description of a group"
},
{
"provenance": "ldap",
"name": "operators",
"description": "Description of a group"
},
{
"provenance": "localAAA",
"name": "designers",
"description": "Description of a group"
}
],
"read": [
{
"provenance": "localAAA",
"name": "admins",
"description": "Description of a group"
}
]
},
"componentName": null,
"createdBy": null,
"created": "2001-12-25T21:36:40.202Z",
"lastUpdatedBy": null,
"lastUpdated": "2003-03-15T08:36:52.866Z",
"triggers": [
{
"name": "myCoolDocumentName",
"type": "manual",
"enabled": true,
"actionType": "automations",
"actionId": "368298e5856005a6a85d890f",
"formData": {
"ip": "1.2.3.4",
"name": "myNewDevice"
},
"_id": "f50b485cd419d06233f71a4c",
"formId": null,
"description": "Some helpful information about the document",
"lastExecuted": null,
"migrationVersion": -32934832,
"createdBy": "cupidatat",
"created": "1982-10-21T18:32:24.122Z",
"lastUpdatedBy": "consectetur",
"lastUpdated": "1960-06-01T17:25:13.353Z",
"formSchemaHash": "fugiat sit"
},
{
"name": "myCoolDocumentName",
"type": "endpoint",
"enabled": false,
"actionType": "automations",
"actionId": "71ef58840a7e6f58cfd2a3eb",
"verb": "POST",
"routeName": "0Mz8pruwM3X",
"schema": null,
"_id": "997503251d973fee0eb980a4",
"description": "Some helpful information about the document",
"lastExecuted": null,
"migrationVersion": -99978704,
"createdBy": null,
"created": "1987-06-08T19:27:27.682Z",
"lastUpdatedBy": null,
"lastUpdated": "2005-02-04T17:36:44.161Z"
}
]
}
}