- In T399713: IPReveal: Remove the revision endpoint and use the batch mechanism instead, the /revision endpoint in CheckUser is being deprecated as a first step to remove it completely.
- However, the endpoint is being called directly by PageTriage here to retrieve the IP of temp accounts associated with a given revision ID.
- That usage must be updated to use CheckUser's batch endpoint instead.
Techncal details
- An example of how to call that endpoint can be found here (the format for the payload can be found here).
- Rationale for this change:
- Using a GET-based endpoint was problematic when a long list of revision IDs were provided, since that resulted in a very long URL that exceeded the URL length limit allowed by the HTTP server or browser (which is typically a few kilobytes).
- By contrast, browsers and servers typically support POST payloads of various megabytes.
- Additionally, this prevents flooding server logs with URLs containing 500+ IDs.