MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "batchcomplete": "", "query": { "logevents": [ { "logid": 6, "ns": 2, "title": "\u7528\u6237:John", "pageid": 0, "logpage": 0, "params": { "userid": 7 }, "type": "newusers", "action": "create", "user": "John", "timestamp": "2025-04-04T07:40:41Z", "comment": "" }, { "logid": 5, "ns": 2, "title": "\u7528\u6237:TestUser", "pageid": 0, "logpage": 0, "params": { "userid": 6 }, "type": "newusers", "action": "create", "user": "TestUser", "timestamp": "2025-04-04T05:33:03Z", "comment": "" }, { "logid": 4, "ns": 2, "title": "\u7528\u6237:Alice", "pageid": 0, "logpage": 0, "params": { "userid": 5 }, "type": "newusers", "action": "create", "user": "Alice", "timestamp": "2025-04-04T05:20:11Z", "comment": "" }, { "logid": 3, "ns": 2, "title": "\u7528\u6237:MyName", "pageid": 0, "logpage": 0, "params": { "userid": 4 }, "type": "newusers", "action": "create", "user": "MyName", "timestamp": "2025-03-15T18:25:35Z", "comment": "" }, { "logid": 2, "ns": 2, "title": "\u7528\u6237:Hello", "pageid": 0, "logpage": 0, "params": { "userid": 3 }, "type": "newusers", "action": "create", "user": "Hello", "timestamp": "2025-03-15T18:25:35Z", "comment": "" }, { "logid": 1, "ns": 0, "title": "\u9996\u9875", "pageid": 1, "logpage": 1, "revid": 1, "params": {}, "type": "create", "action": "create", "user": "MediaWiki default", "timestamp": "2024-04-13T08:03:03Z", "comment": "" } ] } }