REST input JSON
POST/http.inputstructured/repair-pdf
The Repair Profile validates and repairs PDFs. The REST input JSON allows for structured input and output for PDF documents to be validated and repaired. To use this endpoint, upload documents using a URL or in Base64 encoded format.
Request
Responses
- 200
- 202
- 400
- 404
- 415
- 422
- 500
The files were successfully submitted for repairing and the Simple API included the repaired file in the API response.
The files were successfully submitted for repairing and the process will start.
- The job must contain at least one data element.
- Exception message that occurred during processing.
- The provided
connectionID
was not found.
Unsupported media type. Returns ProblemDetails
:
- A file format is not supported.
Unprocessable file. Returns ProblemDetails
:
- The conformance is not compatible.
- The file is corrupt.
- A generic error happened during processing.
- One of the specified options is invalid.
- The password is missing or incorrect.
- A file contains a feature that is not supported.
An Internal server error. Returns ProblemDetails
:
- The job was canceled.
- The service is not configured correctly.
- An internal error happened during processing.
- A timeout occurred during processing.
- If an unknown error occurs the message you receive is empty.