Bulk add tags to files
Attach one or more workspace tags to several files in one call. Every tag id must belong to the header workspace's tag vocabulary — if any is unknown the whole request is rejected with 400. File ids that are not in the header workspace are silently skipped. The response echoes the requested file and tag ids.
Authentication
authentication 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
Header Parameters
Workspace the request operates in. Get it from List workspaces.
1 <= lengthOrganization context (required on every endpoint).
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.adnova.ai/creative-hub/v1/files/bulk/tags" \ -H "x-workspace-id: 01J8ZQ9X2K3M4N5P6R7S8T9V0W" \ -H "x-org-id: 01J8ZQ7B3C4D5F6G7H8K9M0N1P" \ -H "Content-Type: application/json" \ -d '{ "fileIds": [ "01J8ZF9K8M7N6P5R4S3T2V1W0X" ], "tagIds": [ "01J8ZT4A1B2C3D4E5F6G7H8J9K" ] }'{
"fileIds": [
"01J8ZF9K8M7N6P5R4S3T2V1W0X"
],
"tagIds": [
"01J8ZT4A1B2C3D4E5F6G7H8J9K"
]
}{
"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"
}