Video API, REST: Channel.Get
Retrieves detailed information about a specific channel by its ID.
Returns all channel metadata, settings, and related information.
HTTP request
GET https://video.api.cloud.yandex.net/video/v1/channels/{channelId}
Path parameters
|
Field |
Description |
|
channelId |
string Required field. ID of the channel to retrieve. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"organizationId": "string",
"title": "string",
"description": "string",
"defaultStylePresetId": "string",
"createdAt": "string",
"updatedAt": "string",
"labels": "object",
"settings": {
"advertisement": {
// Includes only one of the fields `yandexDirect`
"yandexDirect": {
"enable": "boolean",
"pageId": "string",
"category": "string"
}
// end of the list of possible fields
},
"refererVerification": {
"enable": "boolean",
"allowedDomains": [
"string"
]
}
}
}
Root entity for content organization and separation within the video platform.
A channel serves as a container for videos and streams, providing a way to
group related content and apply common settings and access controls.
Each channel belongs to a specific organization and can have its own
configuration for advertisements, content cleanup, and embedding restrictions.
|
Field |
Description |
|
id |
string Unique identifier of the channel. |
|
organizationId |
string Identifier of the organization to which this channel belongs. |
|
title |
string Title of the channel displayed in interfaces. |
|
description |
string Detailed description of the channel's purpose and content. |
|
defaultStylePresetId |
string Identifier of the default style preset applied to videos in this channel. |
|
createdAt |
string (date-time) Timestamp when the channel was initially created. 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 channel or its settings. String in RFC3339 To work with values in this field, use the APIs described in the |
|
labels |
object (map<string, string>) Custom user-defined labels as |
|
settings |
Configuration settings for the channel's behavior and features. |
ChannelSettings
Configuration settings for the channel's behavior and features.
These settings apply to all content in the channel and control
various aspects of how the channel and its content behave.
|
Field |
Description |
|
advertisement |
Settings for advertisement display and behavior. |
|
refererVerification |
Settings for HTTP Referer verification to control content embedding. |
AdvertisementSettings
Settings for advertisement display and behavior in the channel.
These settings control whether and how advertisements are shown
with content in this channel, including both videos and streams.
|
Field |
Description |
|
yandexDirect |
Yandex.Direct advertisement provider settings. Includes only one of the fields Specifies the advertisement provider to use. |
YandexDirect
Configuration for the Yandex.Direct advertisement provider.
These settings are specific to the Yandex.Direct advertising platform.
|
Field |
Description |
|
enable |
boolean Enables or disables Partner Ad for both Live and VOD content. |
|
pageId |
string (int64) Yandex.Direct page identifier. |
|
category |
string (int64) Yandex.Direct category identifier. |
RefererVerificationSettings
Settings for HTTP Referer verification to control where content can be embedded.
When enabled, the system checks the HTTP Referer request header to ensure
that content is only embedded on allowed domains.
|
Field |
Description |
|
enable |
boolean Enables or disables Referer verification for this channel. |
|
allowedDomains[] |
string List of domains allowed to embed content from this channel. Each value must match the regular expression |