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": "20210107075844|1261",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 1271,
                "ns": 0,
                "title": "Lex",
                "pageid": 1593,
                "logpage": 1493,
                "params": {
                    "target_ns": 0,
                    "target_title": "Lex (logiciel)"
                },
                "type": "move",
                "action": "move",
                "user": "Jacques Ducloy",
                "timestamp": "2023-07-21T13:09:19Z",
                "comment": ""
            },
            {
                "logid": 1270,
                "ns": -1,
                "title": "Sp\u00e9cial:Interwiki",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "wikipedia",
                    "1": "https://fr.wikipedia.org/wiki/$1",
                    "2": "0",
                    "3": "0"
                },
                "type": "interwiki",
                "action": "iw_edit",
                "user": "Jacques Ducloy",
                "timestamp": "2023-01-30T16:06:46Z",
                "comment": ""
            },
            {
                "logid": 1269,
                "ns": 6,
                "title": "Fichier:Mod\u00e8le Utilisateur.jpg",
                "pageid": 1375,
                "logpage": 1375,
                "params": {
                    "img_sha1": "tw5ir87cqvwtmmne5mbhkecd8g9xxap",
                    "img_timestamp": "2021-01-07T10:34:12Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2021-01-07T10:34:12Z",
                "comment": ""
            },
            {
                "logid": 1268,
                "ns": 6,
                "title": "Fichier:Enfantsromanov.png",
                "pageid": 1373,
                "logpage": 1373,
                "params": {
                    "img_sha1": "p5yiy7z7m9jmt6oizbrw9x5owf9fmnm",
                    "img_timestamp": "2021-01-07T10:34:12Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2021-01-07T10:34:12Z",
                "comment": ""
            },
            {
                "logid": 1267,
                "ns": 6,
                "title": "Fichier:Pr\u00e9visualisation Test.jpg",
                "pageid": 1376,
                "logpage": 1376,
                "params": {
                    "img_sha1": "trdjfzaxrcx1nt02ig9vqu11lhl44g2",
                    "img_timestamp": "2021-01-07T10:34:12Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2021-01-07T10:34:12Z",
                "comment": ""
            },
            {
                "logid": 1266,
                "ns": 6,
                "title": "Fichier:Redirection.jpg",
                "pageid": 1377,
                "logpage": 1377,
                "params": {
                    "img_sha1": "077jugkgt3hqt5k4weg3vvf8gfdyhyl",
                    "img_timestamp": "2021-01-07T10:34:12Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2021-01-07T10:34:12Z",
                "comment": ""
            },
            {
                "logid": 1265,
                "ns": 6,
                "title": "Fichier:Escalier.jpg",
                "pageid": 1374,
                "logpage": 1374,
                "params": {
                    "img_sha1": "73bwipbm73ju8toeblbhf426h01jw55",
                    "img_timestamp": "2021-01-07T10:34:11Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2021-01-07T10:34:11Z",
                "comment": ""
            },
            {
                "logid": 1264,
                "ns": 6,
                "title": "Fichier:Cat\u00e9gorie.jpg",
                "pageid": 1371,
                "logpage": 1371,
                "params": {
                    "img_sha1": "luasie1tyc3566hp9bbjpip68ogri5j",
                    "img_timestamp": "2021-01-07T10:34:11Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2021-01-07T10:34:11Z",
                "comment": ""
            },
            {
                "logid": 1263,
                "ns": 6,
                "title": "Fichier:Bas de page Utilisateur.jpg",
                "pageid": 1370,
                "logpage": 1370,
                "params": {
                    "img_sha1": "jmj45kffvqufaz061xnqq28i7h8egbu",
                    "img_timestamp": "2021-01-07T10:34:11Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2021-01-07T10:34:11Z",
                "comment": ""
            },
            {
                "logid": 1262,
                "ns": 6,
                "title": "Fichier:Cr\u00e9ation page Votre Nom.jpg",
                "pageid": 1372,
                "logpage": 1372,
                "params": {
                    "img_sha1": "46yrwkd3kgd5yn9cp0fnyeyhmvlmf82",
                    "img_timestamp": "2021-01-07T10:34:11Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2021-01-07T10:34:11Z",
                "comment": ""
            }
        ]
    }
}