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=singlespace
- This module requires read rights.
- Source: WSSpaces
- License: GPL-2.0-or-later
API module to query info for a single space defined in WSSpaces.
Specific parameters:
Other general parameters are available.
- namespace_id
The id of the namespace you want to get all the data for.
- Type: integer
- namespace_key
The (case-sensitive) key of the namespace you want to get all the data for.
- namespace_name
The (case-sensitive) name of the namespace you want to get all the data for.
Examples:
- Query all data belonging to a single namespace with id 50000.
- api.php?action=query&list=singlespace&namespace_id=50000 [open in sandbox]
- Query all data belonging to a single namespace with key "FOO".
- api.php?action=query&list=singlespace&namespace_key=FOO [open in sandbox]
- Query all data belonging to a single namespace with name "Foo fighters".
- api.php?action=query&list=singlespace&namespace_name=Foo%20fighters [open in sandbox]