diff --git a/data-workflow/v1/retrieve.ini b/data-workflow/v1/retrieve.ini new file mode 100644 index 0000000..fd45198 --- /dev/null +++ b/data-workflow/v1/retrieve.ini @@ -0,0 +1,28 @@ +# Entrypoint output format +mimeType = application/x-tar +extension = tar.gz + +# OpenAPI Documentation - JSON format (dot notation) +post.operationId = post-v1-retrieve +post.description = Récupération d'un résulat produit sous forme d'un fichier corpus +post.summary = Les traitments étant asynchrone le résulat une fois créé doit-être récupéré par cette route +post.tags.0 = data-computer +post.responses.default.description = Fichier corpus au format tar.gz +post.responses.default.content.application/x-tar.schema.type = string +post.responses.default.content.application/x-tar.schema.format = binary +post.requestBody.content.application/json.example.0.value = xMkWJX7GU +post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream +post.requestBody.required = true + +[use] +plugin = basics + +[JSONParse] +separator = * + +[exchange] +value = get('value') + +[FILELoad] +location = /tmp/retrieve +