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
list=spaces
- This module requires read rights.
- Source: WSSpaces
- License: GPL-2.0-or-later
API module to query spaces defined in WSSpaces
Parameter:
- archived
Whether to list only archived spaces or only active spaces.
- Type: boolean (details)
Examples:
- Query all spaces that are not archived.
- api.php?action=query&list=spaces [open in sandbox]
- Query all spaces that are archived.
- api.php?action=query&list=spaces&archived=1 [open in sandbox]