diff --git a/affiliations-tools/examples.http b/affiliations-tools/examples.http index 081e903..dde72cb 100644 --- a/affiliations-tools/examples.http +++ b/affiliations-tools/examples.http @@ -2,9 +2,11 @@ # Décommenter/commenter les lignes voulues pour tester localement # @baseUrl=http://localhost:31976 -@baseUrl=https://affiliations-tools.services.inist.fr +@baseUrl=https://affiliations-tools.services.istex.fr -## Résolution de nom de ville par Netscity +### +# @name v1NetscityExpand +# Résolution de nom de ville par Netscity POST {{baseUrl}}/v1/netscity/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -16,8 +18,9 @@ { "value": "VILLEURBANNE"}, { "value": "NANCY"} ] -### +### +# @name v1Expand # Structurer une affiliation au format texte POST {{baseUrl}}/v1/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -33,8 +36,9 @@ { "value": "Ford, J (reprint author), Univ British Columbia, Dept Phys & Astron, 6224 Agr Rd, Vancouver, BC V6T 1Z1, Canada."}, { "value": "Laigle, C (reprint author), Univ Paris 06, Sorbonne Univ, 98b Bd Arago, F-75014 Paris, France.; Laigle, C (reprint author), CNRS, UMR 7095, IAP, 98b Bd Arago, F-75014 Paris, France."} ] -### +### +# @name v1RnsrJson # Trouver le(s) identifiant(s) RNSR pour chaque adresse (format LODEX) POST {{baseUrl}}/v1/rnsr/json?indent=true HTTP/1.1 Content-Type: application/json @@ -48,9 +52,9 @@ { "id":6, "value": { "address": "Intemporel" } }, { "id":7, "value": { "address": "Inist-CNRS, UPS76, 2 rue Jean Zay, Vandoeuvre-lès-Nancy" } } ] -### -# @name info +### +# @name v1RnsrInfo # Trouver les informations du RNSR pour chaque adresse (format LODEX) POST {{baseUrl}}/v1/rnsr/info?indent=true HTTP/1.1 Content-Type: application/json @@ -63,8 +67,9 @@ { "id":6, "value": { "address": "Intemporel" } }, { "id":7, "value": { "address": "Inist-CNRS, UPS76, 2 rue Jean Zay, Vandoeuvre-lès-Nancy" } } ] -### +### +# @name v1RnsrCsv # Trouver le(s) identifiant(s) RNSR pour chaque année de publication / adresse (format CSV) POST {{baseUrl}}/v1/rnsr/csv HTTP/1.1 Content-Type: text/csv @@ -74,8 +79,9 @@ 2015,IRD UMR AMAP MONTPELLIER FRA 2015,"University of Bordeaux, IMS, CNRS UMR5218, Talence, F-33405, France" 2015,"CENBG, CNRS/IN2P3, Chemin du Solarium B. P. 120, Gradignan, F-33175, France" -### +### +# @name v1RnsrConditor # Trouver le(s) identifiant(s) RNSR pour chaque affiliation de chaque notice Conditor. POST {{baseUrl}}/v1/rnsr/conditor HTTP/1.1 Content-Type: application/json @@ -88,8 +94,9 @@ }] }] }] -### +### +# @name v1AddressesParse POST {{baseUrl}}/v1/addresses/parse?indent=true HTTP/1.1 Content-Type: application/json