Newer
Older
web-services / kos2vec / v1 / en / index.py
@schneist schneist on 21 Jun 2022 1 KB 1st commit
 # OpenAPI Documentation - JSON format (dot notation)
mimeType = application/json
post.operationId = post-v1-detect-lang
post.description =indexation
post.responses.default.description = Renvoie un Json composé d'`id`, `value` avec `value` un code langue sur 2 caractères
post.responses.default.content.application/json.schema.$ref =  #/components/schemas/JSONStream
post.summary = indexation sur ressource loterre mémoire
post.tags.0 = NLP
post.requestBody.required = true
post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.parameters.0.in = query
post.parameters.0.name = path
post.parameters.0.schema.type = string
post.parameters.0.description = The path in each object to enrich with an Python script
post.parameters.1.in = query
post.parameters.1.name = indent
post.parameters.1.schema.type = boolean
post.parameters.1.description = Indent or not the JSON Result
[use]
plugin = @ezs/spawn
plugin = @ezs/basics
plugin = @ezs/storage
plugin = @ezs/analytics

[JSONParse]
separator = *

[expand]
path = env('path', 'value')
size = 100
# in production mode, uncomment the following line
# cache = boost
[expand/exec]
# command should be executable !
command = ./exec_indexer.py

[dump]
indent = env('indent', false)