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.

{
    "warnings": {
        "main": {
            "*": "HTTP used when HTTPS was expected.\nSubscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        }
    },
    "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);\">Create chapter</a>\n\t\t\t\t\t\t\t<a onclick=\"return coll_sort_items()\" href=\"/wiki/index.php?title=Special:Book&amp;bookcmd=sort_items\">Sort alphabetically</a>\n\t\t\t\t<a onclick=\"return coll_clear_collection()\" href=\"/wiki/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 drag &amp; drop 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=\"/wiki/index.php?title=Special:Book&amp;bookcmd=remove_item&amp;index%3D=0\" title=\"Remove\"><img src=\"/wiki/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=\"/wiki/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=\"/wiki/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=\"/wiki/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": "20240430171317"
        }
    }
}