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.
{ "compare": { "fromrevid": 1, "torevid": 2, "*": "<tr>\n <td colspan=\"2\" class=\"diff-lineno\">Ligne 1 :</td>\n <td colspan=\"2\" class=\"diff-lineno\">Ligne 1 :</td>\n</tr>\n<tr>\n <td class=\"diff-marker\">\u2212</td>\n <td class=\"diff-deletedline\"><div>Bienvenue dans le wiki de JDONREF.</div></td>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>=== JDONREFv3ES : Introduction ===</div></td>\n</tr>\n<tr>\n <td class=\"diff-marker\"> </td>\n <td class=\"diff-context\"></td>\n <td class=\"diff-marker\"> </td>\n <td class=\"diff-context\"></td>\n</tr>\n<tr>\n <td class=\"diff-marker\">\u2212</td>\n <td class=\"diff-deletedline\"><div>L'acc\u00e8s aux documentations au format PDF est disponible ici : [https://adullact.net/frs/?group_id=632]</div></td>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>NB : La documentation d\u00e9crite dans ce wiki est en cours de r\u00e9daction, et le service n'est pas encore impl\u00e9ment\u00e9.</div></td>\n</tr>\n<tr>\n <td class=\"diff-marker\"> </td>\n <td class=\"diff-context\"></td>\n <td class=\"diff-marker\"> </td>\n <td class=\"diff-context\"></td>\n</tr>\n<tr>\n <td class=\"diff-marker\">\u2212</td>\n <td class=\"diff-deletedline\"><div>La documentation de JDONREFv3ES est accessible ici : [[JDONREFv3ES]] (en cours de r\u00e9daction).</div></td>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>JDONREFv3ES est le service de JDONREF qui permet d'utiliser un backend ElasticSearch tout en conservant les signatures de m\u00e9thode actuelles de JDONREF en SOAP.</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>JDONREFv3REST est le service de JDONREF qui permet de l'utiliser sous la forme d'appels suivant la philosophie REST.</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>Il est bien s\u00fbr possible d'utiliser JDONREFv3REST avec JDONREFv3ES.</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>== API & sp\u00e9cifications ==</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>[[JDONREFv3ES_Specifications|Sp\u00e9cifications de JDONREFv3ES]]</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>[[JDONREFv3REST_API|JDONREFv3REST API]]</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>== Philosophie de JDONREFv3REST ==</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>La philosophie suivie pour l'impl\u00e9mentation de JDONREFv3REST est d'\u00eatre compatible avec l'API REST de ElasticSearch. Il s'agit plus pr\u00e9cis\u00e9ment d'un sous-ensemble de l'API REST d'ElasticSearch.</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>Ainsi, une application d\u00e9velopp\u00e9e pour utiliser JDONREFv3REST pourrait aussi fonctionner en utilisant ElasticSearch.</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>Par exemple, l'API Search d'Elastic search ([http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-uri-request.html]) propose de rechercher une adresse d'un index jdonref de cette mani\u00e8re :</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>curl -XGET 'http://localhost:9200/jdonref/adresse/_search?q=hopital'</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>C'est exactement cette syntaxe qui sera reprise dans JDONREFv3Rest pour la validation d'adresse.</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>L'API sera simplement \u00e9tendue aux fonctions actuellement non pr\u00e9sentes dans ElasticSearch.</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>== Philosophie de JDONREFv3ES ==</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>Le p\u00e9rim\u00e8tre de JDONREF est actuellement plus \u00e9tendu que celui de ElasticSearch car il est sp\u00e9cialis\u00e9 dans le traitement d'adresses. Il s'agit des fonctions :</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>1. de normalisation ;</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>2. de restructuration ;</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>3. de d\u00e9coupage ;</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>4. de g\u00e9ocodage (ElasticSearch proposant l'indexation g\u00e9ographique, mais pas le calcul de l'interpolation du tron\u00e7on) ;</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty\"> </td>\n <td class=\"diff-marker\">+</td>\n <td class=\"diff-addedline\"><div>JDONREFv3ES s'appuie donc sur les traitements existants de JDONREF pour ces 4 fonctions, mais utilise les fonctionnalit\u00e9s de ElasticSearch pour la validation et le g\u00e9ocodage inverse.</div></td>\n</tr>\n" } }