diff --git a/mapping-tools/examples.http b/mapping-tools/examples.http index 065fac2..5ffc11b 100644 --- a/mapping-tools/examples.http +++ b/mapping-tools/examples.http @@ -2,10 +2,11 @@ # l'extension REST Client (humao.rest-client) # To test locally, replace with -#@baseUrl = http://localhost:31976 -@baseUrl = http://mapping-tools-5.tdmservices.intra.inist.fr -#@baseUrl = https://mapping-tools.services.inist.fr +# @baseUrl = http://localhost:31976 +# @baseUrl = http://mapping-tools-5.tdmservices.intra.inist.fr +@baseUrl = https://mapping-tools.services.istex.fr +### # @name v1RnsrInstitutsCnrs # Trouver l'Institut du CNRS associé à une structure de recherche POST {{baseUrl}}/v1/rnsr/instituts-cnrs/json?indent=true HTTP/1.1 @@ -15,8 +16,9 @@ {"id":1, "value": "200919362L"}, {"id":2, "value": "200112440X"} ] -### +### +# @name v1HalAuthorIdidRef # Trouver l'idRef associé au halAuthorId (format LODEX) POST {{baseUrl}}/v1/halAuthorId/idRef/json?indent=true HTTP/1.1 Content-Type: application/json @@ -32,8 +34,9 @@ { "id":8, "value": 1358616 }, { "id":9, "value": 11165563 } ] -### +### +# @name v1idRefOrcid # Trouver l'ORCID associé à l'IdRef (format LODEX) POST {{baseUrl}}/v1/idRef/orcid/json?indent=true HTTP/1.1 Content-Type: application/json @@ -49,8 +52,9 @@ { "id":8, "value": 165835257 }, { "id":9, "value": 182222918 } ] -### +### +# @name v1HomogenizeSource # Homogénéiser la forme d'une source de notice POST {{baseUrl}}/v1/homogenize/source/json?indent=true HTTP/1.1 Content-Type: application/json @@ -62,8 +66,9 @@ { "id":4, "value": "« Gilets jaunes » Hypothèses sur un mouvement" }, { "id":5, "value": "Bon sang!" } ] -### +### +# @name v1HomogenizePublisher # Homogénéiser la forme des éditeurs POST {{baseUrl}}/v1/homogenize/publisher/json?indent=true HTTP/1.1 Content-Type: application/json @@ -76,8 +81,9 @@ { "id":5, "value": "Elsevier Science inc" }, { "id":6, "value": "A&M Editions 17" } ] -### +### +# @name v1HomogenizeDocumentType # Homogénéiser les types de documents POST {{baseUrl}}/v1/homogenize/documentType/json?indent=true HTTP/1.1 Content-Type: application/json @@ -89,8 +95,9 @@ { "id":4, "value": "News" }, { "id":5, "value": "Technical Report" } ] -### +### +# @name v1Rnsr2022 # Verbaliser des codes RNSR POST {{baseUrl}}/v1/rnsr/2022/json?indent=true HTTP/1.1 Content-Type: application/json @@ -107,10 +114,10 @@ { "id":9, "value": "201722545L" }, { "id":10, "value": "200711922H" } ] + ### - - -# Verbalisation Inspire labos +# @name v1InspireLabos +# Verbalisation Inspire labos POST {{baseUrl}}/v1/inspire-labos/in2p3-labos/json?indent=true HTTP/1.1 Content-Type: application/json @@ -126,9 +133,10 @@ { "id":9, "value": "1776405" }, { "id":10, "value": "911249" } ] -### -# Verbalisation Inspire category +### +# @name v1InspireCategoryMetaCategory +# Verbalisation Inspire category POST {{baseUrl}}/v1/inspire-category/meta-category/json?indent=true HTTP/1.1 Content-Type: application/json @@ -144,8 +152,8 @@ { "id":9, "value": "Other" }, { "id":10, "value": "Theory-Nucl" } ] -### +### # @name v1RnsrYearInstitutsCnrs # Trouver l'Institut du CNRS associé à une structure de recherche et une année POST {{baseUrl}}/v1/rnsr-year/instituts-cnrs?indent=true HTTP/1.1 @@ -155,8 +163,8 @@ {"id":1, "value": "200919362L|2020"}, {"id":2, "value": "200112440X|2022"} ] -### +### # @name v1HospitalAffiliations # Trouver un hopital correspondant à une adresse d'affiliation POST {{baseUrl}}/v1/hospital/affiliations?indent=true HTTP/1.1 @@ -168,4 +176,4 @@ {"id" :"3","value": "Bergonie Inst, Dept Radiat Oncol, Bordeaux, France"}, {"id" :"4","value": "CHU Besancon, Serv Neurol, 2 Blvd Fleming, F-25030 Besancon, France"}, {"id" :"5","value": "CHU St Etienne, Ave Albert Raimond, F-42055 St Etienne, France"} -] \ No newline at end of file +]