Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=statistics-reports (esr)
- Ten moduł wymaga praw odczytu.
- Źródło: BlueSpiceExtendedStatistics
- Licencja: GPL-3.0-only
Provides statistic reports for various statistics types
Parametry:
Other general parameters are available.
- esrfilter
JSON encoded filter data
- esrtype
Type of statistics (report key)
- Ten parametr jest wymagany.
- esraggregate
Whether to aggregate the statistics
- Typ: liczba całkowita
Przykład:
- 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 [otwórz w brudnopisie]