Video API, gRPC: ThumbnailService.List
Written by
Updated at November 26, 2024
List thumbnails for channel.
gRPC request
rpc List (ListThumbnailRequest) returns (ListThumbnailResponse)
ListThumbnailRequest
{
"channel_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
channel_id |
string ID of the channel. |
page_size |
int64 The maximum number of the results per page to return. Default value: 100. |
page_token |
string Page token for getting the next page of the result. |
ListThumbnailResponse
{
"thumbnails": [
{
"id": "string",
"channel_id": "string",
"created_at": "google.protobuf.Timestamp"
}
],
"next_page_token": "string"
}
Field |
Description |
thumbnails[] |
List of thumbnails. |
next_page_token |
string Token for getting the next page. |
Thumbnail
Field |
Description |
id |
string ID of the thumbnail. |
channel_id |
string ID of the channel where the thumbnail was created. |
created_at |
Time when thumbnail was created. |