Video API, gRPC: ThumbnailService.BatchGenerateDownloadURLs
Статья создана
Обновлена 17 октября 2024 г.
Generate urls for download images.
gRPC request
rpc BatchGenerateDownloadURLs (BatchGenerateDownloadURLsRequest) returns (BatchGenerateDownloadURLsResponse)
BatchGenerateDownloadURLsRequest
{
"channelId": "string",
"thumbnailIds": [
"string"
]
}
Field |
Description |
channelId |
string ID of the channel. |
thumbnailIds[] |
string List of thumbnails IDs. |
BatchGenerateDownloadURLsResponse
{
"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. |