MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{ "batchcomplete": "", "continue": { "gapcontinue": "\u4e0d\u6eff(\u4eba\u72fc\u7269\u8a9e)", "continue": "gapcontinue||" }, "query": { "pages": { "2897": { "pageid": 2897, "ns": 0, "title": "TEST", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "touched": "2016-01-08T12:35:26Z", "lastrevid": 11524, "length": 0, "new": "" }, "152": { "pageid": 152, "ns": 0, "title": "Wiki\u7de8\u8f2f\u4f7f\u7528", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "touched": "2023-01-09T13:07:27Z", "lastrevid": 4308, "length": 5072, "new": "" }, "14": { "pageid": 14, "ns": 0, "title": "\u4e00\u822c&\u7279\u6b8a\u6751", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "touched": "2018-06-13T14:53:04Z", "lastrevid": 11926, "length": 223775 }, "480": { "pageid": 480, "ns": 0, "title": "\u4e01)\u57fa\u672c\u6751\u838a\u69cb\u6210(2)", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "touched": "2012-12-04T06:12:23Z", "lastrevid": 7111, "length": 33, "redirect": "", "new": "" } } } }