get
https://developer.dacast.com/v2/vod//subtitles
List subtitle tracks attached to a VOD. Returns a slim VOD object; tracks are in subtitles (null when none).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
List subtitle tracks attached to a VOD. The response is a slim VOD object; tracks are in subtitles.
GET /v2/vod/{id}/subtitles
Authenticate withX-Api-Keyand sendX-Format: default. Host:https://developer.dacast.com. No request body.
When the VOD has no subtitle tracks, subtitles is null (not an empty array). Use subtitle-id values with Delete subtitles from VODs. To add tracks, see Add subtitles to a VOD.
| Field | Type | Description |
|---|---|---|
id | string | VOD UUID. |
title | string | VOD title. |
online | boolean | Whether the VOD is online. |
duration | string | Duration (HH:MM:SS). |
filename | string | Source filename. |
filesize | string | Source size in bytes (string). |
creation_date | string | Creation time (UTC). |
description | string | Description. |
custom_data | string | Custom data string. |
countries_id | string | Country restriction id when set. |
subtitles | array | null | Subtitle tracks, or null if none. |
subtitles[].subtitle-id | string | Track id (use for delete). |
subtitles[].subtitle-filename | string | Original filename (for example en.srt, es.vtt). |
subtitles[].subtitle-language-short-name | string | ISO 639-1 code (for example en, fr). |
subtitles[].subtitle-language-long-name | string | Language display name. |
subtitles[].subtitle-url | string | CDN URL for the file when available. |
subtitles[].target-id | string | Matches id from a curl init response. |
