Newer
Older
web-services / mapping-tools / v1 / rnsr / instituts-cnrs / json.ini
# OpenAPI Documentation - JSON format (dot notation)
mimeType = application/json
# post.responses.default.description = Return a JSON, composed of `id`, `value`, where `value` is found CNRS Institute
# post.responses.default.content.application/json.schema.$ref = #/components/schemas/JSONStream
# post.summary = Map RNSR to CNRS Institutes
# post.requestBody.required = true
# post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream
# post.requestBody.content.examples.inee.summary = One RNSR identifier
# post.requestBody.content.examples.inee.value.id = 1
# post.requestBody.content.examples.inee.value.value = 200919362L

post.responses.200.description = "Renvoie un JSON, composé d'`id`, `value`, avec `value` étant un Institut du CNRS"
post.responses.200.schema.$ref = #/components/IdInstitutes
post.tags.0: mapping
post.summary: "Trouve l'Institut du CNRS dans lequel se trouve une structure de recherche"
post.consumes.0: application/json
post.produces.0: application/json
post.parameters.0.in: body
post.parameters.0.in.name: body
post.parameters.0.in.description: "Une liste d'objets contenant un identifiant et un identifiant RNSR"
post.parameters.0.in.required: true
post.parameters.0.in.schema.$ref: "#/components/idRNSRs1"

[use]
plugin = basics
plugin = analytics

[JSONParse]
[combine]
path = value
default = n/a
primer = ./RNSR_InstitutsCNRS_1614.csv
file = ./instituts-cnrs.ini
persistent = true

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

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