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": "20211009204428|29",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 39,
                "ns": 6,
                "title": "Fichier:Rn-2.png",
                "pageid": 21,
                "logpage": 21,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Corentin",
                "timestamp": "2021-10-20T08:44:11Z",
                "comment": ""
            },
            {
                "logid": 38,
                "ns": 6,
                "title": "Fichier:Rn-2.png",
                "pageid": 21,
                "logpage": 21,
                "params": {
                    "img_sha1": "5sded9l295wrv3f9zy0hyjnuz2ln6u7",
                    "img_timestamp": "2021-10-20T08:44:11Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Corentin",
                "timestamp": "2021-10-20T08:44:11Z",
                "comment": ""
            },
            {
                "logid": 37,
                "ns": 6,
                "title": "Fichier:Rn-1.png",
                "pageid": 20,
                "logpage": 20,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Corentin",
                "timestamp": "2021-10-20T08:25:51Z",
                "comment": ""
            },
            {
                "logid": 36,
                "ns": 6,
                "title": "Fichier:Rn-1.png",
                "pageid": 20,
                "logpage": 20,
                "params": {
                    "img_sha1": "3ux8yvssfu18tp8wfryp9wwfkwk7sc7",
                    "img_timestamp": "2021-10-20T08:25:51Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Corentin",
                "timestamp": "2021-10-20T08:25:51Z",
                "comment": ""
            },
            {
                "logid": 35,
                "ns": 6,
                "title": "Fichier:Rn.png",
                "pageid": 19,
                "logpage": 19,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Corentin",
                "timestamp": "2021-10-20T07:54:09Z",
                "comment": ""
            },
            {
                "logid": 34,
                "ns": 6,
                "title": "Fichier:Rn.png",
                "pageid": 19,
                "logpage": 19,
                "params": {
                    "img_sha1": "iuk4e2wp344k7gn6rkg1xbqvqc47zvn",
                    "img_timestamp": "2021-10-20T07:54:08Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Corentin",
                "timestamp": "2021-10-20T07:54:08Z",
                "comment": ""
            },
            {
                "logid": 33,
                "ns": 0,
                "title": "React-native",
                "pageid": 18,
                "logpage": 18,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "91.183.120.130",
                "anon": "",
                "timestamp": "2021-10-20T07:31:38Z",
                "comment": "Page cr\u00e9\u00e9e avec \u00ab <strong>Bienvenue sur la page React-Native !</strong> Vous y trouverez comment pr\u00e9parer votre machine et cr\u00e9er votre premier projet !  __TOC__  =Pr\u00e9paration de la machi\u2026 \u00bb"
            },
            {
                "logid": 32,
                "ns": 2,
                "title": "Utilisateur:Corentin",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "interface-admin",
                        "sysop"
                    ],
                    "newgroups": [
                        "interface-admin",
                        "sysop",
                        "bureaucrat"
                    ],
                    "oldmetadata": [
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Thomas",
                "timestamp": "2021-10-20T07:13:11Z",
                "comment": ""
            },
            {
                "logid": 31,
                "ns": 2,
                "title": "Utilisateur:Corentin",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "sysop",
                        "interface-admin"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Thomas",
                "timestamp": "2021-10-20T07:12:45Z",
                "comment": ""
            },
            {
                "logid": 30,
                "ns": 2,
                "title": "Utilisateur:Corentin",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 4
                },
                "type": "newusers",
                "action": "create",
                "user": "Corentin",
                "timestamp": "2021-10-20T07:06:15Z",
                "comment": ""
            }
        ]
    }
}