# OpenAPI Documentation - JSON format (dot notation) mimeType = application/json post.operationId = post-v1-homogenize-document-type-json post.description = Homogénéise le type de document donné. post.requestBody.content.application/json.example.0.id = 0 post.requestBody.content.application/json.example.0.value = ART post.requestBody.content.application/json.schema.$ref = #/components/schemas/IdChaines post.requestBody.required = true post.responses.default.content.application/json.example.0.id = 0 post.responses.default.content.application/json.example.0.value = Article post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdChaines post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant le tyoe de document homogénéisé. post.tags.0 = mapping post.summary = Homogénéise le type de document donné [use] plugin = basics plugin = analytics [env] path = date value = thru(d => (new Date()).toISOString().split("T")[0]) [JSONParse] [expand] path = value cacheName = env("date").prepend("post-v1-homogenize-document-type-json-") [expand/combine] path = value default = n/a primer = env("TABLE_SERVER_URL", "https://inist-wsdata.dboard.inist.fr/") \ .concat("homogenize-documenttype-json.tsv").join("") file = ./homogenize-documenttype-json.ini [assign] path = value value = get("value.value") [JSONString] indent = env('indent', true)