Automattic / Automattic/jetpack
VideoPress: `wp/v2/media/<id>` doesn't provide video tracks data
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
The `tracks` field always returns an empty array even when the video has chapters.
`wp/v2/media/` endpoint response body in the client

`wp/v2/media/` body response

`v1.1/videos/` body response (same video post)

Contributor guide
Research direction
Start by tracing the wp/v2/media/ endpoint and its handling of the tracks field, comparing its response with the v1.1/videos/ response shown in the issue. Done means the media endpoint returns video track and chapter data instead of an empty tracks array for videos that contain chapters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100