Skip to Content

GenerateSubtitleTranslations

POST
/media/v1/projects/{project_id}/videos/{video_id}/subtitles/translate

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Path Parameters

project_id*project_id
video_id*video_id

Request Body

required
application/json
{
  "source_subtitle_id": "Z9Y8X7W6V5",
  "target_languages": [
    "string"
  ]
}
source_subtitle_id?string
target_languages?array<string>

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/google.protobuf.Empty",
  "$ref-value": {
    "type": "object",
    "description": "An empty JSON object."
  }
}
default
curl -X POST 'https://api.rixl.com/media/v1/projects/Bq4y3QB38S/videos/FpzVPNx1cG/subtitles/translate'

Success

application/json

{
  "$ref": "#/components/schemas/google.protobuf.Empty",
  "$ref-value": {
    "type": "object",
    "description": "An empty JSON object."
  }
}