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": "20200731130331|58802",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 58812,
                "ns": 6,
                "title": "Fichier:Droitorgsml.JPG",
                "pageid": 154496,
                "logpage": 154496,
                "params": {
                    "img_sha1": "4lmddhatgimbwomhj0vkj8ppww6mhe5",
                    "img_timestamp": "2024-03-31T15:37:32Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gasnault59",
                "timestamp": "2024-03-31T15:37:32Z",
                "comment": ""
            },
            {
                "logid": 58811,
                "ns": 6,
                "title": "Fichier:Jmetavv.jpg",
                "pageid": 154472,
                "logpage": 154472,
                "params": {
                    "img_sha1": "elzgi1g2wpl65ze3k6k26s6g4ju10pw",
                    "img_timestamp": "2022-11-05T15:55:50Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gasnault59",
                "timestamp": "2022-11-05T15:55:50Z",
                "comment": ""
            },
            {
                "logid": 58810,
                "ns": 6,
                "title": "Fichier:Metaversjrcnx.jpg",
                "pageid": 154471,
                "logpage": 154471,
                "params": {
                    "img_sha1": "elzgi1g2wpl65ze3k6k26s6g4ju10pw",
                    "img_timestamp": "2022-11-05T15:54:18Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gasnault59",
                "timestamp": "2022-11-05T15:54:18Z",
                "comment": ""
            },
            {
                "logid": 58809,
                "ns": 6,
                "title": "Fichier:TwitterNew.jpg",
                "pageid": 154470,
                "logpage": 154470,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Gasnault59",
                "timestamp": "2022-11-05T14:43:49Z",
                "comment": "Ancienne version 20221105144336!TwitterNew.jpg supprim\u00e9e"
            },
            {
                "logid": 58808,
                "ns": 6,
                "title": "Fichier:TwitterNew.jpg",
                "pageid": 154470,
                "logpage": 154470,
                "params": {
                    "img_sha1": "7yiqy3qf92l1yyosvol1jos21m7l0pq",
                    "img_timestamp": "2022-11-05T14:43:36Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Gasnault59",
                "timestamp": "2022-11-05T14:43:36Z",
                "comment": ""
            },
            {
                "logid": 58807,
                "ns": 6,
                "title": "Fichier:TwitterNew.jpg",
                "pageid": 154470,
                "logpage": 154470,
                "params": {
                    "img_sha1": "5jlrt4tjil15znrogqq8bg3kf139jbl",
                    "img_timestamp": "2022-11-05T14:22:45Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gasnault59",
                "timestamp": "2022-11-05T14:22:45Z",
                "comment": ""
            },
            {
                "logid": 58806,
                "ns": 6,
                "title": "Fichier:AG juriconnexion.jpg",
                "pageid": 154460,
                "logpage": 154460,
                "params": {
                    "img_sha1": "fx687sjuxbaebidzjky14wshry8xzot",
                    "img_timestamp": "2022-04-12T08:29:05Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gasnault59",
                "timestamp": "2022-04-12T08:29:05Z",
                "comment": ""
            },
            {
                "logid": 58805,
                "ns": 6,
                "title": "Fichier:Courdecass-toutvoir1.jpg",
                "pageid": 154451,
                "logpage": 154451,
                "params": {
                    "img_sha1": "lzd8x5154nxmspuphi9ppdf1hi12tbs",
                    "img_timestamp": "2021-10-04T09:39:21Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gasnault59",
                "timestamp": "2021-10-04T09:39:21Z",
                "comment": "Le menu gauche des archives du site de la cour de cassation"
            },
            {
                "logid": 58804,
                "ns": 2,
                "title": "Utilisateur:Gasnault59",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bureaucrat"
                    ],
                    "newgroups": [
                        "bureaucrat",
                        "sysop"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Habett",
                "timestamp": "2020-07-31T13:06:25Z",
                "comment": ""
            },
            {
                "logid": 58803,
                "ns": 2,
                "title": "Utilisateur:Gasnault59",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "bureaucrat"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Habett",
                "timestamp": "2020-07-31T13:03:54Z",
                "comment": ""
            }
        ]
    }
}