Page MenuHomePhabricator

AQS 2.0: Edit Analytics: Implement endpoints
Open, Needs TriagePublic

Description

Implement endpoints for the Edit Analytics service. These endpoints are Druid-based.

Completion criteria: the following endpoints are implemented:

  • edits/aggregate
  • edits/per-page
  • bytes_difference/net/aggregate
  • bytes_difference/net/per-page
  • bytes_difference/absolute/aggregate
  • bytes_difference/absolute/per-page
  • edited_pages/new
  • edited_pages/aggregate
  • edited_pages/top-by-edits
  • edited_pages/top-by-net-bytes-difference
  • edited_pages/top-by-absolute-bytes-difference

See the parent task for discussion on a reusable package for commonalities between endpoints in this service and endpoints in the Editor Analytics service. There is additional related discussion in T288301: AQS 2.0:Wikistats 2 service.

Extremely rough proof-of-concept code for querying Druid can be found here.