Skip to main content

Update subtitles of VOD

PUT 

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

Modifies the subtitles of a VOD resource with the specified subtitle file.


Required field(s):

  • id

Request

Path Parameters

    id stringrequired

    Required. The unique id of the VOD 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 VOD resource.

  • Array [
  • id string

    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 string

    The display name of the subtitle file.

  • ]
  • stt_subtitles object[]

    Optional. The subtitle will auto-genrated and added to VOD 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 string

    The display name of the subtitle file.

  • ]

Responses

A successful response.

Schema

    object

Loading...