MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以更改輸出格式。要查看JSON格式的非HTML實現,設置format=json

參見完整文件,或API幫助以獲取更多信息。

{
    "batchcomplete": "",
    "query": {
        "authmanagerinfo": {
            "canauthenticatenow": "",
            "cancreateaccounts": "",
            "preservedusername": "",
            "requests": [
                {
                    "id": "MediaWiki\\Auth\\PasswordAuthenticationRequest",
                    "metadata": {},
                    "required": "primary-required",
                    "provider": "Password-based \u8a8d\u8b49",
                    "account": "",
                    "fields": {
                        "username": {
                            "type": "string",
                            "label": "\u4f7f\u7528\u8005\u540d\u7a31",
                            "help": "\u8a8d\u8b49\u7528\u7684\u4f7f\u7528\u8005\u540d\u7a31\u3002"
                        },
                        "password": {
                            "type": "password",
                            "label": "\u5bc6\u78bc",
                            "help": "\u8a8d\u8b49\u7528\u7684\u5bc6\u78bc\u3002",
                            "sensitive": ""
                        }
                    }
                },
                {
                    "id": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
                    "metadata": {},
                    "required": "optional",
                    "provider": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
                    "account": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
                    "fields": {
                        "rememberMe": {
                            "type": "checkbox",
                            "label": "\u8a18\u4f4f\u6211\u7684\u767b\u5165\u72c0\u614b",
                            "help": "\u662f\u5426\u8981\u8a18\u4f4f\u5bc6\u78bc\u4f86\u53d6\u5f97\u66f4\u9577\u7684\u9023\u7dda\u968e\u6bb5\u6642\u9593\u3002",
                            "optional": ""
                        }
                    }
                }
            ]
        }
    }
}