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": "20180607173740|410",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 420,
                "ns": -1,
                "title": "Sp\u00e9cial:Interwiki",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "en",
                    "1": "https://demosdev.physics.uottawa.ca/w/index.php/$1",
                    "2": "0",
                    "3": "0"
                },
                "type": "interwiki",
                "action": "iw_edit",
                "user": "Ljacques",
                "timestamp": "2020-05-11T18:18:24Z",
                "comment": ""
            },
            {
                "logid": 419,
                "ns": -1,
                "title": "Sp\u00e9cial:Interwiki",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "en",
                    "1": "https://demosdev.physics.uottawa.ca/w/index.php/$1",
                    "2": "1",
                    "3": "1"
                },
                "type": "interwiki",
                "action": "iw_edit",
                "user": "Ljacques",
                "timestamp": "2020-05-11T17:58:19Z",
                "comment": ""
            },
            {
                "logid": 418,
                "ns": -1,
                "title": "Sp\u00e9cial:Interwiki",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "en",
                    "1": "https://demosdev.physics.uottawa.ca/w/index.php/$1",
                    "2": "0",
                    "3": "1"
                },
                "type": "interwiki",
                "action": "iw_edit",
                "user": "Ljacques",
                "timestamp": "2020-05-11T17:56:59Z",
                "comment": ""
            },
            {
                "logid": 417,
                "ns": -1,
                "title": "Sp\u00e9cial:Interwiki",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "en",
                    "1": "https://demosdev.physics.uottawa.ca/w/index.php/$1",
                    "2": "0",
                    "3": "0"
                },
                "type": "interwiki",
                "action": "iw_add",
                "user": "Ljacques",
                "timestamp": "2020-05-11T15:52:06Z",
                "comment": ""
            },
            {
                "logid": 416,
                "ns": -1,
                "title": "Sp\u00e9cial:Interwiki",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "fr"
                },
                "type": "interwiki",
                "action": "iw_delete",
                "user": "Ljacques",
                "timestamp": "2020-05-11T15:51:19Z",
                "comment": ""
            },
            {
                "logid": 415,
                "ns": -1,
                "title": "Sp\u00e9cial:Interwiki",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "fr",
                    "1": "https://demosdev.physique.uottawa.ca/w/index.php/$1",
                    "2": "0",
                    "3": "0"
                },
                "type": "interwiki",
                "action": "iw_add",
                "user": "Ljacques",
                "timestamp": "2020-05-11T15:50:17Z",
                "comment": ""
            },
            {
                "logid": 414,
                "ns": 6,
                "title": "Fichier:Updated logo 0.jpg",
                "pageid": 0,
                "logpage": 413,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Ljacques",
                "timestamp": "2020-04-27T20:34:39Z",
                "comment": ""
            },
            {
                "logid": 413,
                "ns": 6,
                "title": "Fichier:Updated logo 0.jpg",
                "pageid": 0,
                "logpage": 413,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Ljacques",
                "timestamp": "2020-04-27T20:33:26Z",
                "comment": ""
            },
            {
                "logid": 412,
                "ns": 6,
                "title": "Fichier:Updated logo 0.jpg",
                "pageid": 0,
                "logpage": 413,
                "params": {
                    "img_sha1": "22ml6fmqpyd5ra1rqebj1d4snn7kb5q",
                    "img_timestamp": "2020-04-27T20:33:26Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Ljacques",
                "timestamp": "2020-04-27T20:33:26Z",
                "comment": ""
            },
            {
                "logid": 411,
                "ns": 274,
                "title": "Widget:YouTube",
                "pageid": 16,
                "logpage": 16,
                "params": {
                    "curid": 1129,
                    "previd": 120,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Administrator",
                "timestamp": "2018-09-13T15:33:22Z",
                "comment": ""
            }
        ]
    }
}