Sign in

Upload subtitle track

documented

Upload a subtitle track for a VideoPress video.

POST /videos/{guid}/tracksVideosno 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://public-api.wordpress.com/rest/v1.1/videos/{{$guid}}/tracks" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"kind": "{{$kind}}", "label": "{{$label}}", "srclang": "{{$srclang}}", "vtt": "{{$vtt_data}}"}'
Upload subtitle track · WordPress.com · OpenIntegrations