Skip to main content

Translate subtitle of VOD

POST 

/bv/cms/v1/vods/:id/subtitles/:subtitle_id:translate

This API will translate subtitle by vod id and translate setting

Request

Path Parameters

    id stringrequired

    Required. The unique id of the VOD resource.

    subtitle_id stringrequired

    Required. The unique id of the subtitle resource.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Body

required
    settings object[]required

    Required. The translate setting.

  • Array [
  • source_lang_code stringrequired

    The language code of the source subtitle file. The format is ISO639-1+ISO-3166-1 (e.g., en-US).

    target_lang_code stringrequired

    The target language code you want to translate into. The format is ISO639-1+ISO-3166-1 (e.g., en-US).

    display stringrequired

    The display name of the translated subtitle file.

  • ]

Responses

A successful response.

Schema

    object

Loading...