Odpověď z MediaWiki API

Díváte se na HTML reprezentaci formátu JSON. HTML se hodí pro ladění, ale pro aplikační použití je nevhodné.

Pro změnu výstupního formátu uveďte parametr format. Abyste viděli ne-HTML reprezentaci formátu JSON, nastavte format=json.

Více informací najdete v úplné dokumentaci nebo nápovědě k API.

{
    "query": {
        "general": {
            "mainpage": "Hlavn\u00ed strana",
            "base": "http://plarmy.cz/zwentendorf/index.php?title=Hlavn%C3%AD_strana",
            "sitename": "Start Zwentendorf",
            "logo": "http://plarmy.cz/zwentendorf/resources/assets/StartZwentendorf.png",
            "generator": "MediaWiki 1.25.1",
            "phpversion": "5.6.30",
            "phpsapi": "cgi-fcgi",
            "dbtype": "mysql",
            "dbversion": "5.5.51-38.1-log",
            "imagewhitelistenabled": "",
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^([a-z\u00e1\u010d\u010f\u00e9\u011b\u00ed\u0148\u00f3\u0159\u0161\u0165\u00fa\u016f\u00fd\u017e]+)(.*)$/sDu",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "case": "first-letter",
            "lang": "cs",
            "fallback": [
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "cp1250",
            "writeapi": "",
            "timezone": "Europe/Prague",
            "timeoffset": 60,
            "articlepath": "/zwentendorf/index.php?title=$1",
            "scriptpath": "/zwentendorf",
            "script": "/zwentendorf/index.php",
            "variantarticlepath": false,
            "server": "http://plarmy.cz",
            "servername": "plarmy.cz",
            "wikiid": "f68888-zwent",
            "time": "2024-12-03T12:46:31Z",
            "maxuploadsize": 104857600,
            "thumblimits": [
                120,
                150,
                180,
                200,
                250,
                300
            ],
            "imagelimits": [
                {
                    "width": 320,
                    "height": 240
                },
                {
                    "width": 640,
                    "height": 480
                },
                {
                    "width": 800,
                    "height": 600
                },
                {
                    "width": 1024,
                    "height": 768
                },
                {
                    "width": 1280,
                    "height": 1024
                }
            ],
            "favicon": "http://plarmy.cz/favicon.ico"
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "M\u00e9dia"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "canonical": "Special",
                "*": "Speci\u00e1ln\u00ed"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Talk",
                "*": "Diskuse"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User",
                "*": "U\u017eivatel"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User talk",
                "*": "Diskuse s u\u017eivatelem"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project",
                "*": "Start Zwentendorf"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "Diskuse k Start Zwentendorf"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "Soubor"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "subpages": "",
                "canonical": "File talk",
                "*": "Diskuse k souboru"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki",
                "*": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki talk",
                "*": "Diskuse k MediaWiki"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "canonical": "Template",
                "*": "\u0160ablona"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template talk",
                "*": "Diskuse k \u0161ablon\u011b"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help",
                "*": "N\u00e1pov\u011bda"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help talk",
                "*": "Diskuse k n\u00e1pov\u011bd\u011b"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "Kategorie"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Category talk",
                "*": "Diskuse ke kategorii"
            }
        },
        "namespacealiases": [
            {
                "id": 2,
                "*": "U\u017eivatelka"
            },
            {
                "id": 3,
                "*": "Diskuse s u\u017eivatelkou"
            },
            {
                "id": 3,
                "*": "U\u017eivatel diskuse"
            },
            {
                "id": 3,
                "*": "U\u017eivatelka diskuse"
            },
            {
                "id": 5,
                "*": "Start Zwentendorf diskuse"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 7,
                "*": "Soubor diskuse"
            },
            {
                "id": 9,
                "*": "MediaWiki diskuse"
            },
            {
                "id": 11,
                "*": "\u0160ablona diskuse"
            },
            {
                "id": 13,
                "*": "N\u00e1pov\u011bda diskuse"
            },
            {
                "id": 15,
                "*": "Kategorie diskuse"
            }
        ],
        "statistics": {
            "pages": 60,
            "articles": 10,
            "edits": 64,
            "images": 41,
            "users": 1,
            "activeusers": 0,
            "admins": 1,
            "jobs": 0
        }
    }
}