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": "20200210073841|1440",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 1450,
                "ns": 0,
                "title": "Accueil",
                "pageid": 1,
                "logpage": 1,
                "params": {
                    "curid": 995,
                    "previd": 994,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-04T12:25:35Z",
                "comment": ""
            },
            {
                "logid": 1449,
                "ns": 0,
                "title": "Accueil",
                "pageid": 1,
                "logpage": 1,
                "params": {
                    "curid": 994,
                    "previd": 984,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-04T12:17:57Z",
                "comment": ""
            },
            {
                "logid": 1448,
                "ns": 0,
                "title": "2020-03-30",
                "pageid": 619,
                "logpage": 619,
                "params": {
                    "curid": 993,
                    "previd": 992,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-04T11:59:29Z",
                "comment": ""
            },
            {
                "logid": 1447,
                "ns": 0,
                "title": "2020-03-30",
                "pageid": 619,
                "logpage": 619,
                "params": {
                    "curid": 992,
                    "previd": 991,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-03T16:10:27Z",
                "comment": ""
            },
            {
                "logid": 1446,
                "ns": 0,
                "title": "2020-03-30",
                "pageid": 619,
                "logpage": 619,
                "params": {
                    "curid": 991,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-03T16:10:00Z",
                "comment": ""
            },
            {
                "logid": 1445,
                "ns": 0,
                "title": "2020-03-31",
                "pageid": 618,
                "logpage": 618,
                "params": {
                    "curid": 990,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-03T15:39:24Z",
                "comment": ""
            },
            {
                "logid": 1444,
                "ns": 0,
                "title": "2020-04-01",
                "pageid": 617,
                "logpage": 617,
                "params": {
                    "curid": 989,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-03T15:39:14Z",
                "comment": ""
            },
            {
                "logid": 1443,
                "ns": 0,
                "title": "2020-04-02",
                "pageid": 616,
                "logpage": 616,
                "params": {
                    "curid": 988,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-03T15:39:06Z",
                "comment": ""
            },
            {
                "logid": 1442,
                "ns": 0,
                "title": "2020-04-03",
                "pageid": 615,
                "logpage": 615,
                "params": {
                    "curid": 987,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-03T15:19:04Z",
                "comment": ""
            },
            {
                "logid": 1441,
                "ns": 10,
                "title": "Mod\u00e8le:Journalier",
                "pageid": 614,
                "logpage": 614,
                "params": {
                    "curid": 986,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Boulangerbenoit",
                "timestamp": "2020-04-03T15:18:50Z",
                "comment": ""
            }
        ]
    }
}