Request on behalf of Product Managers @Lydia_Pintscher and @Samantha_Alipio_WMDE.
We would like to know how different API endpoints provided by Wikibase are used on different WMF wikis.
As an initial overview we'd like to have a daily request count throughout the full month (e.g. May 2020) for each of API endpoints (as defined below) and split by wiki.
Ideally, only valid requests (i.e. requests not resulting in an error) would be counted. Recognizing invalid requests might not be simple depending on what data is stored - generally speaking, the invalid request is one that results in the response containing "error" high level key in the response JSON object (MediaWiki APIs respond with HTTP code 200 to both valid and incorrect requests). In case of questions related to recognizing invalid requests to a particular API endpoint @Addshore would likely be able to help with those, or delegate helping to developer.
API endpoints meant here are defined by a specific value of the action parameter in the request to wikis api.php endpoint, and, in certain cases, some additional request parameters.
API endpoints to be covered in the overview
- action=wbavailablebadges
- action=wbcheckconstraintparameters
- action=wbcheckconstraints
- action=wbcreateclaim
- action=wbcreateredirect
- action=wbeditentity
- action=wbformatentities
- action=wbformatvalue
- action=wbgetclaims
- action=wbgetentities
- action=wblinktitles
- action=wblmergelexemes
- action=wbmergeitems
- action=wbparsevalue
- action=wbremoveclaims
- action=wbremovequalifiers
- action=wbremovereferences
- action=wbsearchentities
- action=wbsetaliases
- action=wbsetclaim
- action=wbsetclaimvalue
- action=wbsetdescription
- action=wbsetlabel
- action=wbsetqualifier
- action=wbsetreference
- action=wbsetsitelink
- action=wbsgetsuggestions
- action=query&prop=wbentityusage
- action=query&list=wblistentityusage
- action=query&list=wbsubscribers
- action=query&prop=pageterms
- action=query&meta=wikibase