MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "batchcomplete": "", "query": { "logevents": [ { "logid": 6, "ns": 1, "title": "\u8ba8\u8bba:\u661f\u97f5\u5730\u7406\u9996\u9875", "pageid": 18, "logpage": 16, "params": { "target_ns": 0, "target_title": "\u661f\u97f5\u5730\u7406\u9996\u9875" }, "type": "move", "action": "move_redir", "user": "\u666f\u8363", "timestamp": "2020-12-03T05:51:36Z", "comment": "" }, { "logid": 5, "ns": 0, "title": "\u661f\u97f5\u5730\u7406\u9996\u9875", "pageid": 16, "logpage": 17, "params": {}, "type": "delete", "action": "delete_redir", "user": "\u666f\u8363", "timestamp": "2020-12-03T05:51:36Z", "comment": "\u5220\u9664\u4ee5\u4fbf\u79fb\u52a8[[\u8ba8\u8bba:\u661f\u97f5\u5730\u7406\u9996\u9875]]" }, { "logid": 4, "ns": 0, "title": "\u661f\u97f5\u5730\u7406\u9996\u9875", "pageid": 16, "logpage": 16, "params": { "target_ns": 1, "target_title": "\u8ba8\u8bba:\u661f\u97f5\u5730\u7406\u9996\u9875" }, "type": "move", "action": "move", "user": "\u666f\u8363", "timestamp": "2020-12-03T05:50:51Z", "comment": "" }, { "logid": 3, "ns": 6, "title": "\u6587\u4ef6:\u5927\u8fd0\u6cb3.jpeg", "pageid": 0, "logpage": 11, "params": {}, "type": "delete", "action": "delete", "user": "\u666f\u8363", "timestamp": "2020-12-02T15:50:01Z", "comment": "" }, { "logid": 2, "ns": 6, "title": "\u6587\u4ef6:\u5927\u8fd0\u6cb3.jpeg", "pageid": 0, "logpage": 11, "params": { "img_sha1": "39y0jbnbjxnysef08qkz0tl76heoa2a", "img_timestamp": "2020-12-02T09:26:10Z" }, "type": "upload", "action": "upload", "user": "\u666f\u836311", "timestamp": "2020-12-02T09:26:10Z", "comment": "\u6d4b\u8bd5\u6587\u4ef6" }, { "logid": 1, "ns": 2, "title": "\u7528\u6237:\u666f\u836311", "pageid": 0, "logpage": 0, "params": { "userid": 39588 }, "type": "newusers", "action": "create", "user": "\u666f\u836311", "timestamp": "2020-11-27T08:38:35Z", "comment": "" } ] } }