Newer
Older
web-services / mapping-tools / v1 / rnsr / 2022 / json.ini
@Nicolas Thouvenin Nicolas Thouvenin on 17 Oct 2022 1 KB feat: add rnsr resolver ws
# OpenAPI Documentation - JSON format (dot notation)
mimeType = application/json

post.operationId = post-v1-rnsr-instituts-cnrs-json
post.description = Retrouve les informations concerant un établissement à partir de son identifiant RNSR.
post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant les informations de l'établissement
post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdInstitutes
post.tags.0 = mapping
post.summary = Trouve un ébalissement à partir de son identifiant
post.requestBody.required = true
post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream

[use]
plugin = basics

[JSONParse]

[expand]
path = value
cacheName = post-v1-rnsr-2022-json

[expand/combine]
path = value
default = n/a
primer = ./fr-esr-repertoire-national-structures-recherche-enriched.jsonl

[expand/combine/FILELoad]
[expand/combine/unpack]

[assign]
path = value
value = get("value.value")

[JSONString]
indent = env('indent', true)