Generate an output file path from file tree template

POST /data/entities/{entity_id}/output-file-path

Generate file path based on several parameters: entity, output type, task type, revision, mode, name and separator. Revision can be computed automatically as next revision if not given.

Path parameters

Body

Entity, output type, task type, revision, mode, name and separator.

Responses

  • 200

    Output file path generated

  • 400

    Malformed file tree

POST /data/entities/{entity_id}/output-file-path
curl \
 -X POST http://localhost:8080/api/data/entities/{entity_id}/output-file-path \
 -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","extension":"string","representation":"string","revision":42,"separator":"/"}'
Request example
{
  "name": "main",
  "mode": "output",
  "output_type_id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "task_type_id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "extension": "string",
  "representation": "string",
  "revision": 42,
  "separator": "/"
}