Create Media from Trims
create_media_from_trimsCreate a new trimmed video from an existing Wistia media by removing specified time ranges, or set keep_trims to retain only chosen ranges.
Instructions
Creates a new media that trims off parts of an existing media.
By default, the trims parameter specifies time ranges to remove from the media. When keep_trims is set to true, the trims parameter instead specifies time ranges to keep in the media.
NOTE: currently this endpoint only supports trimming video files.
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 |
|---|---|---|---|
| trims | No | ||
| 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. | |
| keep_trims | No | When set to true, the trims parameter is treated as ranges to keep rather than ranges to remove. Defaults to false. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. | |
| media_hashed_id | Yes | The hashed ID of the media. |