MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"continue": {
"gapcontinue": "Real-time",
"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": {
"838": {
"pageid": 838,
"ns": 0,
"title": "Read",
"revisions": [
{
"contentformat": "text/x-wiki",
"contentmodel": "wikitext",
"*": "{| class=\"wikitable\"\n|-\n| '''\u5927\u9678\u7c21\u9ad4''' || \n|-\n| '''\u5927\u9678\u7e41\u9ad4''' || \n|-\n| '''\u9999\u6e2f\u7e41\u9ad4''' || \n|-\n| '''\u53f0\u7063\u7e41\u9ad4''' || \u8b80\u53d6\n|-\n| '''\u5efa\u8b70\u7ffb\u8b6f''' || \n|}\n[[Category:\u7e3d\u7d22\u5f15]]"
}
]
},
"147": {
"pageid": 147,
"ns": 0,
"title": "Read-only",
"revisions": [
{
"contentformat": "text/x-wiki",
"contentmodel": "wikitext",
"*": "{| class=\"wikitable\"\n|-\n| '''\u5927\u9678\u7c21\u9ad4''' || \u53ea\u8bfb\n|-\n| '''\u5927\u9678\u7e41\u9ad4''' || \u53ea\u8b80\n|-\n| '''\u9999\u6e2f\u7e41\u9ad4''' || \n|-\n| '''\u53f0\u7063\u7e41\u9ad4''' || \u552f\u8b80\n|-\n| '''\u5efa\u8b70\u7ffb\u8b6f''' || \n|}\n[[Category:\u7e3d\u7d22\u5f15]]"
}
]
}
}
}
}