Create captions
documentedCreate captions for a media.
POST /modern/medias/{mediaHashedId}/captionsCaptionsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.wistia.com/modern/medias/{{$mediaHashedId}}/captions" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"contents": "{{$srt_contents}}", "language": "{{$language_code}}"}' # Sources: docs.wistia.com/reference/post_medias-mediahashedid-captions, docs.wistia.com/reference/get_medias-mediahashedid-captions