Sign in

Swap media

documented

Swap a media with another version in place.

PUT /modern/medias/{mediaHashedId}/swapMediano implementation yet0 runs
No 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}}/swap" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"replacement_media_id": "{{$replacement_media_id}}"}'
Swap media · wistia · OpenIntegrations