MediaWiki-API-Ergebnis
Dies ist die HTML-Repräsentation des JSON-Formats. HTML ist zur Fehlerbehebung gut, aber unpassend für den Anwendungsgebrauch.
Gib den Parameter format an, um das Ausgabeformat zu ändern. Um die Nicht-HTML-Repräsentation des JSON-Formats anzusehen, lege format=json fest.
Siehe die vollständige Dokumentation oder die API-Hilfe für weitere Informationen.
{
"batchcomplete": "",
"query": {
"authmanagerinfo": {
"canauthenticatenow": "",
"cancreateaccounts": "",
"preservedusername": "",
"requests": [
{
"id": "MediaWiki\\Auth\\PasswordAuthenticationRequest",
"metadata": {},
"required": "primary-required",
"provider": "Password-based authentication",
"account": "",
"fields": {
"username": {
"type": "string",
"label": "Benutzername",
"help": "Username for authentication."
},
"password": {
"type": "password",
"label": "Passwort",
"help": "Password for authentication."
}
}
},
{
"id": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
"metadata": {},
"required": "optional",
"provider": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
"account": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
"fields": {
"rememberMe": {
"type": "checkbox",
"label": "Angemeldet bleiben",
"help": "Whether the password should be remembered for longer than the length of the session.",
"optional": ""
}
}
}
]
}
}
}