GET /data/playlists/preview-files/running

Retrieve all preview files from open productions with states equal to processing or broken.

Query parameters

  • cursor_preview_file_id

    ID of the last preview file from previous page for cursor-based pagination

  • limit

    Maximum number of preview files to return

Responses

  • 200 application/json

    All preview files from open productions with processing or broken states

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

      Preview file unique identifier

    • status string

      Preview file status

GET /data/playlists/preview-files/running
curl -X GET "http://api.example.com/data/playlists/preview-files/running?cursor_preview_file_id=a24a6ea4-ce75-4665-a070-57453082c25&limit=100" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
import requests

url = "http://api.example.com/data/playlists/preview-files/running"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
params = {
    "cursor_preview_file_id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "limit": 100
}
payload = None

response = requests.get(
    url,
    headers=headers,
    params=params,
    json=payload
)

response.raise_for_status()

if response.content:
    print(response.json())
curl \
 --request GET 'http://api.example.com/data/playlists/preview-files/running' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "status": "processing"
  }
]