Page MenuHomePhabricator

AQS - Add per wiki filtering to the edits/v3/per_editor
Open, Needs TriagePublic

Description

The Get number of edits made by an editor AQS endpoint returns a timeseries of a user's summed global edit counts across all wikis.

Impact Module needs the ability to filter this by a wiki, to show the users's edit count on that wiki.

In T414020#11925837, @Ottomata suggested that the ability to filter the data by-project "could be added very easily".

edits/v3/per_editor is backed by the mediawiki_history_reduced druid dataset. Druid should allow us to filter the sum by the project dimension.

We would either need to change the existing API endpoint to add a new project or wiki_id parameter, or add a new endpoint that allows to filter.

Done is

  • Analytics API has an endpoint that returns a timeseries of edit counts per editor for a specific wiki.