Background and Why
The summary output includes a api_urls field with several sub-properties pointing to endpoints, some of which have been removed. See T247991.
This field doesn't seem to be used. None of the WMF web and native apps use it. But there could be external clients using it.
What?
This task is to ask if we should remove the api_urls field altogether.
Example
The summary output includes a field with sub-properties, like this:
"api_urls": { "summary": "https://en.wikipedia.org/api/rest_v1/page/summary/Cat", "metadata": "https://en.wikipedia.org/api/rest_v1/page/metadata/Cat", "references": "https://en.wikipedia.org/api/rest_v1/page/references/Cat", "media": "https://en.wikipedia.org/api/rest_v1/page/media/Cat", "edit_html": "https://en.wikipedia.org/api/rest_v1/page/html/Cat", "talk_page_html": "https://en.wikipedia.org/api/rest_v1/page/html/Talk:Cat" }
Notes
- This is NOT about removing the content_urls field, which the iOS app is using. (It uses content_urls.desktop.page.)
- This is a potentially breaking change. So it would require a version bump.
Links
- RESTBase endpoint documentation
- Direct link to an example output.