Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML est utile 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.

Voyez la documentation complète, ou l’aide de l’API pour plus d’information.

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20111227061556|110",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2011-08-05T09:54:39Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "Main Page"
            },
            {
                "pageid": 2,
                "revisions": [
                    {
                        "revid": 2,
                        "parentid": 0,
                        "user": "Admin",
                        "timestamp": "2011-12-18T12:11:48Z",
                        "comment": "Page cr\u00e9\u00e9e avec \u00ab Bonjour,  Vous \u00eates sur la page d'accueil du wiki d'OpenTruc.fr \u00bb"
                    },
                    {
                        "revid": 3,
                        "parentid": 2,
                        "user": "Admin",
                        "timestamp": "2011-12-18T16:14:22Z",
                        "comment": ""
                    },
                    {
                        "revid": 4,
                        "parentid": 3,
                        "user": "Admin",
                        "timestamp": "2011-12-18T16:27:18Z",
                        "comment": ""
                    },
                    {
                        "revid": 5,
                        "parentid": 4,
                        "user": "Admin",
                        "timestamp": "2011-12-18T16:28:15Z",
                        "comment": ""
                    },
                    {
                        "revid": 6,
                        "parentid": 5,
                        "user": "Admin",
                        "timestamp": "2011-12-18T16:53:09Z",
                        "comment": ""
                    },
                    {
                        "revid": 7,
                        "parentid": 6,
                        "user": "Admin",
                        "timestamp": "2011-12-18T16:54:42Z",
                        "comment": ""
                    },
                    {
                        "revid": 10,
                        "parentid": 7,
                        "user": "Admin",
                        "timestamp": "2011-12-18T16:59:25Z",
                        "comment": ""
                    },
                    {
                        "revid": 12,
                        "parentid": 10,
                        "user": "Admin",
                        "timestamp": "2011-12-18T17:02:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 13,
                        "parentid": 12,
                        "user": "Admin",
                        "timestamp": "2011-12-18T17:06:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 23,
                        "parentid": 13,
                        "user": "Admin",
                        "timestamp": "2011-12-19T07:17:44Z",
                        "comment": ""
                    },
                    {
                        "revid": 24,
                        "parentid": 23,
                        "user": "Admin",
                        "timestamp": "2011-12-19T07:18:31Z",
                        "comment": ""
                    },
                    {
                        "revid": 25,
                        "parentid": 24,
                        "user": "Admin",
                        "timestamp": "2011-12-20T09:17:37Z",
                        "comment": ""
                    },
                    {
                        "revid": 26,
                        "parentid": 25,
                        "user": "Admin",
                        "timestamp": "2011-12-20T09:25:17Z",
                        "comment": "/* Contact */"
                    },
                    {
                        "revid": 28,
                        "parentid": 26,
                        "user": "Admin",
                        "timestamp": "2011-12-20T16:22:20Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 28,
                        "user": "Admin",
                        "timestamp": "2011-12-20T16:34:10Z",
                        "comment": ""
                    },
                    {
                        "revid": 36,
                        "parentid": 32,
                        "user": "Admin",
                        "timestamp": "2011-12-20T18:48:20Z",
                        "comment": ""
                    },
                    {
                        "revid": 54,
                        "parentid": 36,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T07:41:15Z",
                        "comment": ""
                    },
                    {
                        "revid": 55,
                        "parentid": 54,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T07:41:55Z",
                        "comment": ""
                    },
                    {
                        "revid": 65,
                        "parentid": 55,
                        "user": "Admin",
                        "timestamp": "2011-12-25T11:05:59Z",
                        "comment": ""
                    },
                    {
                        "revid": 66,
                        "parentid": 65,
                        "user": "Admin",
                        "timestamp": "2011-12-25T11:06:58Z",
                        "comment": "/* Pages disponibles */"
                    },
                    {
                        "revid": 78,
                        "parentid": 66,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T07:40:40Z",
                        "comment": ""
                    },
                    {
                        "revid": 79,
                        "parentid": 78,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T07:42:16Z",
                        "comment": ""
                    },
                    {
                        "revid": 80,
                        "parentid": 79,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T07:45:19Z",
                        "comment": ""
                    },
                    {
                        "revid": 86,
                        "parentid": 80,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T11:44:12Z",
                        "comment": ""
                    },
                    {
                        "revid": 92,
                        "parentid": 86,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T12:11:52Z",
                        "comment": "/* Pages disponibles */"
                    },
                    {
                        "revid": 93,
                        "parentid": 92,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T15:37:55Z",
                        "comment": ""
                    },
                    {
                        "revid": 94,
                        "parentid": 93,
                        "user": "Test",
                        "timestamp": "2011-12-26T16:51:47Z",
                        "comment": ""
                    },
                    {
                        "revid": 95,
                        "parentid": 94,
                        "user": "Admin",
                        "timestamp": "2011-12-26T17:28:23Z",
                        "comment": "/* Liens utiles actuellement ! */"
                    },
                    {
                        "revid": 97,
                        "parentid": 95,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T17:32:28Z",
                        "comment": "/* Pages disponibles */"
                    },
                    {
                        "revid": 103,
                        "parentid": 97,
                        "minor": "",
                        "user": "Admin",
                        "timestamp": "2011-12-27T05:51:20Z",
                        "comment": "A prot\u00e9g\u00e9 \u00ab [[Accueil]] \u00bb: Page admin ([edit=sysop] (infini) [move=sysop] (infini))"
                    },
                    {
                        "revid": 106,
                        "parentid": 103,
                        "minor": "",
                        "user": "Admin",
                        "timestamp": "2011-12-27T05:57:54Z",
                        "comment": "/* Pages disponibles */"
                    },
                    {
                        "revid": 109,
                        "parentid": 106,
                        "minor": "",
                        "user": "Admin",
                        "timestamp": "2011-12-27T06:07:21Z",
                        "comment": "/* Pages disponibles */"
                    }
                ],
                "ns": 0,
                "title": "Accueil"
            },
            {
                "pageid": 7,
                "revisions": [
                    {
                        "revid": 37,
                        "parentid": 0,
                        "user": "Admin",
                        "timestamp": "2011-12-21T08:35:53Z",
                        "comment": "Page cr\u00e9\u00e9e avec \u00ab   == Libert\u00e9 et Brevets ==  Mots-cl\u00e9s : patent trolls, innovation   == Liens == Les brevets freinent-ils l'innovation ? (article int\u00e9ressant)  http://www.paristechreview.c... \u00bb"
                    },
                    {
                        "revid": 46,
                        "parentid": 37,
                        "user": "193.251.198.132",
                        "anon": "",
                        "timestamp": "2011-12-22T16:31:11Z",
                        "comment": ""
                    },
                    {
                        "revid": 47,
                        "parentid": 46,
                        "user": "193.251.198.132",
                        "anon": "",
                        "timestamp": "2011-12-22T16:52:21Z",
                        "comment": ""
                    },
                    {
                        "revid": 49,
                        "parentid": 47,
                        "user": "193.251.198.132",
                        "anon": "",
                        "timestamp": "2011-12-23T08:36:35Z",
                        "comment": ""
                    },
                    {
                        "revid": 50,
                        "parentid": 49,
                        "user": "193.251.198.132",
                        "anon": "",
                        "timestamp": "2011-12-23T09:06:34Z",
                        "comment": ""
                    },
                    {
                        "revid": 53,
                        "parentid": 50,
                        "user": "193.251.198.132",
                        "anon": "",
                        "timestamp": "2011-12-23T14:40:04Z",
                        "comment": "/* Liens Obsolescence programm\u00e9e */"
                    },
                    {
                        "revid": 56,
                        "parentid": 53,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T07:43:57Z",
                        "comment": "/* Liens Brevets */"
                    },
                    {
                        "revid": 57,
                        "parentid": 56,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T07:53:35Z",
                        "comment": "/* Liens Brevets */"
                    },
                    {
                        "revid": 58,
                        "parentid": 57,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T07:57:17Z",
                        "comment": "/* Liens Brevets */"
                    },
                    {
                        "revid": 59,
                        "parentid": 58,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T07:59:02Z",
                        "comment": "/* Liens Brevets */"
                    },
                    {
                        "revid": 60,
                        "parentid": 59,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T07:59:59Z",
                        "comment": "/* Liens Brevets */"
                    },
                    {
                        "revid": 61,
                        "parentid": 60,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T08:42:34Z",
                        "comment": "/* Liens Brevets */"
                    },
                    {
                        "revid": 62,
                        "parentid": 61,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-25T08:46:59Z",
                        "comment": "/* Vrac */"
                    },
                    {
                        "revid": 77,
                        "parentid": 62,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T06:18:43Z",
                        "comment": "/* Liens Brevets */"
                    },
                    {
                        "revid": 87,
                        "parentid": 77,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T11:46:47Z",
                        "comment": "/* Liens Brevets */"
                    },
                    {
                        "revid": 88,
                        "parentid": 87,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T11:48:05Z",
                        "comment": "/* Retour */"
                    },
                    {
                        "revid": 102,
                        "parentid": 88,
                        "user": "193.251.198.134",
                        "anon": "",
                        "timestamp": "2011-12-26T21:47:48Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "Libert\u00e9EtBrevets"
            }
        ]
    }
}