Newer
Older
web-services / data-wrapper / v1 / tar-tei2xml.ini
# Entrypoint output format
mimeType = application/x-gzip
extension = tar.gz

# OpenAPI Documentation - JSON format (dot notation)
post.operationId = post-v1-tar-tei2xml
post.summary = Transformation d'un fichier TEI en fichier corpus
post.description = Le fichier est transformé en fichier corpus exploitable par un web service asynchrone, chaque document TEI est préalablement simplifié en fichier XML minimal
post.tags.0 = data-wrapper
post.requestBody.content.application/x-gzip.schema.type = string
post.requestBody.content.application/x-gzip.schema.format = binary
post.requestBody.content.application/x-tar.schema.type = string
post.requestBody.content.application/x-tar.schema.format = binary
post.requestBody.required = true
post.responses.default.description = Fichier corpus au format tar.gz
post.responses.default.content.application/x-gzip.schema.type = string
post.responses.default.content.application/x-gzip.schema.format = binary

[use]
plugin = basics
plugin = xslt

[TARExtract]
path = **/*.xml
compress = true
json = false

[map]
path = value
[map/xslt]
stylesheet = ./v1/new-persee-tei.xsl

[exchange]
value = get('value.0')

[TARDump]
compress = true
extension = xml
json = false
manifest = fix({version: '1'})
manifest = fix({generator: 'v1/tar-tei2xml'})