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": {
        "gaicontinue": "Encyclopedie_small.jpg",
        "continue": "gaicontinue||"
    },
    "query": {
        "pages": {
            "183": {
                "pageid": 183,
                "ns": 6,
                "title": "Fichier:ADN.jpg"
            },
            "162": {
                "pageid": 162,
                "ns": 6,
                "title": "Fichier:Albert Einstein 1947.jpg"
            },
            "351": {
                "pageid": 351,
                "ns": 6,
                "title": "Fichier:Boutiques de sciences.pdf"
            },
            "346": {
                "pageid": 346,
                "ns": 6,
                "title": "Fichier:Caf\u00e9 scientifique - avril 2011 0000 Layer 16.jpg"
            },
            "345": {
                "pageid": 345,
                "ns": 6,
                "title": "Fichier:Caf\u00e9 scientifique - avril 2011 0007 Layer 9.jpg"
            },
            "344": {
                "pageid": 344,
                "ns": 6,
                "title": "Fichier:Caf\u00e9 scientifique - avril 2011 0008 Layer 8.jpg"
            },
            "343": {
                "pageid": 343,
                "ns": 6,
                "title": "Fichier:Caf\u00e9 scientifique - avril 2011 0010 Layer 6.jpg"
            },
            "185": {
                "pageid": 185,
                "ns": 6,
                "title": "Fichier:Coeur.jpg"
            },
            "164": {
                "pageid": 164,
                "ns": 6,
                "title": "Fichier:Einstein.jpeg",
                "duplicatefiles": [
                    {
                        "name": "Einstein.jpg",
                        "user": "Piron",
                        "timestamp": "2008-09-15T17:50:04Z"
                    }
                ]
            },
            "165": {
                "pageid": 165,
                "ns": 6,
                "title": "Fichier:Einstein.jpg",
                "duplicatefiles": [
                    {
                        "name": "Einstein.jpeg",
                        "user": "Piron",
                        "timestamp": "2008-09-15T17:43:34Z"
                    }
                ]
            }
        }
    }
}