MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20190324152849|11",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "edit",
                "ns": 0,
                "title": "\u804a\u804a\u201c\u50ac\u7720\u201d\u7684\u8bdd\u9898.\u270e\u1dbb\u02e2\u1d34\u1d40\u5eab",
                "pageid": 3,
                "revid": 21,
                "old_revid": 20,
                "rcid": 21,
                "timestamp": "2019-04-04T03:36:35Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u804a\u804a\u201c\u50ac\u7720\u201d\u7684\u8bdd\u9898.\u270e\u1dbb\u02e2\u1d34\u1d40\u5eab",
                "pageid": 3,
                "revid": 20,
                "old_revid": 19,
                "rcid": 20,
                "timestamp": "2019-04-04T03:36:26Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u804a\u804a\u201c\u50ac\u7720\u201d\u7684\u8bdd\u9898.\u270e\u1dbb\u02e2\u1d34\u1d40\u5eab",
                "pageid": 3,
                "revid": 19,
                "old_revid": 18,
                "rcid": 19,
                "timestamp": "2019-04-04T03:05:20Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u804a\u804a\u201c\u50ac\u7720\u201d\u7684\u8bdd\u9898.\u270e\u1dbb\u02e2\u1d34\u1d40\u5eab",
                "pageid": 3,
                "revid": 18,
                "old_revid": 14,
                "rcid": 18,
                "timestamp": "2019-04-04T02:51:10Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Vies",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 17,
                "timestamp": "2019-03-26T10:39:11Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "\u79c1\u4eba\u8bdd\u9898\u5e93\u306e\u1d34\u1d40\u5eab\u1d9c",
                "pageid": 7,
                "revid": 17,
                "old_revid": 0,
                "rcid": 16,
                "timestamp": "2019-03-25T14:57:27Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "\u627e\u8bdd\u9898\u5b9e\u9a8c\u5ba4\u306e\u1d34\u1d40\u5eab\u1d9c",
                "pageid": 6,
                "revid": 16,
                "old_revid": 0,
                "rcid": 15,
                "timestamp": "2019-03-25T12:49:36Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u5218\u5fb7\u534e\u306e\u1d34\u1d40\u5eab\u1d56",
                "pageid": 5,
                "revid": 15,
                "old_revid": 9,
                "rcid": 14,
                "timestamp": "2019-03-25T09:17:46Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u804a\u804a\u201c\u50ac\u7720\u201d\u7684\u8bdd\u9898.\u270e\u1dbb\u02e2\u1d34\u1d40\u5eab",
                "pageid": 3,
                "revid": 14,
                "old_revid": 13,
                "rcid": 13,
                "timestamp": "2019-03-25T08:12:08Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u804a\u804a\u201c\u50ac\u7720\u201d\u7684\u8bdd\u9898.\u270e\u1dbb\u02e2\u1d34\u1d40\u5eab",
                "pageid": 3,
                "revid": 13,
                "old_revid": 7,
                "rcid": 12,
                "timestamp": "2019-03-25T08:05:03Z"
            }
        ]
    }
}