Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • ИИ для бизнеса
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud Video
    • Обзор
    • Управление
    • Решение проблем
    • Политика автозапуска браузеров
  • Управление доступом
  • Правила тарификации
    • Аутентификация в API
    • Начало работы с API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • GenerateUploadURL
        • Delete
  • Аудитные логи Audit Trails
  • История изменений

В этой статье:

  • HTTP request
  • Query parameters
  • Response
  • Subtitle
  1. Справочник API
  2. REST (англ.)
  3. Subtitle
  4. List

Video API, REST: Subtitle.List

Статья создана
Yandex Cloud
Обновлена 25 ноября 2025 г.
  • HTTP request
  • Query parameters
  • Response
  • Subtitle

Lists all subtitles associated with a specific video with pagination support.
Results can be filtered and sorted using the provided parameters.

HTTP requestHTTP request

GET https://video.api.yandexcloud.kz/video/v1/subtitles

Query parametersQuery parameters

Field

Description

pageSize

string (int64)

The maximum number of subtitles to return per page.

The maximum value is 100.

pageToken

string

Page token for retrieving the next page of results.
This token is obtained from the next_page_token field in the previous ListSubtitlesResponse.

The maximum string length in characters is 15000.

videoId

string

ID of the video containing the subtitles to list.

The maximum string length in characters is 50.

Includes only one of the fields videoId.

Specifies the parent resource to list subtitles from (exactly one must be chosen).

ResponseResponse

HTTP Code: 200 - OK

{
  "subtitles": [
    {
      "id": "string",
      "language": "string",
      "label": "string",
      "status": "string",
      "sourceType": "string",
      "filename": "string",
      "createdAt": "string",
      "updatedAt": "string",
      // Includes only one of the fields `videoId`
      "videoId": "string"
      // end of the list of possible fields
    }
  ],
  "nextPageToken": "string"
}

Field

Description

subtitles[]

Subtitle

List of subtitles matching the request criteria.
May be empty if no subtitles match the criteria or if the video has no subtitles.

nextPageToken

string

Token for retrieving the next page of results.
Empty if there are no more results available.

SubtitleSubtitle

Entity representing a subtitle track that can be associated with a video.
Subtitles provide text versions of the audio content, enabling accessibility
and multilingual support for video content.

Field

Description

id

string

Unique identifier of the subtitle track.

language

string

Language of the subtitle content according to ISO 639-2/T.

label

string

Display label for the subtitle track shown in the video player's subtitle selection menu.

status

enum (SubtitleStatus)

Current processing status of the subtitle.

  • SUBTITLE_STATUS_UNSPECIFIED: The subtitle status is not specified.
  • WAIT_UPLOADING: The subtitle file upload is in progress, waiting for all bytes to be received.
  • UPLOADED: The subtitle file has been fully uploaded and is ready for use.

sourceType

enum (SubtitleSourceType)

Indicates how the subtitle was created or obtained.

  • SUBTITLE_SOURCE_TYPE_UNSPECIFIED: The subtitle source type is not specified.
  • MANUAL: The subtitle was manually created and uploaded by a user.
  • GENERATED: The subtitle was automatically generated through speech recognition.

filename

string

Original filename of the subtitle file.

createdAt

string (date-time)

Timestamp when the subtitle was initially created in the system.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

updatedAt

string (date-time)

Timestamp of the last modification to the subtitle or its metadata.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

videoId

string

Identifier of the video this subtitle belongs to.

Includes only one of the fields videoId.

Specifies the parent content this subtitle is associated with.

Была ли статья полезна?

Предыдущая
Get
Следующая
Create
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»