Video API, REST: Channel.List
List channels for organization.
HTTP request
GET https://video.api.cloud.yandex.net/video/v1/channels
Query parameters
Field |
Description |
organizationId |
string Required field. ID of the organization. |
pageSize |
string (int64) The maximum number of the results per page to return. |
pageToken |
string Page token for getting the next page of the result. |
orderBy |
string By which column the listing should be ordered and in which direction, |
filter |
string Filter expression that filters resources listed in the response. |
Response
HTTP Code: 200 - OK
{
"channels": [
{
"id": "string",
"organizationId": "string",
"title": "string",
"description": "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"
]
}
}
}
],
"nextPageToken": "string"
}
Field |
Description |
channels[] |
List of channels for specific organization. |
nextPageToken |
string Token for getting the next page. |
Channel
Root entity for content separation.
Field |
Description |
id |
string ID of the channel. |
organizationId |
string ID of the organization where channel should be created. |
title |
string Channel title. |
description |
string Channel description. |
createdAt |
string (date-time) Time when channel was created. String in RFC3339 To work with values in this field, use the APIs described in the |
updatedAt |
string (date-time) Time of last channel update. String in RFC3339 To work with values in this field, use the APIs described in the |
labels |
object (map<string, string>) Custom labels as |
settings |
Channel settings. |
ChannelSettings
Channel settings.
Field |
Description |
advertisement |
Advertisement settings. |
refererVerification |
Referer verification settings |
AdvertisementSettings
Advertisement settings.
Field |
Description |
yandexDirect |
Includes only one of the fields Advertisement provider. |
YandexDirect
YandexDirect provider settings.
Field |
Description |
enable |
boolean Enable Partner Ad for Live and VOD content. |
pageId |
string (int64) Advertisement page ID. |
category |
string (int64) Advertisement category. |
RefererVerificationSettings
Referer verification settings.
Field |
Description |
enable |
boolean Enable verification |
allowedDomains[] |
string List of available domains |