MediaWiki API 結果
这是JSON格式的HTML表示。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML表示,设置format=json。
{
"batchcomplete": "",
"query": {
"authmanagerinfo": {
"canauthenticatenow": "",
"cancreateaccounts": "",
"preservedusername": "",
"requests": [
{
"id": "MediaWiki\\Auth\\PasswordAuthenticationRequest",
"metadata": {},
"required": "required",
"provider": "Password-based authentication",
"account": "",
"fields": {
"username": {
"type": "string",
"label": "\u4f7f\u7528\u8005\u540d\u7a31",
"help": "Username for authentication."
},
"password": {
"type": "password",
"label": "\u5bc6\u78bc",
"help": "Password for authentication."
}
}
},
{
"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": "Whether the password should be remembered for longer than the length of the session.",
"optional": ""
}
}
}
]
}
}
}