Video API, gRPC: SubtitleService.GenerateUploadURL
Written by
Updated at August 8, 2025
Generates a URL for uploading a subtitle file to an existing subtitle record.
This URL can be used to upload the actual subtitle file using an HTTP PUT request.
The URL is pre-signed and has a limited validity period.
gRPC request
rpc GenerateUploadURL (GenerateSubtitleUploadURLRequest) returns (GenerateSubtitleUploadURLResponse)
GenerateSubtitleUploadURLRequest
{
"subtitle_id": "string"
}
Field |
Description |
subtitle_id |
string Required field. ID of the subtitle for which to generate an upload URL. |
GenerateSubtitleUploadURLResponse
{
"upload_url": "string"
}
Field |
Description |
upload_url |
string Pre-signed URL for uploading the subtitle file. |