Video API, REST: Episode.Get
Retrieves detailed information about a specific episode by its ID.
Returns all episode metadata, status, and related information.
HTTP request
GET https://video.api.yandexcloud.kz/video/v1/episodes/{episodeId}
Path parameters
|
Field |
Description |
|
episodeId |
string Required field. ID of the episode to retrieve. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"streamId": "string",
"lineId": "string",
"title": "string",
"description": "string",
"thumbnailId": "string",
"startTime": "string",
"finishTime": "string",
"dvrSeconds": "string",
"visibilityStatus": "string",
"stylePresetId": "string",
// Includes only one of the fields `publicAccess`, `signUrlAccess`
"publicAccess": "object",
"signUrlAccess": "object",
// end of the list of possible fields
"createdAt": "string",
"updatedAt": "string"
}
Entity representing a stream fragment that can be accessed independently.
Episodes can be linked to either a stream or a line
and provide a way to reference specific portions of the corresponding content.
|
Field |
Description |
|
id |
string Unique identifier of the episode. |
|
streamId |
string Identifier of the stream this episode is linked to. |
|
lineId |
string Identifier of the line this episode is linked to. |
|
title |
string Title of the episode displayed in interfaces and players. |
|
description |
string Detailed description of the episode content and context. |
|
thumbnailId |
string Identifier of the thumbnail image used to represent the episode visually. |
|
startTime |
string (date-time) Timestamp marking the beginning of the episode content. String in RFC3339 To work with values in this field, use the APIs described in the |
|
finishTime |
string (date-time) Timestamp marking the end of the episode content. String in RFC3339 To work with values in this field, use the APIs described in the |
|
dvrSeconds |
string (int64) Controls the Digital Video Recording (DVR) functionality for the episode. Possible values:
|
|
visibilityStatus |
enum (VisibilityStatus) Current visibility status controlling whether the episode is publicly available.
|
|
stylePresetId |
string Identifier of the style preset used in the player during episode playback. |
|
publicAccess |
object Allows unrestricted public access to the episode via direct link. Includes only one of the fields Specifies the episode access permission settings. |
|
signUrlAccess |
object Restricts episode access using URL signatures for secure time-limited access. Includes only one of the fields Specifies the episode access permission settings. |
|
createdAt |
string (date-time) Timestamp when the episode was initially created in the system. String in RFC3339 To work with values in this field, use the APIs described in the |
|
updatedAt |
string (date-time) Timestamp of the last modification to the episode or its metadata. String in RFC3339 To work with values in this field, use the APIs described in the |