diff --git a/affiliations-tools/v1/expand.ini b/affiliations-tools/v1/expand.ini index f82208f..d6c7da9 100644 --- a/affiliations-tools/v1/expand.ini +++ b/affiliations-tools/v1/expand.ini @@ -1,15 +1,26 @@ -# OpenAPI Documentation - JSON format (dot notation) +# OpenAPI Documentation - JSON format (dot notation) mimeType = application/json -post.responses.default.description = Return all objects with enrich fields -post.responses.default.content.application/json.schema.$ref = #/components/schemas/JSONStream -post.summary = Structure one field of each Object as raw affiliation -post.requestBody.required = true +post.operationId = post-v1-expand +post.description = Traitement qui analyse une adresse postal dans une chaine de caractère et qui renvoit un objet enrichi +post.summary = Analyse and parse address given in `value`, when possible +post.tags.0 = adresses +post.requestBody.content.application/json.example.0.id = 1 +post.requestBody.content.application/json.example.0.value = University of Bordeaux, IMS, CNRS UMR5218, Talence, F-33405, France +post.requestBody.content.application/json.example.1.id = 2 +post.requestBody.content.application/json.example.1.value = Inist-CNRS 2, rue Jean Zay CS 10310 F‑54519 Vandœuvre-lès-Nancy France post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream +post.requestBody.required = true +post.responses.default.content.application/json.example.0.id = 1 +post.responses.default.content.application/json.example.0.value = { ... } +post.responses.default.content.application/json.example.0.id = 2 +post.responses.default.content.application/json.example.0.value = { ... } +post.responses.default.content.application/json.schema.$ref = #/components/schemas/JSONStream +post.responses.default.description = Les adresses sous forme d'un objet contenant les champs trouvés +post.parameters.0.description = Indenter le JSON résultant post.parameters.0.in = query post.parameters.0.name = indent post.parameters.0.schema.type = boolean -post.parameters.0.description = Indent or not the JSON Result # Necessary plugins [use] @@ -24,9 +35,9 @@ [expand] path = value size = 10 -cacheName = libpostal +cacheName = post-v1-expand-libpostal [expand/URLConnect] -url = https://affiliations-libpostal.services.inist.fr/v1/parse +url = https://affiliations-tools.services.inist.fr/v1/addresses/parse timeout = 5000 # --------- Enrichissement du resultat libpostal @@ -51,7 +62,7 @@ [expand/expand] path = value.country size = 10 -cacheName = loterre +cacheName = post-v1-expand-loterre [expand/expand/URLConnect] url = https://loterre-resolvers.services.inist.fr/v1/9SD/identify