MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20191225150625|137",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "edit",
                "ns": 0,
                "title": "\u9996\u9875",
                "pageid": 1,
                "revid": 150,
                "old_revid": 148,
                "rcid": 147,
                "timestamp": "2023-06-15T06:00:14Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "Nginx",
                "pageid": 27,
                "revid": 149,
                "old_revid": 0,
                "rcid": 146,
                "timestamp": "2023-06-15T05:59:25Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u9996\u9875",
                "pageid": 1,
                "revid": 148,
                "old_revid": 143,
                "rcid": 145,
                "timestamp": "2023-01-13T09:45:34Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "Golang",
                "pageid": 26,
                "revid": 147,
                "old_revid": 146,
                "rcid": 144,
                "timestamp": "2023-01-13T09:40:20Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "Golang",
                "pageid": 26,
                "revid": 146,
                "old_revid": 145,
                "rcid": 143,
                "timestamp": "2023-01-13T09:31:09Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "Golang",
                "pageid": 26,
                "revid": 145,
                "old_revid": 0,
                "rcid": 142,
                "timestamp": "2023-01-13T09:30:15Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u529e\u4e8b",
                "pageid": 21,
                "revid": 144,
                "old_revid": 142,
                "rcid": 141,
                "timestamp": "2020-01-08T09:22:32Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u9996\u9875",
                "pageid": 1,
                "revid": 143,
                "old_revid": 140,
                "rcid": 140,
                "timestamp": "2020-01-08T09:19:10Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u529e\u4e8b",
                "pageid": 21,
                "revid": 142,
                "old_revid": 126,
                "rcid": 139,
                "timestamp": "2020-01-04T08:16:46Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "\u8def\u7531\u5668",
                "pageid": 25,
                "revid": 141,
                "old_revid": 0,
                "rcid": 138,
                "timestamp": "2019-12-28T06:11:10Z"
            }
        ]
    }
}