MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json

參見完整文件,或API說明以取得更多資訊。

{
    "error": {
        "code": "no-such-entity",
        "info": "\u29fcno-such-entity\u29fd",
        "messages": [
            {
                "name": "no-such-entity",
                "parameters": [
                    "Q42"
                ],
                "html": {
                    "*": "\u29fcno-such-entity\u29fd"
                }
            }
        ],
        "*": "See https://www.micropedia.uk/api.php for API usage. Subscribe 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."
    }
}