Video API, REST: Thumbnail.list
Статья создана
Обновлена 13 сентября 2024 г.
List thumbnails for channel.
HTTP request
GET https://video.api.cloud.yandex.net/video/v1/thumbnails
Query parameters
Parameter | Description |
---|---|
channelId | ID of the channel. |
pageSize | The maximum number of the results per page to return. Default value: 100. |
pageToken | Page token for getting the next page of the result. |
Response
HTTP Code: 200 - OK
{
"thumbnails": [
{
"id": "string",
"channelId": "string",
"createdAt": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
thumbnails[] | object List of thumbnails. |
thumbnails[]. id |
string ID of the thumbnail. |
thumbnails[]. channelId |
string ID of the channel where the thumbnail was created. |
thumbnails[]. createdAt |
string (date-time) Time when thumbnail was created. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
nextPageToken | string Token for getting the next page. |