MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20210122134435|1381",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "edit",
                "ns": 0,
                "title": "\u7ea2\u5b57\u5c5e\u6027\u6548\u679c",
                "pageid": 167,
                "revid": 1267,
                "old_revid": 1266,
                "rcid": 1391,
                "timestamp": "2021-09-28T02:53:43Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:3098787647",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 1390,
                "timestamp": "2021-09-28T02:46:37Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:\u7761\u4e0d\u9192",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 1389,
                "timestamp": "2021-09-11T05:06:59Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u7ea2\u5b57\u5c5e\u6027\u6548\u679c",
                "pageid": 167,
                "revid": 1266,
                "old_revid": 1265,
                "rcid": 1388,
                "timestamp": "2021-05-14T22:00:18Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Koke",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 1387,
                "timestamp": "2021-05-14T21:42:47Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Laomo",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 1386,
                "timestamp": "2021-02-26T06:55:10Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u7ea2\u5b57\u5c5e\u6027\u6548\u679c",
                "pageid": 167,
                "revid": 1265,
                "old_revid": 1264,
                "rcid": 1385,
                "timestamp": "2021-02-12T05:35:21Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u7ea2\u5b57\u5c5e\u6027\u6548\u679c",
                "pageid": 167,
                "revid": 1264,
                "old_revid": 1263,
                "rcid": 1384,
                "timestamp": "2021-01-28T02:47:40Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u7ea2\u5b57\u5c5e\u6027\u6548\u679c",
                "pageid": 167,
                "revid": 1263,
                "old_revid": 1262,
                "rcid": 1383,
                "timestamp": "2021-01-28T02:13:57Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u7ea2\u5b57\u5c5e\u6027\u6548\u679c",
                "pageid": 167,
                "revid": 1262,
                "old_revid": 1261,
                "rcid": 1382,
                "timestamp": "2021-01-22T13:55:41Z"
            }
        ]
    }
}