Outils pour utilisateurs

Outils du site


mkey

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
mkey [2019/11/22 15:27] – [Mkey] sylvainmkey [2019/11/22 15:36] – [Documentation des Web Services REST] sylvain
Ligne 2: Ligne 2:
  
  
-====== Utilisation des services Mkey en ligne ======+===== Utilisation des services Mkey en ligne =====
 L'interface Web du service Mkey est disponible à l'adresse : http://www.identificationkey.fr/mkeyplus/mkey.html L'interface Web du service Mkey est disponible à l'adresse : http://www.identificationkey.fr/mkeyplus/mkey.html
  
Ligne 8: Ligne 8:
  
 **Vous pouvez :** **Vous pouvez :**
-  * soit ajouter directement votre fichier sdd sur le serveur. Vous pouvez récupérer celui-ci pour faire vos tests => http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml+  * soit ajouter directement votre fichier sdd sur le serveur. Vous pouvez récupérer celui-ci pour faire vos tests http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml
   * soit indiquer l'url d'un fichier SDD (celle-ci doit être accessible à partir d'internet). Par exemple : http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml   * soit indiquer l'url d'un fichier SDD (celle-ci doit être accessible à partir d'internet). Par exemple : http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml
  
-====== Utilisation des API REST "Mkey" et "Xperience" ======+===== Utilisation des API REST "Mkey" et "Xperience" =====
 **Les Web Services Mkey sont accessible à l'url :** http://mkey.services.identificationkey.fr **Les Web Services Mkey sont accessible à l'url :** http://mkey.services.identificationkey.fr
  
Ligne 17: Ligne 17:
  
 ===== Tester si les services fonctionnent ===== ===== Tester si les services fonctionnent =====
-Exemple => http://mkey.services.identificationkey.fr/identification <br />+Exemple http://mkey.services.identificationkey.fr/identification
  
 Réponse : Réponse :
-<code>0@@</code>+<code>Available services : 'getRemainingItemsAndDescriptorsUsingIDs, getDescription, getDescriptiveData, removeSDD, getSimilarityMap, getSimilarityMapForRemainingItem, changeDescriptionHistory' 
 +</code>
  
 **Test du service '/identification/getDescriptiveData**' **Test du service '/identification/getDescriptiveData**'
  
-Ce service prend au moins 2 parametres. L'url du fichier sdd et le poid global.+__Ce service prend au moins 2 parametres. L'url du fichier sdd et le poid global :__
  
-sddURL : http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml<br /> +  * sddURL : http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml 
-withGlobalWeigth : true+  withGlobalWeigth : true 
 + 
 +__Dans un navigateur saisir :__
  
-  * Dans un navigateur saisir : 
 http://mkey.services.identificationkey.fr/identification/getDescriptiveData?sddURL=http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml&withGlobalWeigth=true http://mkey.services.identificationkey.fr/identification/getDescriptiveData?sddURL=http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml&withGlobalWeigth=true
  
-  * Dans une console type shell utiliser curl : +__Dans une console type shell utiliser curl :__ 
 +<code>
 curl -i http://mkey.services.identificationkey.fr/identification/getDescriptiveData?sddURL=http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml&withGlobalWeigth=true curl -i http://mkey.services.identificationkey.fr/identification/getDescriptiveData?sddURL=http://chouettes-hiboux-de-france.identificationkey.org/ChouettesetHibouxdeFrance.sdd.xml&withGlobalWeigth=true
 +</code>
 +
 +===== Documentation des Web Services REST =====
  
-====== Documentation des Web Services REST ====== +[[WebServicesDetails|Détails de l'API REST Mkey]]
-<br /> +
-::[[WebServicesDetails|Détails de l'API REST Mkey]]+
  
 ====== Le client Mkey  ====== ====== Le client Mkey  ======
mkey.txt · Dernière modification : 2019/11/22 15:37 de sylvain

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki