diff --git a/irc3-species/examples.http b/irc3-species/examples.http new file mode 100644 index 0000000..f2b18e6 --- /dev/null +++ b/irc3-species/examples.http @@ -0,0 +1,29 @@ +# These examples can be used directly in VSCode, using REST Client extension (humao.rest-client) + +# @baseUrl=http://localhost:31976 +@baseUrl=https://irc3-species.services.istex.fr + +### +# @name v1Irc3sp +# @description Recherche de noms d'espèces +POST {{baseUrl}}/v1/irc3sp?indent=true HTTP/1.1 +Content-Type: application/json + +[{ + "id": 1, + "value": "Trophic diversity accumulation curves of (a) Pseudopercis semifasciata, (b) Acanthistius patachonicus and (c) Pinguipes brasilianus. Horizontal lines show Brillouin diversity index (Hz) values (Hz± 0·05 Hz) and the vertical line shows a value n- 2 (n = number of stomachs)." +},{ + "id": 2, + "value": "Phasianus colchicus/versicolor: in our study, the best match." +},{ + "id": 3, + "value": "short lower jaw in Etheostoma bellator Suttkus" +}, { + "id": 4, + "value": [ + "Carnivore diet analysis based on next‐generation sequencing: application to the leopard cat (Prionailurus bengalensis) in Pakistan ", + "The leopard cat (Prionailurus bengalensis) is a small felid (weight 1.7–7.1 kg; Sunquist & Sunquist 2009), with a wide range in Asia (8.66 × 106 km2; Nowell & Jackson 1996). ", + "Muridae (mainly Rattus spp. and Mus spp.) seem to represent the main prey items throughout the leopard cat distribution range, supplemented by a wide variety of other prey including small mammals such as shrews and ground squirrels, birds, reptiles, frogs and fish (Tatara & Doi 1994; Grassman et al. 2005; Austin et al. 2007; Rajaratnam et al. 2007; Watanabe 2009; Fernandez & de Guia 2011). ", + "More recently, Deagle et al. (2009, 2010) investigated the diet of Australian fur seals (Arctocephalus pusillus) and penguins (Eudyptula minor) by combining a blocking oligonucleotide approach with 454 GS‐FLX pyrosequencing technologies. " + ] +}] diff --git a/irc3-species/tests.hurl b/irc3-species/tests.hurl new file mode 100644 index 0000000..bca0ff3 --- /dev/null +++ b/irc3-species/tests.hurl @@ -0,0 +1,36 @@ +POST https://irc3-species.services.istex.fr/v1/irc3sp?indent=true +content-type: application/json +[{ + "id": 1, + "value": "Trophic diversity accumulation curves of (a) Pseudopercis semifasciata, (b) Acanthistius patachonicus and (c) Pinguipes brasilianus. Horizontal lines show Brillouin diversity index (Hz) values (Hz± 0·05 Hz) and the vertical line shows a value n- 2 (n = number of stomachs)." +},{ + "id": 2, + "value": "Phasianus colchicus/versicolor: in our study, the best match." +},{ + "id": 3, + "value": "short lower jaw in Etheostoma bellator Suttkus" +}, { + "id": 4, + "value": [ + "Carnivore diet analysis based on next‐generation sequencing: application to the leopard cat (Prionailurus bengalensis) in Pakistan ", + "The leopard cat (Prionailurus bengalensis) is a small felid (weight 1.7–7.1 kg; Sunquist & Sunquist 2009), with a wide range in Asia (8.66 × 106 km2; Nowell & Jackson 1996). ", + "Muridae (mainly Rattus spp. and Mus spp.) seem to represent the main prey items throughout the leopard cat distribution range, supplemented by a wide variety of other prey including small mammals such as shrews and ground squirrels, birds, reptiles, frogs and fish (Tatara & Doi 1994; Grassman et al. 2005; Austin et al. 2007; Rajaratnam et al. 2007; Watanabe 2009; Fernandez & de Guia 2011). ", + "More recently, Deagle et al. (2009, 2010) investigated the diet of Australian fur seals (Arctocephalus pusillus) and penguins (Eudyptula minor) by combining a blocking oligonucleotide approach with 454 GS‐FLX pyrosequencing technologies. " + ] +}] + + +HTTP 200 +[ { + "id": 1, + "value": [ "Acanthistius patachonicus", "Pinguipes brasilianus", "Pseudopercis semifasciata" ] +}, { + "id": 2, + "value": [ "Phasianus colchicus" ] +}, { + "id": 3, + "value": [ "Etheostoma bellator" ] +}, { + "id": 4, + "value": [ "Arctocephalus pusillus", "Eudyptula minor", "Prionailurus bengalensis" ] +}]