Description
RESTbase API documentation is hosted through RESTbase and uses SwaggerUI for visualization. Once RESTbase is fully deprecated, the API documentation will no longer be accessible on the existing URL. Earlier this year, we launched the REST Sandbox, which similarly offers SwaggerUI based API documentation as a Special page on Wikimedia projects. We are already displaying a copy of the RESTbase endpoint documentation within this page, and can therefore use it as an alternative to the existing solution following the RESTbase sunset.
Conditions of acceptance
- Update Sandbox to reference the correct JSON specs for project-specific endpoints
- Update Sandbox to reference the correct JSON specs for project-agnostic endpoints (canonical math APIs)
- Announce deprecation of https://en.wikipedia.org/api/rest_v1/
- Reroute traffic from https://en.wikipedia.org/api/rest_v1/ to the Special:RestSandbox page for each Wikimedia project.
