MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "T19",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "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."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "45": {
                "pageid": 45,
                "ns": 0,
                "title": "RuRu7",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{\u793e\u54e1\u8cc7\u8a0a\u6846\n|name=\n|nickname=RuRu7\n|year=T22\n|jobs=\u526f\u793e\u9577\n|id=ArutoriaWhite\n}}\n\n==\u793e\u54e1\u7c21\u4ecb==\n\n==\u5c08\u9577==\n\n==\u8c50\u529f\u5049\u696d==\n\n==\u7d93\u6b77==\n* \u793e\u5718\u5c0f\u53ef\u611b"
                    }
                ]
            },
            "143": {
                "pageid": 143,
                "ns": 0,
                "title": "Shizunelen",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{\u793e\u54e1\u8cc7\u8a0a\u6846\n|name=[[\u8cf4\u51a0\u5b78]]\n|nickname=\n|year=[[T24]]\n|jobs=\u516c\u95dc\n|id=shizunelen\n}}\n\n==\u793e\u54e1\u7c21\u4ecb==\n'''\u8cf4\u51a0\u5b78'''\uff08ID\uff1a'''shizunelen'''\uff09\uff0c[[T24]][[\u958b\u767c\u7d44]][[\u793e\u54e1]]\uff0c\u66fe\u64d4\u4efb[[\u516c\u95dc]]\u3002\n\n==\u5c08\u9577==\n0\n\n==\u8c50\u529f\u5049\u696d==\n0\n\n==\u7d93\u6b77=="
                    }
                ]
            }
        }
    }
}