Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML convient au débogage, mais est 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’informations.

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 2
        },
        "search": [
            {
                "ns": 0,
                "title": "test",
                "pageid": 4744,
                "size": 6514,
                "wordcount": 983,
                "snippet": "...yellow and green. In certain cultures these colours may not have the same <span class='searchmatch'>meaning</span>. Also, institutions/organisations may wish to use colours that match their \n",
                "timestamp": "2023-10-19T15:47:17Z"
            },
            {
                "ns": 0,
                "title": "FAQ des tests",
                "pageid": 3255,
                "size": 17504,
                "wordcount": 2895,
                "snippet": "...a grade is entered directly in the gradebook, an &quot;overridden&quot; flag is set, <span class='searchmatch'>meaning</span> that the grade can no longer be changed from within the quiz.\n",
                "timestamp": "2019-05-03T09:18:38Z"
            }
        ]
    }
}