Video API, gRPC: ThumbnailService.List
Written by
Updated at October 17, 2024
List thumbnails for channel.
gRPC request
rpc List (ListThumbnailRequest) returns (ListThumbnailResponse)
ListThumbnailRequest
{
"channelId": "string",
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
channelId |
string ID of the channel. |
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. |
ListThumbnailResponse
{
"thumbnails": [
{
"id": "string",
"channelId": "string",
"createdAt": "google.protobuf.Timestamp"
}
],
"nextPageToken": "string"
}
Field |
Description |
thumbnails[] |
List of thumbnails. |
nextPageToken |
string Token for getting the next page. |
Thumbnail
Field |
Description |
id |
string ID of the thumbnail. |
channelId |
string ID of the channel where the thumbnail was created. |
createdAt |
Time when thumbnail was created. |