Video API, gRPC: SubtitleService.GenerateUploadURL
Статья создана
Обновлена 25 ноября 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. The maximum string length in characters is 50. |
GenerateSubtitleUploadURLResponse
{
"upload_url": "string"
}
|
Field |
Description |
|
upload_url |
string Pre-signed URL for uploading the subtitle file. |