Manage Videos
post/library/{libraryId}/videos/{videoId}/captions/{srclang}

Request

Path parameters

libraryIdinteger required

The ID of the video library.

videoIdstring required

The GUID of the video.

srclangstring required

The srclang shortcode for the caption, e.g. "en".

Request body

srclangstring nullable

Not used — the caption's srclang is taken from the srclang route segment instead. Any value sent here is ignored.

labelstring nullable

The text description label for the caption

captionsFilestring nullable

Base64 encoded captions file

Response

The caption was successfully uploaded

successboolean

Determines if the request was successful

messagestring nullable

Human-readable message describing the result, typically populated with error details when Success is false.

statusCodeinteger

The HTTP status code corresponding to the result of the request.

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      request property deprecated

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status