Skip to main content

Add caption

POST 

/videos/:id/captions/:language

Add caption on a specific video

Request

Path Parameters

    id stringrequired

    (Required) Id of video

    Example: 2346
    language stringrequired

    (Required) 3-letter language code according to ISO-639-2 (bibliographic code)

    Example: eng

Header Parameters

    Content-Type stringrequired
    Example: multipart/form-data
    Accept stringrequired
    Example: application/json

Body

    ai_generated stringrequired

    (Required)

    Example: false
    published stringrequired

    true|false (languages supported: "eng", "spa", "fre", "ger", "ita", "por", "dut", "hin", "jpn", "chi", "fin", "kor", "pol", "rus", "ukr", "vie")

    Example: true
    file binaryrequired

    (Required)

Responses

Response Headers

    Schema

      status stringrequired
      id_video stringrequired
      id_caption stringrequired
      language stringrequired
      language_name stringrequired
      vtt stringrequired
      vtt_draft stringrequired
      state stringrequired
      ai_generated stringrequired
      published stringrequired
    Loading...