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": "20221130065527|10",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 20,
                "ns": 2,
                "title": "Utilisateur:Pierre Morlon",
                "pageid": 1788,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "sysop"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Jacques Ducloy",
                "timestamp": "2023-03-09T13:50:05Z",
                "comment": ""
            },
            {
                "logid": 19,
                "ns": 6,
                "title": "Fichier:Parcage2.jpg",
                "pageid": 1528,
                "logpage": 1528,
                "params": {
                    "img_sha1": "el60mhciiy2g7fe1exdqmgsg7twpal6",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            },
            {
                "logid": 18,
                "ns": 6,
                "title": "Fichier:Bandeau MotsAgro.jpg",
                "pageid": 1300,
                "logpage": 1300,
                "params": {
                    "img_sha1": "lc4swbj2nv5wkoqerp29h9rsxs80r0e",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            },
            {
                "logid": 17,
                "ns": 6,
                "title": "Fichier:Champ exp bl\u00e9 Asillo 0178 de pr\u00e8s+100+15.jpg",
                "pageid": 1480,
                "logpage": 1480,
                "params": {
                    "img_sha1": "ncfpy8rmix9rr36rwghmdfltq7uwrzt",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            },
            {
                "logid": 16,
                "ns": 6,
                "title": "Fichier:Bandeau bas MotsAgro.jpg",
                "pageid": 1490,
                "logpage": 1490,
                "params": {
                    "img_sha1": "8ibub6cqrbd79534x8xjn76xp7damll",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            },
            {
                "logid": 15,
                "ns": 6,
                "title": "Fichier:Systeme agraire1.jpg",
                "pageid": 1526,
                "logpage": 1526,
                "params": {
                    "img_sha1": "0jigugilz0mnow1jkgnivqwb5y2wkaa",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            },
            {
                "logid": 14,
                "ns": 6,
                "title": "Fichier:Jach\u00e8re1.jpg",
                "pageid": 1529,
                "logpage": 1529,
                "params": {
                    "img_sha1": "3cwf8p9ru7syf7vdx5o3ryad8kuh3ab",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            },
            {
                "logid": 13,
                "ns": 6,
                "title": "Fichier:Mais teosinte aux hybrides2.jpg",
                "pageid": 1530,
                "logpage": 1530,
                "params": {
                    "img_sha1": "fw6b1t3eei0nqb4eyjfrj2ob7ol4vfi",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            },
            {
                "logid": 12,
                "ns": 6,
                "title": "Fichier:Mais teosinte aux hybrides7.jpg",
                "pageid": 1534,
                "logpage": 1534,
                "params": {
                    "img_sha1": "lctmgxl1023fk8pnlz1966nomfdtwhf",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            },
            {
                "logid": 11,
                "ns": 6,
                "title": "Fichier:Mais teosinte aux hybrides6.jpg",
                "pageid": 1533,
                "logpage": 1533,
                "params": {
                    "img_sha1": "076eeu2n1lqzcdetnawqqlh4vtybbqi",
                    "img_timestamp": "2022-11-30T06:55:27Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Maintenance script",
                "timestamp": "2022-11-30T06:55:27Z",
                "comment": ""
            }
        ]
    }
}