跳到主要内容

Update subtitles of AOD

PUT 

/bv/cms/v1/aods/:id/subtitles

Modifies the subtitles of an AOD resource with the specified subtitle file.


Required field(s):

  • id

Request

Path Parameters

    id stringrequired

    Required. The unique id of the AOD 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
    subtitles object[]

    Optional. The subtitles that will be added to the AOD resource.

  • Array [
  • id stringrequired

    The unique id of the library subtitle file.

    name string

    The name of the subtitle file.

    code string

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

    display stringrequired

    The display name of the subtitle file.

    translate_settings object[]

    The translate settings of the subtitle. It's only supported in AddVODSubtitles, TranslateVODSubtitle and CreateVOD API.

  • 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.

  • ]
  • ]
  • stt_subtitles object[]

    Optional. The subtitle will auto-generated and added to AOD resource.

  • Array [
  • track_no string

    The number of audio track.

    lang_code string

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

    display stringrequired

    The display name of the subtitle file.

    translate_settings object[]

    The translate settings of the subtitle. It's only supported in AddVODSubtitles, TranslateVODSubtitle and CreateVOD API.

  • 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...