We would like to have one or more endpoints for feeds, to be used initially by the mobile apps. See T132340 for details.
Current thinking:
`https://{domain}/api/rest_v1/`
- `feed/featured/{year}/{month}/{day}`: An aggregating endpoint comprised of the ones below, which are the non-user specific portions of the Explore feeds in the apps.
- `page/featured/{year}/{month}/{day}`: The "Article of the day"
- `page/news/{year}/{month}/{day}`: "In the news" entries.
- `page/random`: One random article.
- `media/image/featured/{year}/{month}/{day}`: The "Picture of the day"
- `media/video/featured/{year}/{month}/{day}` The "Video of the day"
All `by-date` entry points return "this date or earlier" content, as available in storage. Additionally, results will contain a link to the previous date's content, based on date arithmetic. In combination, this makes sure that
- clients can request latest content by asking for the current UTC date, and
- clients can efficiently page backwards, skipping over gaps in content.