Update Captions
update_captionsReplace captions on a Wistia video or audio file for a specific language. Provide an SRT file or its contents to update existing captions.
Instructions
This method is for replacing the captions on a video or audio media for the specified language.
Requires api token with one of the following permissions
Read, update & delete anythingTokens with the "Act with a team member's permissions" permission
(all:delegate_to_contact_permissions scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.
Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private Wistia account; selects credentials, not a remote account ID. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete JSON request body instead of body flags. Supports current nested customization, caption and nullable values. | |
| caption_file | No | Either an attached SRT file or a string parameter with the contents of an SRT file. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. | |
| language_code | Yes | Language code conforming to ISO-639-2 for which the captions should be updated. | |
| media_hashed_id | Yes | Unique identifier for the media. |