MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "batchcomplete": "",
    "query": {
        "globalgroups": [
            {
                "name": "global-bot",
                "rights": [
                    "apihighlimits",
                    "autoconfirmed",
                    "autopatrol",
                    "bot",
                    "editsemiprotected",
                    "nominornewtalk",
                    "noratelimit",
                    "oathauth-enable",
                    "skipcaptcha",
                    "suppressredirect"
                ]
            },
            {
                "name": "global-sysop",
                "rights": [
                    "abusefilter-log",
                    "abusefilter-log-detail",
                    "abusefilter-modify",
                    "abusefilter-modify-blocked-external-domains",
                    "abusefilter-modify-restricted",
                    "apihighlimits",
                    "autoconfirmed",
                    "autopatrol",
                    "block",
                    "blockemail",
                    "browsearchive",
                    "centralauth-createlocal",
                    "delete",
                    "deletedhistory",
                    "deletedtext",
                    "deletelogentry",
                    "deleterevision",
                    "editcontentmodel",
                    "editinterface",
                    "editprotected",
                    "editsemiprotected",
                    "editsitecss",
                    "editsitejs",
                    "editsitejson",
                    "editusercss",
                    "edituserjs",
                    "edituserjson",
                    "ipblock-exempt",
                    "markbotedits",
                    "mergehistory",
                    "minoredit",
                    "move",
                    "move-categorypages",
                    "move-rootuserpages",
                    "move-subpages",
                    "movefile",
                    "noratelimit",
                    "nuke",
                    "oathauth-enable",
                    "override-antispoof",
                    "patrol",
                    "protect",
                    "reupload",
                    "reupload-own",
                    "rollback",
                    "skipcaptcha",
                    "spamblacklistlog",
                    "suppressredirect",
                    "tboverride",
                    "titleblacklistlog",
                    "undelete",
                    "unwatchedpages",
                    "upload"
                ]
            },
            {
                "name": "steward",
                "rights": [
                    "globalgroupmembership",
                    "globalgrouppermissions"
                ]
            }
        ]
    }
}