Video API, REST: Thumbnail.BatchGenerateDownloadURLs
Статья создана
Обновлена 26 ноября 2024 г.
Generate urls for download images.
HTTP request
POST https://video.api.cloud.yandex.net/video/v1/thumbnails:batchGenerateDownloadURLs
Body parameters
{
"channelId": "string",
"thumbnailIds": [
"string"
]
}
Field |
Description |
channelId |
string Required field. ID of the channel. |
thumbnailIds[] |
string List of thumbnails IDs. |
Response
HTTP Code: 200 - OK
{
"downloadUrls": [
{
"thumbnailId": "string",
"downloadUrl": "string"
}
]
}
Field |
Description |
downloadUrls[] |
List of download urls. |
ThumbnailDownloadURL
Field |
Description |
thumbnailId |
string ID of the thumbnail. |
downloadUrl |
string Download url. |