Video API, gRPC: ThumbnailService.BatchGenerateDownloadURLs
Written by
Updated at November 26, 2024
Generate urls for download images.
gRPC request
rpc BatchGenerateDownloadURLs (BatchGenerateDownloadURLsRequest) returns (BatchGenerateDownloadURLsResponse)
BatchGenerateDownloadURLsRequest
{
"channel_id": "string",
"thumbnail_ids": [
"string"
]
}
Field |
Description |
channel_id |
string Required field. ID of the channel. |
thumbnail_ids[] |
string List of thumbnails IDs. |
BatchGenerateDownloadURLsResponse
{
"download_urls": [
{
"thumbnail_id": "string",
"download_url": "string"
}
]
}
Field |
Description |
download_urls[] |
List of download urls. |
ThumbnailDownloadURL
Field |
Description |
thumbnail_id |
string ID of the thumbnail. |
download_url |
string Download url. |