Generate a working file path from file tree template.
Generate file path based on several parameters: task, software, mode, revision and separator. Revision can be computed automatically as next revision if not given.
POST /data/tasks/{task_id}/working-file-path
curl \
-X POST http://localhost:8080/api/data/tasks/{task_id}/working-file-path \
-d '{"name":"main","mode":"working","software_id":"a24a6ea4-ce75-4665-a070-57453082c25","comment":"string","revision":42,"separator":"/"}'
Request examples
{
"name": "main",
"mode": "working",
"software_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"comment": "string",
"revision": 42,
"separator": "/"
}