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": "20190517095926|878",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 890,
                "ns": 2,
                "title": "Utilisateur:Rordinas",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "sysop",
                        "bureaucrat"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Lmirtain",
                "timestamp": "2020-09-23T12:05:45Z",
                "comment": ""
            },
            {
                "logid": 889,
                "ns": 2,
                "title": "Utilisateur:Rmichela",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "sysop"
                    ],
                    "newgroups": [
                        "bloqu\u00e9"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bloqu\u00e9",
                            "expiry": "2021-09-21T12:02:18Z"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Lmirtain",
                "timestamp": "2020-09-21T12:02:18Z",
                "comment": ""
            },
            {
                "logid": 888,
                "ns": 6,
                "title": "Fichier:Echelle de sensibilite.pdf",
                "pageid": 72,
                "logpage": 72,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Mvesin",
                "timestamp": "2020-01-24T12:30:27Z",
                "comment": ""
            },
            {
                "logid": 887,
                "ns": 6,
                "title": "Fichier:Echelle de sensibilite.pdf",
                "pageid": 72,
                "logpage": 72,
                "params": {
                    "img_sha1": "a5sqtywmfpl96jdpddwndjf6cq53wx9",
                    "img_timestamp": "2020-01-24T12:30:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Mvesin",
                "timestamp": "2020-01-24T12:30:27Z",
                "comment": ""
            },
            {
                "logid": 886,
                "ns": 6,
                "title": "Fichier:Uca.png",
                "pageid": 71,
                "logpage": 71,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Mvesin",
                "timestamp": "2019-11-25T17:40:20Z",
                "comment": ""
            },
            {
                "logid": 885,
                "ns": 6,
                "title": "Fichier:Uca.png",
                "pageid": 71,
                "logpage": 71,
                "params": {
                    "img_sha1": "oek9lipuq60ljqjdh3njvxn16nfncw1",
                    "img_timestamp": "2019-11-25T17:40:20Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Mvesin",
                "timestamp": "2019-11-25T17:40:20Z",
                "comment": ""
            },
            {
                "logid": 884,
                "ns": 6,
                "title": "Fichier:Inr logo roug coin.png",
                "pageid": 70,
                "logpage": 70,
                "params": {
                    "img_sha1": "dcgtml0zxj8gejdttwpdljtkc0jxub5",
                    "img_timestamp": "2019-05-17T12:53:40Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Mvesin",
                "timestamp": "2019-05-17T12:53:40Z",
                "comment": ""
            },
            {
                "logid": 883,
                "ns": 6,
                "title": "Fichier:Inr logo rouge.png",
                "pageid": 69,
                "logpage": 69,
                "params": {
                    "img_sha1": "to469imfwt65vefz61lqke0bieoo2ov",
                    "img_timestamp": "2019-05-17T12:50:36Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Mvesin",
                "timestamp": "2019-05-17T12:50:36Z",
                "comment": ""
            },
            {
                "logid": 880,
                "ns": 6,
                "title": "Fichier:Logo INRIA.gif",
                "pageid": 67,
                "logpage": 67,
                "params": {
                    "img_sha1": "l3xlanlmjge3u2x7gl9cdtdzev29j5r",
                    "img_timestamp": "2019-05-17T12:45:04Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Mvesin",
                "timestamp": "2019-05-17T12:45:04Z",
                "comment": ""
            },
            {
                "logid": 879,
                "ns": 6,
                "title": "Fichier:Logo INRIA coin.png",
                "pageid": 68,
                "logpage": 68,
                "params": {
                    "img_sha1": "l7ang6lj3u4mu8ytzjfozt89qguzhgg",
                    "img_timestamp": "2019-05-17T12:39:21Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Mvesin",
                "timestamp": "2019-05-17T12:39:21Z",
                "comment": ""
            }
        ]
    }
}