Description
We currently have two versions of every transform endpoint, surfaced both through the Sandbox documentation and actual functionality. One version of the endpoint allows for a trailing slash without additional information, whereas the other version only accepts a trailing slash if it is followed by a page title (see screenshot below). This is confusing for users, presents an anti-pattern for REST principles, and is needlessly complicated for us to support.
Additionally, the current trailing slash endpoint sees limited traffic with a high rate of errors and test calls. It would be best to deprecate and fully remove it from our system before we see additional adoption. The work outlined in this ticket focuses on the deprecation announcement and formally marking the trailing slash endpoints as deprecated, with a follow up ticket to actually remove them from code.
Conditions of acceptance
- Send deprecation announcement to wikitech-l
- Send deprecation announcement to WikiTech News
- Mark endpoints as deprecated in documentation
- Surface deprecation status within the REST Sandbox description --> Add deprecated: true to the OpenAPI spec
- Create and update changelog (pending sign off on changelog style guide proposal & location alignment)
