Tags
Adds multiple tags to a post. The tags can be assigned by AI, ADMIN, or USER. AI and ADMIN require an admin token for authentication, while USER requires user authentication.
Body
postIdstring · uuidOptionalExample:
550e8400-e29b-41d4-a716-446655440000
tagsstring[]OptionalExample:
["exampleTag1","exampleTag2"]
assignedBystring · enumOptionalExample:
USER
Possible values: Responses
200
Tags successfully added to the post
application/json
401
Unauthorized - Invalid token or insufficient permissions
404
Not Found - The post with the specified ID does not exist
post
POST /tags/post HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"postId": "550e8400-e29b-41d4-a716-446655440000",
"tags": [
"exampleTag1",
"exampleTag2"
],
"assignedBy": "USER"
}
{
"tagId": "550e8400-e29b-41d4-a716-446655440000",
"name": "exampleTag",
"assignedBy": "AI",
"created_at": "2025-07-06T22:28:11.885Z",
"updated_at": "2025-07-06T22:28:11.885Z"
}
Adds multiple tags to an asset. The tags can be assigned by AI, ADMIN, or USER. AI and ADMIN require an admin token for authentication, while USER requires user authentication.
Body
assetIdstring · uuidOptionalExample:
550e8400-e29b-41d4-a716-446655440000
tagsstring[]OptionalExample:
["exampleTag1","exampleTag2"]
assignedBystring · enumOptionalExample:
USER
Possible values: Responses
200
Tags successfully added to the asset
application/json
401
Unauthorized - Invalid token or insufficient permissions
404
Not Found - The asset with the specified ID does not exist
post
POST /tags/asset HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"assetId": "550e8400-e29b-41d4-a716-446655440000",
"tags": [
"exampleTag1",
"exampleTag2"
],
"assignedBy": "USER"
}
{
"tagId": "550e8400-e29b-41d4-a716-446655440000",
"name": "exampleTag",
"assignedBy": "AI",
"created_at": "2025-07-06T22:28:11.885Z",
"updated_at": "2025-07-06T22:28:11.885Z"
}
Removes multiple tags from a post. AI and ADMIN require an admin token for authentication, while USER requires user authentication.
Body
postIdstring · uuidOptionalExample:
550e8400-e29b-41d4-a716-446655440000
tagsstring[]OptionalExample:
["exampleTag1","exampleTag2"]
assignedBystring · enumOptionalExample:
USER
Possible values: Responses
204
No Content - Tags successfully removed from the post
401
Unauthorized - Invalid token or insufficient permissions
404
Not Found - The tags or post with the specified ID do not exist
post
POST /tags/post/remove HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"postId": "550e8400-e29b-41d4-a716-446655440000",
"tags": [
"exampleTag1",
"exampleTag2"
],
"assignedBy": "USER"
}
No content
Removes multiple tags from an asset. AI and ADMIN require an admin token for authentication, while USER requires user authentication.
Body
assetIdstring · uuidOptionalExample:
550e8400-e29b-41d4-a716-446655440000
tagsstring[]OptionalExample:
["exampleTag1","exampleTag2"]
assignedBystring · enumOptionalExample:
USER
Possible values: Responses
204
No Content - Tags successfully removed from the asset
401
Unauthorized - Invalid token or insufficient permissions
404
Not Found - The tags or asset with the specified ID do not exist
post
POST /tags/asset/remove HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"assetId": "550e8400-e29b-41d4-a716-446655440000",
"tags": [
"exampleTag1",
"exampleTag2"
],
"assignedBy": "USER"
}
No content
Last updated