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": "20131013081849|50",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 60,
                "ns": 0,
                "title": "Fondation Sol y Luna Colombia",
                "pageid": 31,
                "logpage": 31,
                "params": {
                    "curid": 50,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Stewe",
                "timestamp": "2018-12-16T21:30:35Z",
                "comment": ""
            },
            {
                "logid": 59,
                "ns": 8,
                "title": "MediaWiki:Mainpage",
                "pageid": 11,
                "logpage": 11,
                "params": {
                    "curid": 49,
                    "previd": 12,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Stewe",
                "timestamp": "2018-12-16T21:29:15Z",
                "comment": ""
            },
            {
                "logid": 58,
                "ns": 2,
                "title": "Utilisateur:Susanna",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "5"
                },
                "type": "newusers",
                "action": "create2",
                "user": "Stewe",
                "timestamp": "2018-12-16T21:09:19Z",
                "comment": ""
            },
            {
                "logid": 57,
                "ns": 2,
                "title": "Utilisateur:Pablo",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "4"
                },
                "type": "newusers",
                "action": "create2",
                "user": "Stewe",
                "timestamp": "2018-12-16T21:04:31Z",
                "comment": ""
            },
            {
                "logid": 56,
                "ns": 0,
                "title": "Fondation Sol y Luna",
                "pageid": 12,
                "logpage": 12,
                "params": {
                    "curid": 48,
                    "previd": 46,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Aline",
                "timestamp": "2013-10-13T09:45:21Z",
                "comment": ""
            },
            {
                "logid": 55,
                "ns": 6,
                "title": "Fichier:UNAT2011Site.jpg",
                "pageid": 30,
                "logpage": 30,
                "params": {},
                "type": "upload",
                "action": "upload",
                "user": "Aline",
                "timestamp": "2013-10-13T09:39:30Z",
                "comment": ""
            },
            {
                "logid": 54,
                "ns": 6,
                "title": "Fichier:UNAT2011Site.jpg",
                "pageid": 30,
                "logpage": 0,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Aline",
                "timestamp": "2013-10-13T09:39:03Z",
                "comment": ""
            },
            {
                "logid": 53,
                "ns": 0,
                "title": "Fondation Sol y Luna",
                "pageid": 12,
                "logpage": 12,
                "params": {
                    "curid": 46,
                    "previd": 44,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Aline",
                "timestamp": "2013-10-13T08:22:45Z",
                "comment": ""
            },
            {
                "logid": 52,
                "ns": 6,
                "title": "Fichier:UNAT2011Site.jpg",
                "pageid": 30,
                "logpage": 29,
                "params": {},
                "type": "upload",
                "action": "upload",
                "user": "Aline",
                "timestamp": "2013-10-13T08:22:15Z",
                "comment": ""
            },
            {
                "logid": 51,
                "ns": 6,
                "title": "Fichier:UNAT2011Site.JPG",
                "pageid": 0,
                "logpage": 0,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Aline",
                "timestamp": "2013-10-13T08:20:31Z",
                "comment": ""
            }
        ]
    }
}