{
"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
DetailsExampleSchema
Name
Type
Description
result
object
The result of the clone operation.
Copied to Clipboard
{
"message": "Successfully created the requested item",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": null,
"created": "1962-07-09T17:51:59.209Z",
"lastUpdatedBy": "ut eu nisi consequat",
"lastUpdated": "1976-01-18T19:43:25.876Z",
"_id": "fceff85b7070c7cc8d66320e",
"gbac": {
"write": [
"69e04f11740500cb3f046b29",
"522f9791cf47ca18028443a1",
"2a25570e7f7c2d26d1303fad",
"0525a786b812b2f6f09edd95"
],
"read": [
"0302bc5a5626dfe20a6029ce"
]
},
"componentId": "f1883ca7acc703c7f677ce34",
"componentName": null
},
"metadata": {
"automaticChanges": [
"officia qui nisi eu pariatur",
"culpa consequat pariatur aliquip magna"
],
"triggerCloneResults": {
"message": "enim dolor pariatur",
"data": [
{
"success": true,
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"type": "eventSystem",
"enabled": true,
"actionType": "automations",
"actionId": "d80c59a3b01345b905090594",
"lastExecuted": null,
"createdBy": null,
"created": "2004-01-04T21:35:15.274Z",
"lastUpdatedBy": null,
"lastUpdated": "1980-02-22T15:11:45.961Z",
"source": "mollit minim",
"topic": "id ut officia",
"legacyWrapper": false,
"_id": "7035c3103b0a3036713847fb",
"jst": "db3e89dc2a80ef007251bcd8",
"migrationVersion": -69442330
},
"automaticChanges": [
"eu irure anim velit",
"ad commodo incididunt",
"enim mollit"
]
}
]
}
}
}