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. Default value: 100. |
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"
}
],
"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 |