Create new output file linked to assets through an instance of this asset for a given shot.
POST
/data/asset-instances/{asset_instance_id}/entities/{temporal_entity_id}/output-files/new
Some output files are linked to assets through an instance of this asset for a given shot. Each time a CG artist is satisfied by what he did on a working file, he can create an output file that will be linked to a target instance. It keeps track of the working file at the origin of the output file. An output type is required for better categorization (textures, caches, ...). A task type can be set too to give the department related to the output file.
Path parameters
-
asset_instance_id string(UUID) Required
-
temporal_entity_id string(UUID) Required
Body
Name, mode, output type ID, task type ID, person ID, working file ID, file status ID, comment, extension, representation, revision, number of elements and separator.
-
name string
Default value is
main
. -
mode string
Default value is
output
. -
output_type_id string(UUID) Required
-
task_type_id string(UUID) Required
-
person_id string(UUID)
-
working_file_id string(UUID)
-
file_status_id string(UUID)
-
is_sequence boolean
Default value is
false
. -
comment string
-
extension string
-
representation string
-
revision integer
-
nb_elements integer
Default value is
1
. -
sep string
Default value is
/
.
POST /data/asset-instances/{asset_instance_id}/entities/{temporal_entity_id}/output-files/new
curl \
-X POST http://localhost:8080/api/data/asset-instances/{asset_instance_id}/entities/{temporal_entity_id}/output-files/new \
-H "Authorization: $API_KEY" \
-d '{"name":"main","mode":"output","output_type_id":"a24a6ea4-ce75-4665-a070-57453082c25","task_type_id":"a24a6ea4-ce75-4665-a070-57453082c25","person_id":"a24a6ea4-ce75-4665-a070-57453082c25","working_file_id":"a24a6ea4-ce75-4665-a070-57453082c25","file_status_id":"a24a6ea4-ce75-4665-a070-57453082c25","is_sequence":false,"comment":"string","extension":"string","representation":"string","revision":42,"nb_elements":1,"sep":"/"}'
Request example
{
"name": "main",
"mode": "output",
"output_type_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"task_type_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"person_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"working_file_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"file_status_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"is_sequence": false,
"comment": "string",
"extension": "string",
"representation": "string",
"revision": 42,
"nb_elements": 1,
"sep": "/"
}
Response examples (200)
"string"