Summary
Create Automation
Description
Create a new Automation.
Route
POST /operations-manager/automations
Roles
admin
apiwrite
engineering
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
automation |
object |
yes |
The details of the Automation document to be created. |
Copied to Clipboard
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"gbac": {
"write": [
"0a91a35b4e95d31879c9a289",
"1cadeb5b2951fde539aecbea"
],
"read": [
"a42c9277ccb62765b3dd5278",
"b629ad6335fcddb29482168b",
"85a45ebc522a1ec00634fff1"
]
},
"componentId": "CfADd9c3-374b-6fD1-A9ac-6780f1DDfFC7"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "Pronghorn",
"created": "2018-05-03T22:08:33.346Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2008-03-09T03:17:12.356Z",
"_id": "6d40f9388ddd41c08788c372",
"gbac": {
"write": [
"cf464003132b1cba07d20426"
],
"read": [
"d25df55b061a480ff284e0cb"
]
},
"componentId": "8699e1cc7f0c8253b80710a7"
}
}