Generate temp playlist

POST /data/projects/{project_id}/playlists/temp

Generate a temporary playlist from task IDs. It's mainly used for synchronisation purpose.

Path parameters

  • project_id string(uuid) Required

    Project unique identifier

Query parameters

  • sort boolean

    Whether to sort the playlist

application/json

Body Required

  • task_ids array[string(uuid)] Required

    List of task unique identifiers

Responses

  • 200 application/json

    Temporary playlist generated

    Hide response attributes Show response attributes object
    • id string(uuid)

      Preview file unique identifier

    • name string

      Preview file name

  • 400

    Invalid task IDs

POST /data/projects/{project_id}/playlists/temp
curl \
 --request POST 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/playlists/temp' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"task_ids":["a24a6ea4-ce75-4665-a070-57453082c25"]}'
Request examples
{
  "task_ids": [
    "a24a6ea4-ce75-4665-a070-57453082c25"
  ]
}
Response examples (200)
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "name": "preview_v001.png"
  }
]