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": "",
    "continue": {
        "sroffset": 10,
        "continue": "-||"
    },
    "query": {
        "searchinfo": {
            "totalhits": 29
        },
        "search": [
            {
                "ns": 0,
                "title": "HIBITx defines",
                "pageid": 61763,
                "size": 548,
                "wordcount": 26,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> HIBITS For type short HIBITI For type int HIBITL For type long",
                "timestamp": "2015-08-27T10:24:43Z"
            },
            {
                "ns": 0,
                "title": "SHRT xxx defines",
                "pageid": 61747,
                "size": 484,
                "wordcount": 16,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> SHRT_MAX Type short, maximum value SHRT_MIN Type short, minimum value",
                "timestamp": "2015-08-27T10:48:57Z"
            },
            {
                "ns": 0,
                "title": "EXIT xxxx defines",
                "pageid": 62282,
                "size": 542,
                "wordcount": 26,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> EXIT_SUCCESS Normal program termination EXIT_FAILURE Abnormal program termination",
                "timestamp": "2011-06-02T02:59:24Z"
            },
            {
                "ns": 0,
                "title": "SCHAR xxx defines",
                "pageid": 60844,
                "size": 489,
                "wordcount": 16,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> SCHAR_MAX Type char, maximum value SCHAR_MIN Type char, minimum value",
                "timestamp": "2015-08-27T10:48:50Z"
            },
            {
                "ns": 0,
                "title": "Gestion des exceptions",
                "pageid": 64545,
                "size": 2396,
                "wordcount": 331,
                "snippet": "r\u00e9parer les bogues. When an error occurs, the program raises an exception, <span class=\"searchmatch\">meaning</span> it creates an exception object and rolls back the stack to the first point",
                "timestamp": "2014-02-04T12:35:23Z"
            },
            {
                "ns": 0,
                "title": "INT xxx defines",
                "pageid": 62239,
                "size": 514,
                "wordcount": 23,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> INT_MAX Type int, maximum value INT_MIN Type int, minimum value",
                "timestamp": "2015-08-27T10:25:55Z"
            },
            {
                "ns": 0,
                "title": "OPEN MAX define",
                "pageid": 61032,
                "size": 527,
                "wordcount": 24,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> FOPEN_MAX Maximum files per process SYS_OPEN Maximum files for system",
                "timestamp": "2015-08-27T10:43:15Z"
            },
            {
                "ns": 0,
                "title": "M SQRTxx defines",
                "pageid": 61156,
                "size": 508,
                "wordcount": 23,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> M_SQRT2 Square root of 2 M_SQRT_2 1/2 the square root of 2",
                "timestamp": "2015-08-27T10:36:09Z"
            },
            {
                "ns": 0,
                "title": "LONG xxx defines",
                "pageid": 60779,
                "size": 524,
                "wordcount": 23,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> LONG_MAX Type long, maximum value LONG_MIN Type long, minimum value",
                "timestamp": "2015-08-27T10:34:05Z"
            },
            {
                "ns": 0,
                "title": "SIG xxx defines",
                "pageid": 61789,
                "size": 603,
                "wordcount": 28,
                "snippet": "Name <span class=\"searchmatch\">Meaning</span> SIG_DFL Terminate the program SIG_IGN No action, ignore signal SIG_ERR Return error code",
                "timestamp": "2015-08-27T10:49:06Z"
            }
        ]
    }
}