diff --git a/biblio-tools/examples.http b/biblio-tools/examples.http index aae23cb..40a742e 100644 --- a/biblio-tools/examples.http +++ b/biblio-tools/examples.http @@ -1,7 +1,9 @@ # To test locally, replace with @baseUrl = http://localhost:31976 -#@baseUrl = https://biblio-tools.services.inist.fr +#@baseUrl = https://biblio-tools.services.istex.fr +### +# @name v1UnpaywallIsOa # unpaywall/is_oa POST {{baseUrl}}/v1/unpaywall/is_oa?indent=true HTTP/1.1 Content-Type: application/json @@ -15,10 +17,9 @@ { "id":6, "value": "10.4000/edc.9014"}, { "id":7, "value": "unknown"} ] + ### - - - +# @name v1UnpaywallExpand # unpaywall/expand POST {{baseUrl}}/v1/unpaywall/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -32,8 +33,9 @@ { "id":6, "value": "10.4000/edc.9014"}, { "id":7, "value": "unknown"} ] -### +### +# @name v1UnpaywallCorhal # unpaywall/corhal POST {{baseUrl}}/v1/unpaywall/corhal?indent=true HTTP/1.1 Content-Type: application/json @@ -47,8 +49,9 @@ { "id":6, "value": "10.4000/edc.9014"}, { "id":7, "value": "unknown"} ] -### +### +# @name v1UnpaywallWorksExpand # unpaywall/works/expand POST {{baseUrl}}/v1/unpaywall/works/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -62,8 +65,9 @@ { "id":6, "value": "10.4000/edc.9014"}, { "id":7, "value": "unknown"} ] -### +### +# @name v1CrossrefPrefixesExpand # crossref/prefixes/1 POST {{baseUrl}}/v1/crossref/prefixes/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -76,10 +80,9 @@ { "id":5, "value": "10.1037"}, { "id":6, "value": "unknown"} ] + ### - - - +# @name v1CrossrefWorksExpand2 # crossref/works/2 POST {{baseUrl}}/v1/crossref/works/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -93,8 +96,9 @@ { "id":6, "value": "10.4000/edc.9014"}, { "id":7, "value": "unknown"} ] -### +### +# @name v1InspirehepWorksExpand # inspirehep/works/expand POST {{baseUrl}}/v1/inspirehep/works/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -109,8 +113,9 @@ { "id":7, "value": "10.4000/edc.9014"}, { "id":8, "value": "unknown"} ] -### +### +# @name v1OpenalexWorksExpand # openalex/works/expand POST {{baseUrl}}/v1/openalex/works/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -125,8 +130,9 @@ { "id":7, "value": "10.4000/edc.9014"}, { "id":8, "value": "unknown"} ] -### +### +# @name v1IstexWorksExpand # istex/works/expand POST {{baseUrl}}/v1/istex/works/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -137,8 +143,9 @@ { "id":3, "value": "10.1093/ageing/afm016"}, { "id":4, "value": ""} ] -### +### +# @name v1WosFetch # wos/fecth POST {{baseUrl}}/v1/wos/fetch?indent=true HTTP/1.1 Content-Type: application/json @@ -167,8 +174,9 @@ } } ] -### +### +# @name v1WosWorksExpand # wos/works/expand POST {{baseUrl}}/v1/wos/works/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -179,8 +187,9 @@ { "id":3, "value": "10.1093/ageing/afm016"}, { "id":4, "value": ""} ] -### +### +# @name v1HalWorksExpand # hal/works/expand POST {{baseUrl}}/v1/hal/works/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -191,9 +200,9 @@ { "id":3, "value": "10.3324/haematol.2016.148908"}, { "id":4, "value": ""} ] + ### - - +# @name v1ConditorWorksExpand # conditor/works/expand POST {{baseUrl}}/v1/conditor/works/expand?indent=true HTTP/1.1 Content-Type: application/json @@ -204,4 +213,5 @@ { "id":3, "value": "10.3324/haematol.2016.148908"}, { "id":4, "value": ""} ] + ###