Accepts a single multipart/form-data file in the document field. The response is the
text/html body fragment (no // wrapper) with inline styles
and a data-region-id attribute stamped on every semantic leaf block (headings, paragraphs,
list items and table cells) for downstream region mapping.
Uploads are validated by actual file content (magic bytes), not extension/content-type, and
.docx (ZIP) uploads are screened for decompression-bomb characteristics before conversion.
Conversions run under a concurrency cap and a hard timeout to protect service availability.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200200 OK with the HTML body fragment (text/html);
400 Bad Request if the file is missing, empty, an unsupported type, fails signature validation, or is rejected by zip-bomb screening;
413 Payload Too Large if the upload exceeds the configured size limit;
422 Unprocessable Entity if conversion exceeds the time limit (document too large, complex, or malformed);
503 Service Unavailable if the pod is at conversion capacity (honour the Retry-After header);
500 Internal Server Error on unexpected conversion failure.
