Summary
Clone Automation
Description
Clone an Automation.
Route
POST /operations-manager/automations/clone
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
automation | object | yes | The id of the Automation to be cloned and, optionally, a name to assign to the clone. |
{ "id": "46602e8af6600e04a3114bf6", "name": null }
{ "title": "automation", "properties": { "id": { "description": "The id of the Automation to be cloned.", "$ref": "common#/definitions/ObjectIdLikeString" }, "name": { "description": "An optional name to use for the clone.", "oneOf": [ { "type": "null" }, { "$ref": "common#/definitions/name" } ] } } }
Return
Name | Type | Description |
---|---|---|
result | object | The result of the clone operation. |
{ "message": "Successfully created the requested item", "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "componentType": null, "createdBy": null, "created": "1970-11-10T15:14:30.21Z", "lastUpdatedBy": null, "lastUpdated": "1952-05-14T10:13:34.93Z", "_id": "fc8a089f35201a7a7b96ac59", "gbac": { "write": [ "d3c21f239560189c20ff6cd9", "9070401f03fc5cf63fee5323", "0d8facc6bb3e533fad6b59b4", "c5855db428bb9a32a97a7a5c", "3c6c2a6e8c23c1ac0f82170b" ], "read": [ "23e408c134829c24364ccd94", "c5cd97f5d70a61cf4795f21b", "7cf81affd3700f52826f495d" ] }, "componentId": null }, "metadata": { "automaticChanges": [ "consequat velit proident mollit", "cupidatat ex commodo fugiat in", "tempor irure et", "laborum id", "in veniam nulla aliqua mollit" ], "triggerCloneResults": { "message": "nulla irure amet cupidatat", "data": [ { "success": true, "data": { "name": "dolore mollit", "description": "non reprehenderit pariatur", "type": true, "enabled": 17501684.03356512, "actionType": "ex nisi consequat labore do", "actionId": 1472704, "lastExecuted": false, "createdBy": -91283700.7903951, "created": "ut consequat", "lastUpdatedBy": "eiusmod irure ipsum", "lastUpdated": 95208268, "formData": -99092657.03650326, "firstRunAt": -67231797, "nextRunAt": -97864326.03571318, "processMissedRuns": "nulla", "locked": 72678462, "repeatUnit": false, "repeatFrequency": 1488270.907475233, "repeatInterval": true, "_id": -10495627, "formId": true }, "automaticChanges": [ "commodo cupidatat fugiat ut" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "endpoint", "enabled": true, "actionType": "automations", "actionId": "038564f6e927010ed31b15ad", "lastExecuted": null, "createdBy": "commodo Lorem eiusmod dolore", "created": "1960-05-03T01:11:16.498Z", "lastUpdatedBy": null, "lastUpdated": "1991-04-14T22:43:42.499Z", "verb": "POST", "routeName": "fQoXC487L", "schema": null, "_id": "f0cb7b178e3c90aa08e8d1e3", "jst": null, "migrationVersion": 56662346 }, "automaticChanges": [ "proident laborum quis dolor", "dolor qui", "qui laboris est id", "adipisicing quis dolor non", "voluptate do Duis" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "endpoint", "enabled": false, "actionType": "automations", "actionId": "2591eb2371a73f6244bf4c33", "lastExecuted": 82016871, "createdBy": "esse nisi quis", "created": "2023-04-13T22:25:19.632Z", "lastUpdatedBy": "irure voluptate pariatur officia", "lastUpdated": "1968-06-27T10:14:30.423Z", "verb": "POST", "routeName": "FlPa", "_id": "541d77ad69758eb0525bac76", "jst": "3f5fd4488e01a325ee752bd5", "migrationVersion": -94917839 }, "automaticChanges": [ "velit reprehenderit", "nulla incididunt esse" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "eventSystem", "enabled": true, "actionType": "automations", "actionId": "f16e9c5e2efd460aa8d1e2b2", "lastExecuted": null, "createdBy": "in aliqua", "created": "2020-10-15T11:47:08.526Z", "lastUpdatedBy": "in magna", "lastUpdated": "1994-02-22T19:11:35.449Z", "source": "sint veniam", "topic": "nulla sed commodo id", "_id": "7a1f18f50d266951ec19e99a", "jst": null, "migrationVersion": 80861254 }, "automaticChanges": [ "Lorem irure ad commodo" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "endpoint", "enabled": false, "actionType": "automations", "actionId": "d34bd7b8ea16e4d3aecd3579", "lastExecuted": null, "createdBy": null, "created": "2018-02-03T06:31:12.732Z", "lastUpdatedBy": "ex sed", "lastUpdated": "1983-10-17T17:26:35.681Z", "verb": "POST", "routeName": "4Y3kQ47E5I", "schema": null, "_id": "60cf6b360efec9cad1114a15", "jst": null, "migrationVersion": 65685519 }, "automaticChanges": [ "culpa", "aliqua enim amet", "culpa Excepteur elit velit dolor", "consequat" ] } ] } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "automation-api" }, "metadata": { "type": "object", "properties": { "automaticChanges": { "type": "array", "items": { "title": "messages", "type": "string", "example": "Disabled trigger 628672e8f677b67b3b0f20d7" } }, "triggerCloneResults": { "type": "object", "properties": { "message": { "type": "string" }, "metadata": { "type": "object" }, "data": { "type": "array", "items": { "type": "object", "properties": { "success": { "type": "boolean" }, "data": { "$ref": "trigger-api" }, "automaticChanges": { "type": "array", "items": { "title": "messages", "type": "string", "example": "Disabled trigger 628672e8f677b67b3b0f20d7" } } } } } } } } } } } ] }