MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "allrevisions": [
            {
                "pageid": 283,
                "revisions": [
                    {
                        "revid": 14374,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T17:55:24Z",
                        "comment": "Added page"
                    },
                    {
                        "revid": 14375,
                        "parentid": 14374,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T18:00:02Z",
                        "comment": "Added table"
                    },
                    {
                        "revid": 14376,
                        "parentid": 14375,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T18:11:10Z",
                        "comment": ""
                    },
                    {
                        "revid": 14377,
                        "parentid": 14376,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T18:54:11Z",
                        "comment": ""
                    },
                    {
                        "revid": 14400,
                        "parentid": 14377,
                        "minor": "",
                        "user": "Twinwoods",
                        "timestamp": "2020-09-15T15:12:43Z",
                        "comment": ""
                    },
                    {
                        "revid": 14401,
                        "parentid": 14400,
                        "minor": "",
                        "user": "Twinwoods",
                        "timestamp": "2020-09-15T15:14:50Z",
                        "comment": ""
                    },
                    {
                        "revid": 14403,
                        "parentid": 14401,
                        "user": "PJJvStrien",
                        "timestamp": "2024-03-04T17:47:42Z",
                        "comment": "Added information about the communications platform"
                    }
                ],
                "ns": 0,
                "title": "\u9996\u9875"
            },
            {
                "pageid": 284,
                "revisions": [
                    {
                        "revid": 14378,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T18:56:16Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c===\u9053\u8def\u985e\u578b=== {| class=\"wikitable\" |- !Waze Road Type \u9053\u8def\u7c7b\u578b !Road Shield \u8def\u76fe !ROAD NAME \u8def\u540d !Description \u8bf4\u660e |- |{{Freeway}} ||Expressway \u56fd\u5bb6\u2026\u201d"
                    },
                    {
                        "revid": 14379,
                        "parentid": 14378,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T18:58:44Z",
                        "comment": "/* \u9053\u8def\u985e\u578b */"
                    },
                    {
                        "revid": 14380,
                        "parentid": 14379,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T18:59:32Z",
                        "comment": "/* \u9053\u8def\u985e\u578b */"
                    },
                    {
                        "revid": 14381,
                        "parentid": 14380,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T18:59:55Z",
                        "comment": "/* \u9053\u8def\u985e\u578b */"
                    },
                    {
                        "revid": 14382,
                        "parentid": 14381,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:01:18Z",
                        "comment": "/* \u9053\u8def\u985e\u578b */"
                    },
                    {
                        "revid": 14384,
                        "parentid": 14382,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:02:55Z",
                        "comment": "/* \u9053\u8def\u985e\u578b */"
                    },
                    {
                        "revid": 14386,
                        "parentid": 14384,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:05:40Z",
                        "comment": "/* \u9053\u8def\u985e\u578b */"
                    },
                    {
                        "revid": 14397,
                        "parentid": 14386,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:12:36Z",
                        "comment": "/* \u9053\u8def\u985e\u578b */"
                    },
                    {
                        "revid": 14398,
                        "parentid": 14397,
                        "user": "BensonLicar",
                        "timestamp": "2020-07-25T00:40:53Z",
                        "comment": "\u88dc\u5145\u53f0\u7063\u9053\u8def\u985e\u578b\u8aaa\u660e"
                    }
                ],
                "ns": 0,
                "title": "\u9053\u8def\u7de8\u8f2f"
            },
            {
                "pageid": 285,
                "revisions": [
                    {
                        "revid": 14383,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:01:23Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #c677cf; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Fr\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "Template:Freeway"
            },
            {
                "pageid": 286,
                "revisions": [
                    {
                        "revid": 14385,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:03:05Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #b3bfb4; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Ra\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "Template:Ramp"
            },
            {
                "pageid": 287,
                "revisions": [
                    {
                        "revid": 14387,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:06:27Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #4bbad0; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Ma\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "Template:Major Highway"
            },
            {
                "pageid": 288,
                "revisions": [
                    {
                        "revid": 14388,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:06:46Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #69BF8B; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Mi\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "Template:Minor Highway"
            },
            {
                "pageid": 289,
                "revisions": [
                    {
                        "revid": 14389,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:07:06Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #69BF8B; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Mi\u2026\u201d"
                    },
                    {
                        "revid": 14390,
                        "parentid": 14389,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:07:28Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "Template:Primary Street"
            },
            {
                "pageid": 290,
                "revisions": [
                    {
                        "revid": 14391,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:07:55Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u0108<span style=\"color: black; background-color: #ffffec; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">\u2026\u201d"
                    },
                    {
                        "revid": 14392,
                        "parentid": 14391,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:08:02Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "Template:Street"
            },
            {
                "pageid": 291,
                "revisions": [
                    {
                        "revid": 14393,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:09:15Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #bdb971; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Pr\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "Template:Private Road"
            },
            {
                "pageid": 292,
                "revisions": [
                    {
                        "revid": 14394,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:09:36Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #ababab; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Pa\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "Template:Parking Lot Road"
            },
            {
                "pageid": 293,
                "revisions": [
                    {
                        "revid": 14395,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:09:48Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #857245; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Of\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "Template:Off-road / Not maintained"
            },
            {
                "pageid": 294,
                "revisions": [
                    {
                        "revid": 14396,
                        "parentid": 0,
                        "user": "J0kerNL",
                        "timestamp": "2020-03-16T19:09:56Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color: black; background-color: #657a9a; border:1px solid black; padding-left: 10px; padding-right: 10px; border-radius: 100px; white-space: nowrap;\">Na\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "Template:Narrow Street"
            },
            {
                "pageid": 295,
                "revisions": [
                    {
                        "revid": 14399,
                        "parentid": 0,
                        "user": "Twinwoods",
                        "timestamp": "2020-09-15T15:05:02Z",
                        "comment": "\u53f0\u7063 - \u7e41\u9ad4\u4e2d\u6587 Waze \u793e\u7fa4"
                    }
                ],
                "ns": 1,
                "title": "Talk:\u9996\u9875"
            },
            {
                "pageid": 296,
                "revisions": [
                    {
                        "revid": 14402,
                        "parentid": 0,
                        "user": "Maintenance script",
                        "timestamp": "2022-12-01T17:29:24Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Uploaddisabledtext"
            }
        ]
    }
}