Creative Hub
Split a version into a new file
Move one version out of the file into a new file of its own, created next to the original. The response returns the newFileId. A file with only one version cannot be split (400). The reverse of Merge a file into another.
Authentication
authentication api-key<token>
Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.
In: header
Path Parameters
fileId*string
File id.
Length
1 <= lengthversionId*string
File version id (returned by the upload-complete endpoints).
Length
1 <= lengthHeader Parameters
x-workspace-id*string
Workspace the request operates in. Get it from List workspaces.
Length
1 <= lengthx-org-id*string
Organization context (required on every endpoint).
Length
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.adnova.ai/creative-hub/v1/files/01J8ZF9K8M7N6P5R4S3T2V1W0X/versions/01J8ZG0L9N8P7Q6R5S4T3V2W1Y/split" \ -H "x-workspace-id: 01J8ZQ9X2K3M4N5P6R7S8T9V0W" \ -H "x-org-id: 01J8ZQ7B3C4D5F6G7H8K9M0N1P"{
"fileId": "01J8ZF9K8M7N6P5R4S3T2V1W0X",
"versionId": "V123ABC...",
"newFileId": "01J8ZJ3N1Q0R9S8T7V6W5X4Y3Z"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}