Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML est bien pour le débogage, mais inapproprié pour être utilisé dans une application.

Spécifiez le paramètre format pour modifier le format de sortie. Pour voir la représentation non HTML du format JSON, mettez format=json.

Voir la documentation complète, ou l’ aide de l’API pour plus d’information.

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20180311225930|115",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 125,
                "ns": 2,
                "title": "Utilisateur:Wash9crab",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 7
                },
                "type": "newusers",
                "action": "create",
                "user": "Wash9crab",
                "timestamp": "2022-04-08T03:01:43Z",
                "comment": ""
            },
            {
                "logid": 124,
                "ns": 0,
                "title": "Missions Hydrodynamics",
                "pageid": 13,
                "logpage": 13,
                "params": {
                    "curid": 116,
                    "previd": 111,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Geeko",
                "timestamp": "2018-03-12T06:33:56Z",
                "comment": ""
            },
            {
                "logid": 123,
                "ns": 0,
                "title": "Design du Geekobot",
                "pageid": 12,
                "logpage": 12,
                "params": {
                    "curid": 115,
                    "previd": 114,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Geeko",
                "timestamp": "2018-03-11T23:25:16Z",
                "comment": ""
            },
            {
                "logid": 122,
                "ns": 0,
                "title": "Design du Geekobot",
                "pageid": 12,
                "logpage": 12,
                "params": {
                    "curid": 114,
                    "previd": 113,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Geeko",
                "timestamp": "2018-03-11T23:24:48Z",
                "comment": ""
            },
            {
                "logid": 121,
                "ns": 0,
                "title": "Design du Geekobot",
                "pageid": 12,
                "logpage": 12,
                "params": {
                    "curid": 113,
                    "previd": 100,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Geeko",
                "timestamp": "2018-03-11T23:24:35Z",
                "comment": ""
            },
            {
                "logid": 120,
                "ns": 6,
                "title": "Fichier:Geekobot-slow-res.gif",
                "pageid": 25,
                "logpage": 25,
                "params": {
                    "curid": 112,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Geeko",
                "timestamp": "2018-03-11T23:23:11Z",
                "comment": ""
            },
            {
                "logid": 119,
                "ns": 6,
                "title": "Fichier:Geekobot-slow-res.gif",
                "pageid": 25,
                "logpage": 25,
                "params": {
                    "img_sha1": "mtugqh5d22pjw6ukuri4qciqd3ktjc2",
                    "img_timestamp": "2018-03-11T23:23:11Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Geeko",
                "timestamp": "2018-03-11T23:23:11Z",
                "comment": "Vue anim\u00e9e du geekobot"
            },
            {
                "logid": 118,
                "ns": 6,
                "title": "Fichier:Geekobot-slow.gif",
                "pageid": 0,
                "logpage": 15,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Geeko",
                "timestamp": "2018-03-11T23:19:53Z",
                "comment": ""
            },
            {
                "logid": 117,
                "ns": 0,
                "title": "Missions Hydrodynamics",
                "pageid": 13,
                "logpage": 13,
                "params": {
                    "curid": 111,
                    "previd": 110,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Geeko",
                "timestamp": "2018-03-11T23:03:52Z",
                "comment": ""
            },
            {
                "logid": 116,
                "ns": 0,
                "title": "Missions Hydrodynamics",
                "pageid": 13,
                "logpage": 13,
                "params": {
                    "curid": 110,
                    "previd": 109,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Geeko",
                "timestamp": "2018-03-11T23:03:12Z",
                "comment": ""
            }
        ]
    }
}