v1
latestOpenAPI 3.0.02026-07-2417611.8 MBCopies the specified documents.
Use the /authoring/v1/copy/sync endpoint to copy the specified documents for the current tenant. Currently supported document classifications are asset and content. As for all Acoustic Content PUT and POST requests, the Content-Type header should be set to application/json. <br />User roles: admin, manager
Query parameters
Optional comma separated list of reference types to clear within copied documents. Supported values: asset, content, category, image-profile
Optional comma separated list of reference types to copy (when referenceLevels > 0). Defaults to the reference types of the initial items to copy. Supported values: asset, content
The number of reference levels to copy. Defaults to 0, meaning to copy only the specified items.
Specifies whether the elements on the last level of references should have their elements cleared. Has no effect when referencesLevels is not greater than zero.
Headers
Specify now to bypass the publishing schedule.
Request body
The items to copy. The items need to be either ready OR belong to same project. Additional parameters "name", "add" and "remove" can be passed with each item to modify the name and add or remove a property from the copied item. Format is "[classification]:[id]?name=[custom-name];remove={"kind":["sample"],"description":""};add={"kind":["email"]}" The above parameters mean that the (a) name of the copied item would be <custom-name>. (b) "email" will be added to the "kind" array in the copied object. (c) "sample" will be removed from "kind" array in the copied object. (d) "description" will be removed from the copied object.
Example request
[
"content:2fd35e68-b4d2-4608-8dbe-82c42b321bd9",
"content:2fd35e68-b4d2-4608-8dbe-82c42b321bd9:draft",
"content:2fd35e68-b4d2-4608-8dbe-82c42b321bd9?name=custom-name",
"content:2fd35e68-b4d2-4608-8dbe-82c42b321bd9?name=mycontent;remove={\"kind\": [\"sample\"]};add={\"kind\":[\"email\"]"
]Response
Results of the copy operation.
Example response
{
"params": {
"referenceLevels": "5",
"referencesToClone": "content",
"clearElementsOnLastLevel": "false"
},
"rootCopiedItemList": {
"content:::item1-id": "content:::item1-id-copy",
"content:::item2-id": "content:::item2-id-copy"
},
"nonrootCopiedItemList": {
"content:::item1-id": "content:::item1-id-copy",
"content:::item2-id": "content:::item2-id-copy"
},
"failedToCopyList": {
"content:::item1-id-copy": "false:::false",
"content:::item2-id-copy": "true:::false"
}
}