MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20210706093130|13",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "new",
                "ns": 112,
                "title": "smw/schema:Group:Predefined properties",
                "pageid": 94,
                "revid": 172,
                "old_revid": 0,
                "rcid": 98,
                "timestamp": "2022-03-14T16:31:48Z"
            },
            {
                "type": "new",
                "ns": 112,
                "title": "smw/schema:Group:Schema properties",
                "pageid": 93,
                "revid": 171,
                "old_revid": 0,
                "rcid": 97,
                "timestamp": "2022-03-14T16:31:47Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "Test2.json",
                "pageid": 92,
                "revid": 170,
                "old_revid": 169,
                "rcid": 96,
                "timestamp": "2021-07-15T08:06:16Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "Test2.json",
                "pageid": 92,
                "revid": 169,
                "old_revid": 168,
                "rcid": 95,
                "timestamp": "2021-07-15T08:04:17Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "Test2.json",
                "pageid": 92,
                "revid": 168,
                "old_revid": 0,
                "rcid": 94,
                "timestamp": "2021-07-15T08:03:56Z"
            },
            {
                "type": "log",
                "ns": 6,
                "title": "\u6587\u4ef6:\u9884\u7f6e\u5c0f\u56fe\u6807.png",
                "pageid": 91,
                "revid": 167,
                "old_revid": 0,
                "rcid": 18,
                "timestamp": "2021-07-06T09:31:32Z"
            },
            {
                "type": "log",
                "ns": 6,
                "title": "\u6587\u4ef6:\u9884\u7f6e\u56fe\u7247\u5165\u53e34.jpg",
                "pageid": 90,
                "revid": 166,
                "old_revid": 0,
                "rcid": 17,
                "timestamp": "2021-07-06T09:31:32Z"
            },
            {
                "type": "log",
                "ns": 6,
                "title": "\u6587\u4ef6:\u9884\u7f6e\u56fe\u7247\u5165\u53e33.jpg",
                "pageid": 89,
                "revid": 165,
                "old_revid": 0,
                "rcid": 16,
                "timestamp": "2021-07-06T09:31:31Z"
            },
            {
                "type": "log",
                "ns": 6,
                "title": "\u6587\u4ef6:\u9884\u7f6e\u56fe\u7247\u5165\u53e32.jpg",
                "pageid": 88,
                "revid": 164,
                "old_revid": 0,
                "rcid": 15,
                "timestamp": "2021-07-06T09:31:31Z"
            },
            {
                "type": "log",
                "ns": 6,
                "title": "\u6587\u4ef6:\u9884\u7f6e\u56fe\u7247\u5165\u53e31.jpg",
                "pageid": 87,
                "revid": 163,
                "old_revid": 0,
                "rcid": 14,
                "timestamp": "2021-07-06T09:31:30Z"
            }
        ]
    }
}