{
"tag_names": [
"string"
]
}
{
"id": 123,
"name": "string",
"folder_id": {},
"file_path": {},
"file_type": "string",
"file_url": {},
"summary": "string",
"visibility": "string",
"version": 123,
"owner_id": 123,
"created_at": "string",
"updated_at": "string"
}
Documents
Add a tag to a document
Associates a tag with a document. Creates the tag if it doesn’t exist.
POST
/
api
/
v0
/
documents
/
{document_id}
/
tags
{
"tag_names": [
"string"
]
}
{
"id": 123,
"name": "string",
"folder_id": {},
"file_path": {},
"file_type": "string",
"file_url": {},
"summary": "string",
"visibility": "string",
"version": 123,
"owner_id": 123,
"created_at": "string",
"updated_at": "string"
}
Add a tag to a document
Associates a tag with a document. Creates the tag if it doesn’t exist.Path Parameters
integer
required
No description provided
Request Body
This endpoint requires a request body.{
"tag_names": [
"string"
]
}
Response
object
The response data for this endpoint.
{
"id": 123,
"name": "string",
"folder_id": {},
"file_path": {},
"file_type": "string",
"file_url": {},
"summary": "string",
"visibility": "string",
"version": 123,
"owner_id": 123,
"created_at": "string",
"updated_at": "string"
}