MediaWiki API result

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);\">Create chapter</a>\n\t\t\t\t\t\t\t<a class=\"collection-sort\" href=\"/w/index.php?title=Special:Book&amp;bookcmd=sort_items\">Sort alphabetically</a>\n\t\t\t\t<a class=\"collection-clear\" href=\"/w/index.php?title=Special:Book&amp;bookcmd=clear_collection\">Clear book</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%\">Use arrow buttons to reorder wiki pages and chapters</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=Special:Book&amp;bookcmd=remove_item&amp;index%3D=0\" title=\"Remove\"><img src=\"/w/extensions/Collection/images/remove.png\" width=\"10\" height=\"10\" alt=\"Remove\" /></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)\">[Rename]</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": "20240504120810"
        }
    }
}