# OpenAPI Documentation - JSON format (dot notation) mimeType = application/json post.operationId = post-v1-inspire-category-meta-category-json post.requestBody.content.application/json.example.0.id = 0 post.requestBody.content.application/json.example.0.value = Experiment-HEP 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 = Particules et hadronique post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdChaines post.description = Renvoie la métacatégorie IN2P3 correspondant à la catégorie Inspire_Hep envoyée. post.responses.default.description = Renvoie un JSON, composé de `id`, `value`, avec `value` étant la métacatégorie IN2P3. post.tags.0: mapping post.summary: Trouve une métacatégorie IN2P3 associée à une catégorie Inspire_Hep post.parameters.0.description = Indenter le JSON résultant post.parameters.0.in = query post.parameters.0.name = indent post.parameters.0.required = false post.parameters.0.schema.type = boolean [use] plugin = basics plugin = analytics [env] path = date value = thru(d => (new Date()).toISOString().split("T")[0]) [JSONParse] separator = * [assign] path = value value = get('value', 'n/a').toString() # Homogenize ID: url, string and number to an url [expand] path = value cacheName = env("date").prepend("post-v1-inspire-category-meta-category-json-") [expand/combine] path = value default = n/a primer = env("TABLE_SERVER_URL", "http://mapping-tables.daf.intra.inist.fr/") \ .concat("inspire-category-meta-category-json.tsv").join("") file = ./inspire-category-meta-category-json.ini [assign] path = value value = get('value.value') [JSONString] indent = env('indent', true)