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": "20170803132048|552",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 562,
                "ns": 6,
                "title": "Fichier:Formulas.pdf",
                "pageid": 144,
                "logpage": 144,
                "params": {
                    "img_sha1": "n4obxjkvzgrbjzjqowpuvh9rx66aras",
                    "img_timestamp": "2019-06-28T06:07:35Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Marmot",
                "timestamp": "2019-06-28T06:07:35Z",
                "comment": ""
            },
            {
                "logid": 561,
                "ns": 6,
                "title": "Fichier:Formulas.pdf",
                "pageid": 144,
                "logpage": 144,
                "params": {
                    "img_sha1": "covwjjh1ok3emvrjf3x0j92b54lc5g9",
                    "img_timestamp": "2019-06-28T06:02:31Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Marmot",
                "timestamp": "2019-06-28T06:02:31Z",
                "comment": "Formulas helpful to realize the Lab at Rescom2019."
            },
            {
                "logid": 560,
                "ns": 0,
                "title": "Publications",
                "pageid": 93,
                "logpage": 93,
                "params": {
                    "curid": 709,
                    "previd": 708,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Ajm",
                "timestamp": "2017-08-29T15:53:45Z",
                "comment": ""
            },
            {
                "logid": 559,
                "ns": 0,
                "title": "Publications",
                "pageid": 93,
                "logpage": 93,
                "params": {
                    "curid": 708,
                    "previd": 707,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Ajm",
                "timestamp": "2017-08-29T15:50:42Z",
                "comment": ""
            },
            {
                "logid": 558,
                "ns": 0,
                "title": "Publications",
                "pageid": 93,
                "logpage": 93,
                "params": {
                    "curid": 707,
                    "previd": 706,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Ajm",
                "timestamp": "2017-08-29T15:44:30Z",
                "comment": ""
            },
            {
                "logid": 557,
                "ns": 0,
                "title": "Publications",
                "pageid": 93,
                "logpage": 93,
                "params": {
                    "curid": 706,
                    "previd": 705,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Ajm",
                "timestamp": "2017-08-24T15:03:33Z",
                "comment": ""
            },
            {
                "logid": 556,
                "ns": 0,
                "title": "Publications",
                "pageid": 93,
                "logpage": 93,
                "params": {
                    "curid": 705,
                    "previd": 704,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Ajm",
                "timestamp": "2017-08-24T15:01:32Z",
                "comment": ""
            },
            {
                "logid": 555,
                "ns": 0,
                "title": "Publications",
                "pageid": 93,
                "logpage": 93,
                "params": {
                    "curid": 704,
                    "previd": 703,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Ajm",
                "timestamp": "2017-08-24T14:58:04Z",
                "comment": ""
            },
            {
                "logid": 554,
                "ns": 0,
                "title": "Publications",
                "pageid": 93,
                "logpage": 93,
                "params": {
                    "curid": 703,
                    "previd": 702,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Ajm",
                "timestamp": "2017-08-24T14:56:52Z",
                "comment": ""
            },
            {
                "logid": 553,
                "ns": 0,
                "title": "Publications",
                "pageid": 93,
                "logpage": 93,
                "params": {
                    "curid": 702,
                    "previd": 608,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Ajm",
                "timestamp": "2017-08-24T14:55:46Z",
                "comment": ""
            }
        ]
    }
}