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.

{
    "addchapter": {
        "html": "\n\t\t<div class=\"collection-create-chapter-links\">\n\t\t\t<a class=\"makeVisible collection-chapter-create\" style=\" display:none;\" href=\"javascript:void(0);\">Vytvo\u0159it kapitolu</a>\n\t\t\t\t\t\t\t<a class=\"collection-sort\" href=\"/index.php?title=Speci%C3%A1ln%C3%AD:Kniha&amp;bookcmd=sort_items\">Se\u0159adit abecedn\u011b</a>\n\t\t\t\t<a class=\"collection-clear\" href=\"/index.php?title=Speci%C3%A1ln%C3%AD:Kniha&amp;bookcmd=clear_collection\">Vy\u010distit knihu</a>\n\t\t\t\t\t</div>\n\n\t\t<div class=\"collection-create-chapter-list\">\n\n\t\t\t\t\t\t\t<div style=\"collection-create-chapter-list-text\">\n\t\t\t\t\t<em class=\"makeVisible\" style=\"display:none; font-size: 95%\">Po\u0159ad\u00ed \u010dl\u00e1nk\u016f a kapitol m\u016f\u017eete zm\u011bnit p\u0159et\u00e1hnut\u00edm my\u0161\u00ed</em>\n\t\t\t\t</div>\n\t\t\t\n\t\t\t<ul id=\"collectionList\">\n\n\t\t\t\t\t\t\t\t\t\t<li id=\"item-0\" class=\"chapter\">\n\t\t\t\t\t\t\t<a onclick=\"return coll_remove_item(0)\" href=\"/index.php?title=Speci%C3%A1ln%C3%AD:Kniha&amp;bookcmd=remove_item&amp;index%3D=0\" title=\"Odstranit\"><img src=\"/extensions/Collection/images/remove.png\" width=\"10\" height=\"10\" alt=\"Odstranit\" /></a>\n\t\t\t\t\t\t\t<noscript>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/extensions/Collection/images/trans.png\" width=\"10\" height=\"10\" alt=\"\" />\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/extensions/Collection/images/trans.png\" width=\"10\" height=\"10\" alt=\"\" />\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</noscript>\n\t\t\t\t\t\t\t<img src=\"/extensions/Collection/images/trans.png\" width=\"10\" height=\"10\" alt=\"\" />\n\t\t\t\t\t\t\t<strong class=\"title sortableitem\" style=\"margin-left: 0.2em;\">Test</strong>\n\t\t\t\t\t\t\t<a class=\"makeVisible\" style=\"display:none\" onclick=\"return coll_rename_chapter(0, &quot;Test&quot;)\" href=\"javascript:void(0)\">[P\u0159ejmenovat]</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t</ul>\n\n\t\t</div>\n\n\t\t",
        "collection": {
            "title": "",
            "subtitle": "",
            "settings": [],
            "items": [
                {
                    "type": "chapter",
                    "title": "Test"
                }
            ],
            "timestamp": "20251216133224"
        }
    }
}