MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "usergroups": [
            {
                "name": "*",
                "rights": [
                    "createaccount",
                    "read",
                    "edit",
                    "createpage",
                    "createtalk",
                    "writeapi",
                    "viewmywatchlist",
                    "editmywatchlist",
                    "viewmyprivateinfo",
                    "editmyprivateinfo",
                    "editmyoptions",
                    "centralauth-merge",
                    "abusefilter-view",
                    "abusefilter-log",
                    "vipsscaler-test",
                    "flow-hide"
                ]
            },
            {
                "name": "user",
                "rights": [
                    "reupload-own",
                    "move-rootuserpages",
                    "move-categorypages",
                    "read",
                    "edit",
                    "createpage",
                    "createtalk",
                    "writeapi",
                    "minoredit",
                    "editmyusercss",
                    "editmyuserjson",
                    "editmyuserjs",
                    "purge",
                    "sendemail",
                    "applychangetags",
                    "changetags",
                    "spamblacklistlog",
                    "flow-lock",
                    "mwoauthmanagemygrants"
                ]
            },
            {
                "name": "autoconfirmed",
                "rights": [
                    "reupload",
                    "upload",
                    "move",
                    "collectionsaveasuserpage",
                    "collectionsaveascommunitypage",
                    "autoconfirmed",
                    "editsemiprotected",
                    "skipcaptcha",
                    "abusefilter-log-detail",
                    "flow-edit-post",
                    "transcode-reset"
                ]
            },
            {
                "name": "bot",
                "rights": [
                    "noratelimit",
                    "bot",
                    "autoconfirmed",
                    "editsemiprotected",
                    "nominornewtalk",
                    "autopatrol",
                    "suppressredirect",
                    "apihighlimits",
                    "writeapi",
                    "skipcaptcha"
                ]
            },
            {
                "name": "sysop",
                "rights": [
                    "suppressredirect",
                    "noratelimit",
                    "deleterevision",
                    "deletelogentry",
                    "editcontentmodel",
                    "block",
                    "createaccount",
                    "delete",
                    "deletedhistory",
                    "deletedtext",
                    "undelete",
                    "editinterface",
                    "editsitejson",
                    "edituserjson",
                    "import",
                    "move",
                    "move-subpages",
                    "move-rootuserpages",
                    "move-categorypages",
                    "patrol",
                    "autopatrol",
                    "protect",
                    "editprotected",
                    "rollback",
                    "upload",
                    "reupload",
                    "reupload-shared",
                    "unwatchedpages",
                    "autoconfirmed",
                    "editsemiprotected",
                    "ipblock-exempt",
                    "blockemail",
                    "markbotedits",
                    "apihighlimits",
                    "browsearchive",
                    "movefile",
                    "unblockself",
                    "mergehistory",
                    "managechangetags",
                    "deletechangetags",
                    "abusefilter-modify-restricted",
                    "jsonconfig-flush",
                    "flow-create-board",
                    "oathauth-enable",
                    "tboverride",
                    "titleblacklistlog",
                    "transcode-reset",
                    "transcode-status",
                    "globalblock-whitelist",
                    "nuke",
                    "skipcaptcha",
                    "override-antispoof",
                    "abusefilter-log-detail",
                    "abusefilter-modify",
                    "massmessage",
                    "flow-lock",
                    "flow-delete",
                    "flow-edit-post"
                ],
                "add": [
                    "patroller",
                    "rollbacker",
                    "autoreviewer",
                    "confirmed",
                    "massmessage-sender",
                    "filemover",
                    "eventparticipant",
                    "ipblock-exempt"
                ],
                "remove": [
                    "patroller",
                    "rollbacker",
                    "autoreviewer",
                    "confirmed",
                    "flood",
                    "massmessage-sender",
                    "filemover",
                    "eventparticipant",
                    "ipblock-exempt"
                ],
                "add-self": [
                    "flood"
                ],
                "remove-self": [
                    "flood"
                ]
            },
            {
                "name": "interface-admin",
                "rights": [
                    "editinterface",
                    "editsitecss",
                    "editsitejson",
                    "editsitejs",
                    "editusercss",
                    "edituserjson",
                    "edituserjs",
                    "oathauth-enable"
                ]
            },
            {
                "name": "bureaucrat",
                "rights": [
                    "noratelimit",
                    "oathauth-enable",
                    "override-antispoof"
                ],
                "add": [
                    "flood",
                    "accountcreator",
                    "sysop",
                    "interface-admin",
                    "bureaucrat",
                    "bot",
                    "confirmed"
                ],
                "remove": [
                    "flood",
                    "accountcreator",
                    "bot",
                    "confirmed",
                    "interface-admin"
                ]
            },
            {
                "name": "steward",
                "rights": [
                    "noratelimit",
                    "userrights",
                    "globalblock",
                    "centralauth-unmerge",
                    "centralauth-lock",
                    "centralauth-oversight"
                ]
            },
            {
                "name": "accountcreator",
                "rights": [
                    "noratelimit"
                ],
                "add": [
                    "eventparticipant"
                ],
                "remove": [
                    "eventparticipant"
                ],
                "remove-self": [
                    "accountcreator"
                ]
            },
            {
                "name": "import",
                "rights": [
                    "importupload",
                    "import"
                ]
            },
            {
                "name": "transwiki",
                "rights": [
                    "import"
                ]
            },
            {
                "name": "ipblock-exempt",
                "rights": [
                    "ipblock-exempt",
                    "torunblocked"
                ],
                "remove-self": [
                    "ipblock-exempt"
                ]
            },
            {
                "name": "oversight",
                "rights": [
                    "deleterevision",
                    "deletelogentry",
                    "hideuser",
                    "suppressrevision",
                    "suppressionlog",
                    "abusefilter-hide-log",
                    "abusefilter-hidden-log",
                    "oathauth-enable",
                    "flow-suppress"
                ]
            },
            {
                "name": "rollbacker",
                "rights": [
                    "rollback",
                    "abusefilter-log-private",
                    "abusefilter-view-private",
                    "suppressredirect"
                ],
                "remove-self": [
                    "rollbacker"
                ]
            },
            {
                "name": "patroller",
                "rights": [
                    "patrol",
                    "autopatrol",
                    "movefile",
                    "suppressredirect"
                ],
                "remove-self": [
                    "patroller"
                ]
            },
            {
                "name": "autoreviewer",
                "rights": [
                    "autopatrol",
                    "movefile"
                ],
                "remove-self": [
                    "autoreviewer"
                ]
            },
            {
                "name": "flood",
                "rights": [
                    "bot"
                ],
                "remove-self": [
                    "flood"
                ]
            },
            {
                "name": "massmessage-sender",
                "rights": [
                    "massmessage"
                ],
                "remove-self": [
                    "massmessage-sender"
                ]
            },
            {
                "name": "filemover",
                "rights": [
                    "movefile"
                ],
                "remove-self": [
                    "filemover"
                ]
            },
            {
                "name": "eventparticipant",
                "rights": [
                    "autoconfirmed",
                    "upload",
                    "reupload",
                    "skipcaptcha"
                ]
            },
            {
                "name": "checkuser",
                "rights": [
                    "abusefilter-private",
                    "abusefilter-private-log",
                    "oathauth-enable",
                    "checkuser",
                    "checkuser-log"
                ]
            },
            {
                "name": "confirmed",
                "rights": [
                    "reupload",
                    "upload",
                    "move",
                    "collectionsaveasuserpage",
                    "collectionsaveascommunitypage",
                    "autoconfirmed",
                    "editsemiprotected",
                    "skipcaptcha",
                    "abusefilter-log-detail",
                    "flow-edit-post"
                ]
            },
            {
                "name": "flow-bot",
                "rights": [
                    "flow-create-board"
                ]
            }
        ]
    }
}