User:Zaycodes/Sandbox/API:Siteinfo

GET request to get overall site information.

Results
This section documents only those result sections where there are numerous or non-obvious return values. Results like those found in  or , where the meaning of each item can be readily inferred, are not listed here.

General
The general option can return the following results:

Interwikimap
The attributes provided in each  element include:

Namespaces
Each namespace is given within its own element, which contains several attributes:

Restrictions
Provides information about the various forms of page protection available.

Rightsinfo
In the best case this will provide:

Statistics
This section provides similar info to Special:Statistics, along with the number of jobs in the job queue, in the following elements:

Other statistics may be included via the APIQuerySiteInfoStatisticsInfo hook.

Usergroups
This retrieves a list of all groups on the wiki, along with their rights and possibly other statistics.

Parameter history

 * v1.29: Introduced
 * v1.25: Introduced
 * v1.23: Introduced,  ,
 * v1.21: Introduced
 * v1.20: Introduced
 * v1.19: Introduced
 * v1.18: Introduced,  ,  ,
 * v1.16: Introduced ,
 * v1.15: Introduced ,
 * v1.14: Introduced
 * v1.13: Introduced ,
 * v1.12: Introduced
 * v1.11: Introduced,  ,  ,  ,

Additional notes

 * The code for the  function is located at.