Odpověď z MediaWiki API
This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.
See the complete documentation, or the API help for more information.
{
"batchcomplete": "",
"query": {
"authmanagerinfo": {
"canauthenticatenow": "",
"cancreateaccounts": "",
"canlinkaccounts": "",
"preservedusername": "",
"requests": [
{
"id": "MediaWiki\\Extension\\PluggableAuth\\BeginAuthenticationRequest:pluggableauthlogin0",
"metadata": {},
"required": "primary-required",
"provider": "MediaWiki\\Extension\\PluggableAuth\\BeginAuthenticationRequest",
"account": "MediaWiki\\Extension\\PluggableAuth\\BeginAuthenticationRequest:pluggableauthlogin0",
"fields": {
"username": {
"type": "string",
"label": "U\u017eivatelsk\u00e9 jm\u00e9no",
"help": "U\u017eivatelsk\u00e9 jm\u00e9no pro autentizaci."
},
"password": {
"type": "password",
"label": "Heslo",
"help": "Heslo pro autentizaci.",
"sensitive": ""
},
"pluggableauthlogin0": {
"type": "button",
"label": "P\u0159ihlaste se",
"help": "Ov\u011b\u0159it pomoc\u00ed PluggableAuth"
}
}
},
{
"id": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
"metadata": {},
"required": "optional",
"provider": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
"account": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
"fields": {
"rememberMe": {
"type": "checkbox",
"label": "P\u0159ihl\u00e1sit trvale",
"help": "Zda se m\u00e1 heslo zapamatovat d\u00e9le ne\u017e jen po dobu t\u00e9to relace.",
"optional": ""
}
}
}
]
}
}
}