Create new working file
Create a new working file for a task. Working files are versioned files used by artists to produce output files. Each file requires a comment and generates a path based on file tree template.
POST
/data/tasks/{task_id}/working-files/new
curl \
--request POST 'http://api.example.com/data/tasks/a24a6ea4-ce75-4665-a070-57453082c25/working-files/new' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"main","mode":"working","description":"Main character model","comment":"Updated lighting and materials","person_id":"a24a6ea4-ce75-4665-a070-57453082c25","software_id":"a24a6ea4-ce75-4665-a070-57453082c25","revision":1,"sep":"/"}'
Request examples
{
"name": "main",
"mode": "working",
"description": "Main character model",
"comment": "Updated lighting and materials",
"person_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"software_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"revision": 1,
"sep": "/"
}
Response examples (201)
{
"id": "b35b7fb5-df86-5776-b181-68564193d36",
"name": "main",
"path": "/project/asset/working/main_v001.blend",
"revision": 1,
"task_id": "c46c8gc6-eg97-6887-c292-79675204e47",
"created_at": "2023-01-01T12:00:00Z",
"updated_at": "2023-01-01T12:30:00Z"
}