MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "usercontribs": [
            {
                "userid": 232278,
                "user": "Example",
                "pageid": 335920,
                "revid": 1076812,
                "parentid": 0,
                "ns": 6,
                "title": "File:Weeaboo.jpg",
                "timestamp": "2017-11-13T10:04:42Z",
                "new": "",
                "top": "",
                "comment": "[[\u5206\u7c7b:\u6539\u56fe]]\u6e90\u5730\u5740:http://knowyourmeme.com/memes/weeaboo",
                "size": 64,
                "moderation": {
                    "id": 1076812,
                    "status_code": 1,
                    "user_can_view": ""
                }
            },
            {
                "userid": 232278,
                "user": "Example",
                "pageid": 269134,
                "revid": 994190,
                "parentid": 0,
                "ns": 6,
                "title": "File:\u6d1b\u5929\u4f9d\u59d0\u8d35.jpg",
                "timestamp": "2017-05-13T13:37:13Z",
                "new": "",
                "top": "",
                "comment": "\u89c6\u9891\u5c01\u9762[[\u5206\u7c7b:\u6d1b\u5929\u4f9d]]",
                "size": 32,
                "moderation": {
                    "id": 994190,
                    "status_code": 1,
                    "user_can_view": ""
                }
            },
            {
                "userid": 232278,
                "user": "Example",
                "pageid": 197216,
                "revid": 883087,
                "parentid": 869576,
                "ns": 6,
                "title": "File:\u56fd\u4ea4.jpg",
                "timestamp": "2016-09-27T12:29:31Z",
                "minor": "",
                "comment": "",
                "size": 179,
                "moderation": {
                    "id": 883087,
                    "status_code": 4
                }
            },
            {
                "userid": 232278,
                "user": "Example",
                "pageid": 199180,
                "revid": 878469,
                "parentid": 0,
                "ns": 6,
                "title": "File:\u516b\u738b\u5b50.png",
                "timestamp": "2016-09-22T23:59:56Z",
                "new": "",
                "top": "",
                "comment": "[[\u5206\u7c7b:\u6539\u56fe]]",
                "size": 17,
                "moderation": {
                    "id": 878469,
                    "status_code": 1,
                    "user_can_view": ""
                }
            },
            {
                "userid": 232278,
                "user": "Example",
                "pageid": 195847,
                "revid": 862236,
                "parentid": 0,
                "ns": 6,
                "title": "File:Cookie.jpg",
                "timestamp": "2016-09-09T16:28:55Z",
                "new": "",
                "top": "",
                "comment": "[[\u5206\u7c7b:\u96fe\u96e8\u9b54\u7406\u6c99]][[\u5206\u7c7b:\u7231\u4e3d\u4e1d\u00b7\u739b\u683c\u7279\u7f57\u4f9d\u5fb7]][[\u5206\u7c7b:\u4e1c\u65b9\u5408\u540c\u52a8\u753b\u4f01\u753b]]",
                "size": 101,
                "moderation": {
                    "id": 862236,
                    "status_code": 1,
                    "user_can_view": ""
                }
            },
            {
                "userid": 232278,
                "user": "Example",
                "pageid": 195813,
                "revid": 862038,
                "parentid": 0,
                "ns": 6,
                "title": "File:YJ.jpg",
                "timestamp": "2016-09-09T12:25:22Z",
                "new": "",
                "top": "",
                "comment": "[[\u5206\u7c7b:\u91ce\u517d\u5148\u8f88\u5973\u5b50\u8bf4]]",
                "size": 32,
                "moderation": {
                    "id": 862038,
                    "status_code": 1,
                    "user_can_view": ""
                }
            },
            {
                "userid": 232278,
                "user": "Example",
                "pageid": 187815,
                "revid": 814839,
                "parentid": 0,
                "ns": 6,
                "title": "File:Ltx.jpg",
                "timestamp": "2016-08-03T11:15:37Z",
                "new": "",
                "top": "",
                "comment": "[[\u5206\u7c7b:\u4f5c\u8005:\u53f8\u767b]][[\u5206\u7c7b:\u5357\u5c0f\u9e1f]]",
                "size": 44,
                "moderation": {
                    "id": 814839,
                    "status_code": 1,
                    "user_can_view": ""
                }
            }
        ]
    }
}