Get last entity output files

GET /data/entities/{entity_id}/output-files/last-revisions

Retrieve the last revisions of output files for a given entity grouped by output type and file name. Returns the most recent version of each output file.

Path parameters

  • entity_id string(uuid) Required

    Entity unique identifier

Query parameters

  • output_type_id string(uuid)

    Filter by output type

  • task_type_id string(uuid)

    Filter by task type

  • representation string

    Filter by representation

  • file_status_id string(uuid)

    Filter by file status

  • name string

    Filter by file name

Responses

  • 200 application/json

    Last revisions of output files grouped by output type and file name

    Hide response attribute Show response attribute object
    • * object Additional properties
      Hide * attributes Show * attributes object
      • id string(uuid)

        Output file unique identifier

      • name string

        Output file name

      • revision integer

        Output file revision

      • path string

        Output file path

      • updated_at string(date-time)

        Last update timestamp

GET /data/entities/{entity_id}/output-files/last-revisions
curl \
 --request GET 'http://api.example.com/data/entities/a24a6ea4-ce75-4665-a070-57453082c25/output-files/last-revisions' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "additionalProperty1": {
    "id": "e68e0ie8-gi19-8009-e514-91897426g69",
    "name": "main",
    "revision": 2,
    "path": "/project/asset/output/main_v002.mp4",
    "updated_at": "2023-01-01T12:00:00Z"
  },
  "additionalProperty2": {
    "id": "e68e0ie8-gi19-8009-e514-91897426g69",
    "name": "main",
    "revision": 2,
    "path": "/project/asset/output/main_v002.mp4",
    "updated_at": "2023-01-01T12:00:00Z"
  }
}