Video API, gRPC: ThumbnailService.GenerateUploadURL
Generates a URL for uploading an image to an existing thumbnail record.
This URL can be used to upload the actual image file using an HTTP PUT request.
The URL is pre-signed and has a limited validity period.
gRPC request
rpc GenerateUploadURL (GenerateThumbnailUploadURLRequest) returns (GenerateThumbnailUploadURLResponse)
GenerateThumbnailUploadURLRequest
{
"thumbnail_id": "string"
}
|
Field |
Description |
|
thumbnail_id |
string Required field. ID of the thumbnail for which to generate an upload URL. The maximum string length in characters is 50. |
GenerateThumbnailUploadURLResponse
{
"upload_url": "string"
}
|
Field |
Description |
|
upload_url |
string Pre-signed URL for uploading the thumbnail image. |