MediaWiki API 結果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "batchcomplete": "", "continue": { "lecontinue": "20160906020417|2238", "continue": "-||" }, "query": { "logevents": [ { "logid": 2248, "ns": 0, "title": "\u8ab2\u7a0b:\u8cc7\u8a0a\u5b89\u5168", "pageid": 358, "logpage": 358, "params": { "curid": 2459, "previd": 2451, "auto": "" }, "type": "patrol", "action": "autopatrol", "user": "Wells", "timestamp": "2021-02-25T23:33:51Z", "comment": "" }, { "logid": 2247, "ns": 0, "title": "\u7db2\u8def\u6982\u8ad6", "pageid": 839, "logpage": 839, "params": { "curid": 2458, "previd": 2037, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-13T06:54:46Z", "comment": "" }, { "logid": 2246, "ns": 0, "title": "\u8ab2\u7a0b:\u7a0b\u5f0f\u8a2d\u8a08", "pageid": 212, "logpage": 212, "params": { "curid": 2457, "previd": 2039, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-13T06:54:29Z", "comment": "" }, { "logid": 2245, "ns": 0, "title": "\u8ab2\u7a0b:\u4f5c\u696d\u7cfb\u7d71", "pageid": 875, "logpage": 875, "params": { "curid": 2456, "previd": 2334, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-13T06:54:00Z", "comment": "" }, { "logid": 2244, "ns": 0, "title": "\u8ab2\u7a0b\uff1a\u7ba1\u7406\u5c08\u696d\u82f1\u6587", "pageid": 829, "logpage": 829, "params": { "curid": 2455, "previd": 2454, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-13T06:53:17Z", "comment": "" }, { "logid": 2243, "ns": 0, "title": "\u8ab2\u7a0b\uff1a\u7ba1\u7406\u5c08\u696d\u82f1\u6587", "pageid": 829, "logpage": 829, "params": { "curid": 2454, "previd": 2453, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-13T06:52:38Z", "comment": "" }, { "logid": 2242, "ns": 0, "title": "\u8ab2\u7a0b\uff1a\u7ba1\u7406\u5c08\u696d\u82f1\u6587", "pageid": 829, "logpage": 829, "params": { "curid": 2453, "previd": 2324, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-13T06:52:15Z", "comment": "" }, { "logid": 2241, "ns": 0, "title": "\u8ab2\u7a0b\uff1a\u8cc7\u6599\u5eab\u7ba1\u7406", "pageid": 868, "logpage": 868, "params": { "curid": 2452, "previd": 2278, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-13T06:51:24Z", "comment": "" }, { "logid": 2240, "ns": 0, "title": "\u8ab2\u7a0b:\u8cc7\u8a0a\u5b89\u5168", "pageid": 358, "logpage": 358, "params": { "curid": 2451, "previd": 2378, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-13T06:50:46Z", "comment": "" }, { "logid": 2239, "ns": 0, "title": "\u8ab2\u7a0b:\u5275\u610f3D\u5217\u5370\u5be6\u52d9", "pageid": 880, "logpage": 880, "params": { "curid": 2450, "previd": 2449, "auto": "" }, "type": "patrol", "action": "patrol", "user": "Wells", "timestamp": "2016-09-06T02:05:07Z", "comment": "" } ] } }