Set task to review
Create a new preview file entry and set the path from the disk. Optionally change the task status.
PUT
/actions/tasks/{task_id}/to-review
curl \
--request PUT 'http://api.example.com/actions/tasks/a24a6ea4-ce75-4665-a070-57453082c25/to-review' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"person_id":"a24a6ea4-ce75-4665-a070-57453082c25","comment":"Please check this version","name":"main","revision":1,"change_status":true}'
Request examples
{
"person_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"comment": "Please check this version",
"name": "main",
"revision": 1,
"change_status": true
}
Response examples (200)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"name": "SH010 Animation",
"task_type_id": "b24a6ea4-ce75-4665-a070-57453082c25",
"task_status_id": "c24a6ea4-ce75-4665-a070-57453082c25",
"entity_id": "d24a6ea4-ce75-4665-a070-57453082c25",
"project_id": "e24a6ea4-ce75-4665-a070-57453082c25",
"assignees": [
"f24a6ea4-ce75-4665-a070-57453082c25"
]
}