# OpenAPI Documentation - JSON format (dot notation)
mimeType = application/json
post.operationId = post-v1-rnsr-2022-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/JSONStream
post.tags.0 = mapping
post.requestBody.content.application/json.example.0.id = 1
post.requestBody.content.application/json.example.0.value = 200711922H
post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.requestBody.required = true
post.summary = Trouve un ébalissement à partir de son identifiant
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.schema.$ref = #/components/schemas/JSONStream
post.responses.default.description = Les prefixes DOI en version textuel
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
[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)