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": "20200510141613|73",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 83,
                "ns": 8,
                "title": "MediaWiki:Sidebar",
                "pageid": 69,
                "logpage": 69,
                "revid": 143,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Agentcobra",
                "timestamp": "2023-06-18T20:01:37Z",
                "comment": "ajout navigation Caraibes"
            },
            {
                "logid": 82,
                "ns": 2,
                "title": "Utilisateur:Agentcobra",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "sysop"
                    ],
                    "newgroups": [
                        "bureaucrat",
                        "sysop",
                        "interface-admin"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Agentcobra",
                "timestamp": "2023-06-18T18:02:34Z",
                "comment": ""
            },
            {
                "logid": 81,
                "ns": 0,
                "title": "Taverne",
                "pageid": 28,
                "logpage": 28,
                "params": {
                    "curid": 139,
                    "previd": 48,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Armand Pipelet",
                "timestamp": "2020-05-10T14:28:18Z",
                "comment": ""
            },
            {
                "logid": 80,
                "ns": 6,
                "title": "Fichier:Taverne.png",
                "pageid": 68,
                "logpage": 68,
                "params": {
                    "curid": 138,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Armand Pipelet",
                "timestamp": "2020-05-10T14:27:53Z",
                "comment": ""
            },
            {
                "logid": 79,
                "ns": 6,
                "title": "Fichier:Taverne.png",
                "pageid": 68,
                "logpage": 68,
                "revid": 138,
                "params": {
                    "img_sha1": "g7hg20huwgt2vk9pcnrw7cbegdveth5",
                    "img_timestamp": "2020-05-10T14:27:53Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Armand Pipelet",
                "timestamp": "2020-05-10T14:27:53Z",
                "comment": ""
            },
            {
                "logid": 78,
                "ns": 0,
                "title": "Docks",
                "pageid": 26,
                "logpage": 26,
                "params": {
                    "curid": 137,
                    "previd": 84,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Armand Pipelet",
                "timestamp": "2020-05-10T14:20:09Z",
                "comment": ""
            },
            {
                "logid": 77,
                "ns": 6,
                "title": "Fichier:Docks.png",
                "pageid": 67,
                "logpage": 67,
                "params": {
                    "curid": 136,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Armand Pipelet",
                "timestamp": "2020-05-10T14:19:49Z",
                "comment": ""
            },
            {
                "logid": 76,
                "ns": 6,
                "title": "Fichier:Docks.png",
                "pageid": 67,
                "logpage": 67,
                "revid": 136,
                "params": {
                    "img_sha1": "2hiflxcvm6thphw0evc3rfsnpt7lavu",
                    "img_timestamp": "2020-05-10T14:19:48Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Armand Pipelet",
                "timestamp": "2020-05-10T14:19:48Z",
                "comment": ""
            },
            {
                "logid": 75,
                "ns": 6,
                "title": "Fichier:Docks.jpg",
                "pageid": 0,
                "logpage": 40,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Armand Pipelet",
                "timestamp": "2020-05-10T14:17:42Z",
                "comment": "plantage"
            },
            {
                "logid": 74,
                "ns": 0,
                "title": "Bas Fonds",
                "pageid": 18,
                "logpage": 18,
                "params": {
                    "curid": 135,
                    "previd": 49,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Armand Pipelet",
                "timestamp": "2020-05-10T14:16:30Z",
                "comment": ""
            }
        ]
    }
}