MediaWiki-API-Ergebnis

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\" style=\" display:none;\" onclick=\"return coll_create_chapter()\" href=\"javascript:void(0);\">Kapitel erzeugen</a>\n\t\t\t\t\t\t\t<a onclick=\"return coll_sort_items()\" href=\"/w/index.php?title=Spezial:Buch&amp;bookcmd=sort_items\">Alphabetisch sortieren</a>\n\t\t\t\t<a onclick=\"return coll_clear_collection()\" href=\"/w/index.php?title=Spezial:Buch&amp;bookcmd=clear_collection\">Buch l\u00f6schen</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%\">Mit der Maus kannst du Wikiseiten und Kapitel verschieben, um deren Reihenfolge zu \u00e4ndern.</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=\"/w/index.php?title=Spezial:Buch&amp;bookcmd=remove_item&amp;index%3D=0\" title=\"Entfernen\"><img src=\"/w/extensions/Collection/images/remove.png\" width=\"10\" height=\"10\" alt=\"Entfernen\" /></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=\"/w/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=\"/w/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=\"/w/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)\">[Umbenennen]</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": "20240511140632"
        }
    }
}