MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=statistics-reports (esr)
- This module requires read rights.
- Source: BlueSpiceExtendedStatistics
- License: GPL-3.0-only
Provides statistic reports for various statistics types
Specific parameters:
Other general parameters are available.
- esrfilter
JSON encoded filter data
- esrtype
Type of statistics (report key)
- This parameter is required.
- esraggregate
- ⧼apihelp-query+statistics-reports-param-aggregate⧽
- Type: integer
Example:
- Provide all reports for type "mytype", for dates 2021-09-14 and 2021-09-15
- api.php?action=query&meta=statistics-reports&esrfilter={"date":{"dateStart":"20210914","dateEnd":"20210915"}}&esrtype=mytype [open in sandbox]