Video API, gRPC: ChannelService.List
List channels for organization.
gRPC request
rpc List (ListChannelsRequest) returns (ListChannelsResponse)
ListChannelsRequest
{
"organizationId": "string",
"pageSize": "int64",
"pageToken": "string",
"orderBy": "string",
"filter": "string"
}
Field |
Description |
organizationId |
string ID of the organization. |
pageSize |
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. |
ListChannelsResponse
{
"channels": [
{
"id": "string",
"organizationId": "string",
"title": "string",
"description": "string",
"createdAt": "google.protobuf.Timestamp",
"updatedAt": "google.protobuf.Timestamp",
"labels": "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 |
Time when channel was created. |
updatedAt |
Time of last channel update. |
labels |
string Custom labels as |