API requests are logged on the analytics server, in the mediawiki_api_request table. Check what we can learn about maps from reading this table.
- What's the time span of this data?
- Roughly 90 days
- Does it cover all wikis?
- Yes.
- How much load is on this endpoint?
- A surprising amount—Nov 1 saw 3.5M requests to the endpoint. This should be the subject of a new investigation: T295602
- How long does the request take to serve?
- Do we see errors?
- Errors are visible, but the only time this happened was when I made test API calls with both revids and titles parameters
- This probably means that we're not seeing the API errors for a missing group. Split into a new task: T295604
- Do requests mostly come from browsers or from kartotherian?
- Vast majority are kartotherian. There are some from another bot (TBD document this fact). Possibly none from browsers.
- Any evidence of caching?
- No API caching, but some kartotherian caching. However, kartotherian will request a page many times per day, for example this article has maybe 800 pageviews, but kartotherian made 8 mapdata requests.
- This is still an unexpected result, and should be discussed in the above task (T295602). If images are cached for only a short time, it changes our varnish plans.