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

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

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

Video API, REST: Stream.List

Статья создана
Yandex Cloud
Обновлена 8 августа 2025 г.
  • HTTP request
  • Query parameters
  • Response
  • Stream
  • Schedule

Lists all streams in a specific channel with pagination support.
Results can be filtered and sorted using the provided parameters.

HTTP requestHTTP request

GET https://video.api.cloud.yandex.net/video/v1/streams

Query parametersQuery parameters

Field

Description

channelId

string

Required field. ID of the channel containing the streams to list.

pageSize

string (int64)

The maximum number of streams to return per page.

pageToken

string

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

orderBy

string

Specifies the ordering of results.
Format is " " (e.g., "startTime desc").
Default: "id asc".
Supported fields: ["id", "title", "startTime", "finishTime", "createdAt", "updatedAt"].
Both snake_case and camelCase field names are supported.

filter

string

Filter expression to narrow down the list of returned streams.
Expressions consist of terms connected by logical operators.
Values containing spaces or quotes must be enclosed in quotes (' or ")
with inner quotes being backslash-escaped.

Supported logical operators: ["AND", "OR"].
Supported comparison operators: ["=", "!=", ":"] where ":" enables substring matching.
Parentheses can be used to group logical expressions.

Example: title:'live' AND (status='READY' OR status='ONAIR')

Filterable fields: ["id", "title", "lineId", "status"].
Both snake_case and camelCase field names are supported.

ResponseResponse

HTTP Code: 200 - OK

{
  "streams": [
    {
      "id": "string",
      "channelId": "string",
      "lineId": "string",
      "title": "string",
      "description": "string",
      "thumbnailId": "string",
      "status": "string",
      "startTime": "string",
      "publishTime": "string",
      "finishTime": "string",
      "autoPublish": "boolean",
      // Includes only one of the fields `onDemand`, `schedule`
      "onDemand": "object",
      "schedule": {
        "startTime": "string",
        "finishTime": "string"
      },
      // end of the list of possible fields
      "createdAt": "string",
      "updatedAt": "string",
      "labels": "object"
    }
  ],
  "nextPageToken": "string"
}

Field

Description

streams[]

Stream

List of streams matching the request criteria.
May be empty if no streams match the criteria or if the channel has no streams.

nextPageToken

string

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

StreamStream

Entity representing a live video stream.
A stream is a real-time video broadcast linked to a specific stream line.

Field

Description

id

string

Unique identifier of the stream.

channelId

string

Identifier of the channel where the stream is created and managed.

lineId

string

Identifier of the stream line to which this stream is linked.

title

string

Title of the stream displayed in interfaces and players.

description

string

Detailed description of the stream content and context.

thumbnailId

string

Identifier of the thumbnail image used to represent the stream visually.

status

enum (StreamStatus)

Current status of the stream.

  • STREAM_STATUS_UNSPECIFIED: The stream status is not specified.
  • OFFLINE: The stream is offline and not broadcasting.
  • PREPARING: The system is preparing the infrastructure for receiving the video signal.
  • READY: The infrastructure is ready to launch the stream.
  • ONAIR: The stream is currently broadcasting live.
  • FINISHED: The stream has completed and is no longer broadcasting.

startTime

string (date-time)

Timestamp when the stream was initiated.

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).

publishTime

string (date-time)

Timestamp when the stream was published (switched to ONAIR status).

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).

finishTime

string (date-time)

Timestamp when the stream was completed.

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).

autoPublish

boolean

Controls automatic publishing of the stream when it's ready.
When set to true, automatically switches status from READY to ONAIR.

onDemand

object

On-demand stream starts immediately when a video signal appears.

Includes only one of the fields onDemand, schedule.

Specifies the stream scheduling type.

schedule

Schedule

Scheduled stream starts and finishes at specified time.

Includes only one of the fields onDemand, schedule.

Specifies the stream scheduling type.

createdAt

string (date-time)

Timestamp when the stream 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 stream 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).

labels

object (map<string, string>)

Custom user-defined labels as key:value pairs.
Maximum 64 labels per stream.
Used for organization, filtering, and metadata purposes.
Labels can be used for organization, filtering, and metadata purposes.

ScheduleSchedule

Represents a scheduled stream type.
This type of stream starts and finishes automatically at specified time.

Field

Description

startTime

string (date-time)

Scheduled time when the stream should automatically start.

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).

finishTime

string (date-time)

Scheduled time when the stream should automatically finish.

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).

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

Предыдущая
Get
Следующая
BatchGet
Проект Яндекса
© 2025 ООО «Яндекс.Облако»