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": "20150321014535|997",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 1007,
                "ns": 2,
                "title": "Mpikambana:\u30c1\u30e7\u30b3\u30d0\u30c3\u30c8\u304f\u3093",
                "pageid": 1669,
                "logpage": 0,
                "params": {
                    "userid": 78
                },
                "type": "newusers",
                "action": "create",
                "user": "\u30c1\u30e7\u30b3\u30d0\u30c3\u30c8\u304f\u3093",
                "timestamp": "2018-02-12T09:22:59Z",
                "comment": ""
            },
            {
                "logid": 1006,
                "ns": 2,
                "title": "Mpikambana:Muxtar723",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 77
                },
                "type": "newusers",
                "action": "create",
                "user": "Muxtar723",
                "timestamp": "2018-01-13T15:32:15Z",
                "comment": ""
            },
            {
                "logid": 1005,
                "ns": 1,
                "title": "Dinika:Index.php",
                "pageid": 0,
                "logpage": 0,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Renan",
                "timestamp": "2015-07-26T19:46:38Z",
                "comment": "votoatiny: 'Hello I'm brand new here and just wanted to say hi. Send me a PM if you wanna chat sometime i'm available for conversations.'"
            },
            {
                "logid": 1004,
                "ns": 2,
                "title": "Mpikambana:212.235.107.123",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "1 year",
                    "flags": [
                        "anononly",
                        "nocreate"
                    ],
                    "expiry": "2016-07-26T19:46:18Z"
                },
                "type": "block",
                "action": "block",
                "user": "Renan",
                "timestamp": "2015-07-26T19:46:18Z",
                "comment": "Insertion de contenu sans aucun sens et de d\u00e9chets dans les pages"
            },
            {
                "logid": 1003,
                "ns": 2,
                "title": "Mpikambana:194.8.75.12",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "1 year",
                    "flags": [
                        "anononly",
                        "nocreate"
                    ],
                    "expiry": "2016-07-26T19:45:34Z"
                },
                "type": "block",
                "action": "block",
                "user": "Renan",
                "timestamp": "2015-07-26T19:45:34Z",
                "comment": "Insertion de contenu sans aucun sens et de d\u00e9chets dans les pages"
            },
            {
                "logid": 1002,
                "ns": 0,
                "title": "Fandraisana",
                "pageid": 1418,
                "logpage": 1418,
                "params": {
                    "curid": 2958,
                    "previd": 2950,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Renan",
                "timestamp": "2015-03-21T01:53:16Z",
                "comment": ""
            },
            {
                "logid": 1001,
                "ns": 10,
                "title": "Endrika:Toro-hevitra",
                "pageid": 1653,
                "logpage": 1653,
                "params": {
                    "description": "\u200e[edit=autoconfirmed] (tsiefa) \u200e[move=autoconfirmed] (tsiefa)"
                },
                "type": "protect",
                "action": "protect",
                "user": "Renan",
                "timestamp": "2015-03-21T01:47:30Z",
                "comment": ""
            },
            {
                "logid": 1000,
                "ns": 10,
                "title": "Endrika:Mahafantatra olona iray",
                "pageid": 1658,
                "logpage": 1658,
                "params": {
                    "description": "\u200e[edit=autoconfirmed] (tsiefa) \u200e[move=autoconfirmed] (tsiefa)"
                },
                "type": "protect",
                "action": "protect",
                "user": "Renan",
                "timestamp": "2015-03-21T01:47:14Z",
                "comment": ""
            },
            {
                "logid": 999,
                "ns": 10,
                "title": "Endrika:Hazavana ambonin'ny rakitra",
                "pageid": 1655,
                "logpage": 1655,
                "params": {
                    "description": "\u200e[edit=autoconfirmed] (tsiefa) \u200e[move=autoconfirmed] (tsiefa)"
                },
                "type": "protect",
                "action": "protect",
                "user": "Renan",
                "timestamp": "2015-03-21T01:46:43Z",
                "comment": ""
            },
            {
                "logid": 998,
                "ns": 10,
                "title": "Endrika:Hazavana ambonin'ny lahatsoratra",
                "pageid": 1657,
                "logpage": 1657,
                "params": {
                    "description": "\u200e[edit=autoconfirmed] (tsiefa) \u200e[move=autoconfirmed] (tsiefa)"
                },
                "type": "protect",
                "action": "protect",
                "user": "Renan",
                "timestamp": "2015-03-21T01:46:09Z",
                "comment": ""
            }
        ]
    }
}