diff --git a/data-wrapper/v1/tar-tei2json.ini b/data-wrapper/v1/tar-tei2json.ini index 1d5e732..e5bfa36 100644 --- a/data-wrapper/v1/tar-tei2json.ini +++ b/data-wrapper/v1/tar-tei2json.ini @@ -7,8 +7,8 @@ post.description = Transformation d'un fichier TEI en fichier corpus post.summary = Le fichier est transformé en fichier corpus exploitable par un web service asynchrone, chaque document TEI est préalablement transformé en JSON post.tags.0 = data-wrapper -post.requestBody.content.text/xml.schema.type = string -post.requestBody.content.text/xml.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-tar.schema.type = string diff --git a/data-wrapper/v1/tar-tei2xml.ini b/data-wrapper/v1/tar-tei2xml.ini index 13874be..b00b1f2 100644 --- a/data-wrapper/v1/tar-tei2xml.ini +++ b/data-wrapper/v1/tar-tei2xml.ini @@ -7,8 +7,8 @@ post.description = Transformation d'un fichier TEI en fichier corpus post.summary = 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.text/xml.schema.type = string -post.requestBody.content.text/xml.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-tar.schema.type = string