curl \
--request DELETE 'http://api.example.com/data/studios/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY"
GET
/data/assets/{asset_id}
curl \
--request GET 'http://api.example.com/data/assets/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"name": "Character Name",
"project_id": "b35b7fb5-df86-5776-b181-68564193d36",
"entity_type_id": "c46c8gc6-eg97-6887-c292-79675204e47",
"created_at": "2023-01-01T12:00:00Z",
"updated_at": "2023-01-01T12:30:00Z"
}
GET
/data/projects/{project_id}/asset-types
curl \
--request GET 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/asset-types' \
--header "Authorization: $API_KEY"
Response examples (200)
[
{
"id": "c46c8gc6-eg97-6887-c292-79675204e47",
"name": "Character",
"project_id": "b35b7fb5-df86-5776-b181-68564193d36"
}
]
Delete chat message
Delete a specific chat message. Only the message author or administrators can delete messages.
DELETE
/data/entities/{entity_id}/chat/messages/{chat_message_id}
curl \
--request DELETE 'http://api.example.com/data/entities/a24a6ea4-ce75-4665-a070-57453082c25/chat/messages/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY"
Create multiple comments
Create several comments at once for a specific project. Each comment requires a text, a task id, a task_status and a person as arguments. This way, comments keep history of status changes. When the comment is created, it updates the task status with the given task status.
POST
/actions/projects/{project_id}/tasks/comment-many
curl \
--request POST 'http://api.example.com/actions/projects/a24a6ea4-ce75-4665-a070-57453082c25/tasks/comment-many' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '[{"task_status_id":"c46c8gc6-eg97-6887-c292-79675204e47","comment":"This looks great! Ready for review.","person_id":"d57d9hd7-fh08-7998-d403-80786315f58","object_id":"e68e0ie8-gi19-8009-e514-91897426g69","created_at":"2023-01-01T12:00:00Z","checklist":{"item1":"Check lighting","item2":"Verify textures"},"links":["https://example.com/reference1","https://example.com/reference2"]}]'
Request examples
[
{
"task_status_id": "c46c8gc6-eg97-6887-c292-79675204e47",
"comment": "This looks great! Ready for review.",
"person_id": "d57d9hd7-fh08-7998-d403-80786315f58",
"object_id": "e68e0ie8-gi19-8009-e514-91897426g69",
"created_at": "2023-01-01T12:00:00Z",
"checklist": {
"item1": "Check lighting",
"item2": "Verify textures"
},
"links": [
"https://example.com/reference1",
"https://example.com/reference2"
]
}
]
Response examples (201)
[
{
"id": "b35b7fb5-df86-5776-b181-68564193d36",
"task_id": "e68e0ie8-gi19-8009-e514-91897426g69",
"person_id": "d57d9hd7-fh08-7998-d403-80786315f58",
"comment": "This looks great! Ready for review.",
"task_status_id": "c46c8gc6-eg97-6887-c292-79675204e47",
"created_at": "2023-01-01T12:00:00Z"
}
]
DELETE
/data/projects/{instance_id}
curl \
--request DELETE 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY"
Get project statuses
Retrieve all project statuses. Supports filtering via query parameters and pagination.
GET
/data/project-status
curl \
--request GET 'http://api.example.com/data/project-status' \
--header "Authorization: $API_KEY"
Response examples (200)
Array-1
[
{}
]
{
"data": [
{}
],
"total": 100,
"nb_pages": 2,
"limit": 50,
"offset": 0,
"page": 1
}
Update project status
Update a project status with data provided in the request body. JSON format is expected.
PUT
/data/project-status/{instance_id}
curl \
--request PUT 'http://api.example.com/data/project-status/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"Closed","color":"#FF0000"}'
Request examples
{
"name": "Closed",
"color": "#FF0000"
}
Response examples (200)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"name": "Closed",
"color": "#FF0000",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T11:00:00Z"
}
DELETE
/data/organisations/{instance_id}
curl \
--request DELETE 'http://api.example.com/data/organisations/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY"
DELETE
/data/preview-files/{instance_id}
curl \
--request DELETE 'http://api.example.com/data/preview-files/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY"
GET
/data/news/{instance_id}
curl \
--request GET 'http://api.example.com/data/news/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"title": "Project Update",
"project_id": "b24a6ea4-ce75-4665-a070-57453082c25",
"content": "News content text",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
Update entity link
Update an entity link with data provided in the request body. JSON format is expected.
PUT
/data/entity-links/{instance_id}
curl \
--request PUT 'http://api.example.com/data/entity-links/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"nb_occurences":2,"label":"updated"}'
Request examples
{
"nb_occurences": 2,
"label": "updated"
}
Response examples (200)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"entity_in_id": "b24a6ea4-ce75-4665-a070-57453082c25",
"entity_out_id": "c24a6ea4-ce75-4665-a070-57453082c25",
"nb_occurences": 2,
"label": "updated",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T11:00:00Z"
}
DELETE
/data/studios/{instance_id}