{
"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": "1992-09-03T14:45:23.296Z",
"lastUpdatedBy": null,
"lastUpdated": "2018-11-01T15:30:14.507Z",
"_id": "d0fded5a40efb2ff143ee253",
"gbac": {
"write": [
"b6563fa6235c5fb819f414ee",
"f72aa62fc0579adcf3b8a29c",
"6c79878e82e861373af7d082",
"bcc8c7db13e8bb1c66bc7fd7"
],
"read": [
"c6b0c7a3ebb0c567887c44c0"
]
},
"componentId": null
},
"metadata": {
"automaticChanges": [
"fugiat irure",
"pariatur dolor"
],
"triggerCloneResults": {
"message": "aliqua aute",
"data": [
{
"success": true,
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"type": "endpoint",
"enabled": true,
"actionType": "automations",
"actionId": "3d463f16e8886da25624401a",
"lastExecuted": null,
"createdBy": "eu ullamco et aute",
"created": "2015-03-27T04:56:20.332Z",
"lastUpdatedBy": "proident Ut non minim dolore",
"lastUpdated": "1964-04-01T01:46:38.99Z",
"verb": "POST",
"routeName": "rUPHEn2q",
"schema": null,
"_id": "a96fee5ae097b3a906ebb53c",
"jst": null,
"migrationVersion": -44091808
},
"automaticChanges": [
"consectetur voluptate dolor minim in",
"officia proident enim quis"
]
},
{
"success": true,
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"type": "eventSystem",
"enabled": false,
"actionType": "automations",
"actionId": "129d6b2626dd990f3ef33839",
"lastExecuted": 64362552,
"createdBy": "aute amet Excepteur incididunt in",
"created": "1945-08-10T01:46:09.356Z",
"lastUpdatedBy": "officia cupidatat amet laboris est",
"lastUpdated": "1998-12-14T18:50:37.317Z",
"source": "in cillum sit",
"topic": "proident dolor consectetur dolor",
"_id": "c6585fe5b984c60412155047",
"jst": null,
"migrationVersion": 60146983
},
"automaticChanges": [
"dolor proident tempor sed officia",
"exercitation",
"est ipsum cupidatat minim cillum",
"fugiat anim do in est"
]
}
]
}
}
}