Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML convient au débogage, mais est 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’informations.

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20240917125339|278",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 290,
                "ns": 2,
                "title": "Utilisateur:CoupDePuce",
                "pageid": 188,
                "logpage": 188,
                "params": {
                    "oldgroups": [
                        "bureaucrat"
                    ],
                    "newgroups": [
                        "sysop"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Lucie",
                "timestamp": "2024-09-27T13:18:37Z",
                "comment": ""
            },
            {
                "logid": 289,
                "ns": 2,
                "title": "Utilisateur:CoupDePuce",
                "pageid": 188,
                "logpage": 188,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "bureaucrat"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Lucie",
                "timestamp": "2024-09-20T14:51:05Z",
                "comment": ""
            },
            {
                "logid": 288,
                "ns": 0,
                "title": "Exemple",
                "pageid": 0,
                "logpage": 159,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Lucie",
                "timestamp": "2024-09-18T15:02:43Z",
                "comment": "contenait avant blanchiment \u00ab Page de test \u00bb"
            },
            {
                "logid": 285,
                "ns": 6,
                "title": "Fichier:Relecture en attente.jpg",
                "pageid": 203,
                "logpage": 203,
                "revid": 453,
                "params": {
                    "img_sha1": "r0ybdhfzr6wosus277dgx9dr0g1173h",
                    "img_timestamp": "2024-09-17T19:50:17Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Lucie",
                "timestamp": "2024-09-17T19:50:17Z",
                "comment": ""
            },
            {
                "logid": 284,
                "ns": 6,
                "title": "Fichier:Rappel previsualisation.JPG",
                "pageid": 206,
                "logpage": 206,
                "revid": 451,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Lucie",
                "timestamp": "2024-09-17T19:37:54Z",
                "comment": ""
            },
            {
                "logid": 283,
                "ns": 6,
                "title": "Fichier:Rappel previsualisation.JPG",
                "pageid": 206,
                "logpage": 206,
                "revid": 451,
                "params": {
                    "img_sha1": "8vs7lr92tk9lc1mdcxjrumelslyqsqs",
                    "img_timestamp": "2024-09-17T19:37:54Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Lucie",
                "timestamp": "2024-09-17T19:37:54Z",
                "comment": ""
            },
            {
                "logid": 282,
                "ns": 6,
                "title": "Fichier:Editeur visuel.jpg",
                "pageid": 185,
                "logpage": 185,
                "revid": 447,
                "params": {
                    "img_sha1": "kkabx1xglxb9z2iqgxhu7legqvsnggs",
                    "img_timestamp": "2024-09-17T17:18:29Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Lucie",
                "timestamp": "2024-09-17T17:18:29Z",
                "comment": ""
            },
            {
                "logid": 281,
                "ns": 6,
                "title": "Fichier:Sommaire.JPG",
                "pageid": 205,
                "logpage": 205,
                "revid": 446,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Lucie",
                "timestamp": "2024-09-17T17:10:52Z",
                "comment": ""
            },
            {
                "logid": 280,
                "ns": 6,
                "title": "Fichier:Sommaire.JPG",
                "pageid": 205,
                "logpage": 205,
                "revid": 446,
                "params": {
                    "img_sha1": "3605oa4c8spozdt7212mhvz8s3hpmlg",
                    "img_timestamp": "2024-09-17T17:10:52Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Lucie",
                "timestamp": "2024-09-17T17:10:52Z",
                "comment": ""
            },
            {
                "logid": 279,
                "ns": 6,
                "title": "Fichier:ZeroResultats.jpg",
                "pageid": 164,
                "logpage": 164,
                "revid": 444,
                "params": {
                    "img_sha1": "df7mby2lqc4j9m6287s2q6ee1bn9kpe",
                    "img_timestamp": "2024-09-17T12:56:55Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Lucie",
                "timestamp": "2024-09-17T12:56:55Z",
                "comment": ""
            }
        ]
    }
}