Download OpenAPI specification:Download
Documentation of the OX Software GmbH DocumentConverter HTTP API.
Starting the stateful retrieval of single pages from a source document.
| url | string TODO (KA) |
| targetformat | string Default: "jpeg" Enum: "jpeg" "png" TODO (KA) |
| nocache | string Default: false Enum: false true TODO (KA) |
| cacheonly | string Default: false Enum: false true TODO (KA) |
| async | string Default: false Enum: false true TODO (KA) |
| priority | string Default: "background" Enum: "background" "low" "medium" "high" "inastant" TODO (KA) |
| autoscale | string Default: false Enum: false true TODO (KA) |
| hidechanges | string Default: false Enum: false true TODO (KA) |
| hidecomments | string Default: false Enum: false true TODO (KA) |
| userrequest | string Default: false Enum: false true TODO (KA) |
| file | string <binary> |
The jobId of the current stateful job, to be used in subsequent calls.
DocumentConverter server response in case of an error.
{- "async": true,
- "errorcode": 0,
- "cachehash": "string",
- "inputfilehash": "string",
- "locale": "string",
- "jobid": "string",
- "pagecount": 0,
- "originalPageCount": 0,
- "pagenumber": 0,
- "mimetype": "string",
- "extension": "string",
- "passwordprotected": true,
- "maxsourcesize": true,
- "unsupported": true,
- "result": "string"
}Stateless conversion of a source document to a target format. The conversion result data is given back as an archive in the file case as well as in the JSON case.
| async | string Default: false Enum: false true TODO (KA) |
| autoscale | string Default: false Enum: false true TODO (KA) |
| cacheonly | string Default: false Enum: false true TODO (KA) |
| firstpageonly | string Default: false Enum: false true TODO (KA) |
| hidechanges | string Default: false Enum: false true TODO (KA) |
| hidecomments | string Default: false Enum: false true TODO (KA) |
| nocache | string Default: false Enum: false true TODO (KA) |
| priority | string Default: "background" Enum: "background" "low" "medium" "high" "inastant" TODO (KA) |
| returntype | string Default: "json" Enum: "json" "file" TODO (KA) |
| targetformat | string Default: "jpeg" Enum: "jpeg" "png" TODO (KA) |
| url | string TODO (KA) |
| userrequest | string Default: false Enum: false true TODO (KA) |
| file | string <binary> |
DocumentConverter server status 'ok', returning the result document, that is directly written into the output stream or given as base64 encoded data URL within the JSON response, if indicated by the request.
DocumentConverter server response in case of an error.
Finishing of a stateful document conversion, which needs to be made after the last 'getpage' call. The jobId returned from the initial 'beginconvert' call is to be used for this final call.
| jobid | string TODO (KA) |
| nocache | string Default: false Enum: false true TODO (KA) |
| cacheonly | string Default: false Enum: false true TODO (KA) |
| async | string Default: false Enum: false true TODO (KA) |
DocumentConverter server status 'ok' in case of no error.
DocumentConverter server response in case of an error.
{- "async": true,
- "errorcode": 0,
- "cachehash": "string",
- "inputfilehash": "string",
- "locale": "string",
- "jobid": "string",
- "pagecount": 0,
- "originalPageCount": 0,
- "pagenumber": 0,
- "mimetype": "string",
- "extension": "string",
- "passwordprotected": true,
- "maxsourcesize": true,
- "unsupported": true,
- "result": "string"
}Retrieving a single page after an initial stateful 'beginconvert' call. The jobId returned from the initial 'beginconvert' call is to be used for each one of these calls.
| jobid | string TODO (KA) |
| pangenumber | integer <int16> TODO (KA) |
| returntype | string Default: "json" Enum: "json" "file" TODO (KA) |
| nocache | string Default: false Enum: false true TODO (KA) |
| cacheonly | string Default: false Enum: false true TODO (KA) |
| async | string Default: false Enum: false true TODO (KA) |
DocumentConverter server status 'ok', returning the resulting page of the document, that is directly written into the output stream or given as base64 encoded data URL within the JSON response, if indicated by the request.
DocumentConverter server response in case of an error.
Stateless retrieval of a preview from a file as an image.
| url | string TODO (KA) |
| targetformat | string Default: "jpeg" Enum: "jpeg" "png" TODO (KA) |
| returntype | string Default: "json" Enum: "json" "file" TODO (KA) |
| nocache | string Default: false Enum: false true TODO (KA) |
| cacheonly | string Default: false Enum: false true TODO (KA) |
| async | string Default: false Enum: false true TODO (KA) |
| priority | string Default: "background" Enum: "background" "low" "medium" "high" "inastant" TODO (KA) |
| hidechanges | string Default: false Enum: false true TODO (KA) |
| hidecomments | string Default: false Enum: false true TODO (KA) |
| userrequest | string Default: false Enum: false true TODO (KA) |
| file | string <binary> |
DocumentConverter server status 'ok', returning the result preview image, that is directly written into the output stream or given as base64 encoded data URL within the JSON response, if indicated by the request.
DocumentConverter server response in case of an error.
Stateless retrieval of a thumbnail preview from a file as an image.
| url | string TODO (KA) |
| targetformat | string Default: "jpeg" Enum: "jpeg" "png" TODO (KA) |
| returntype | string Default: "json" Enum: "json" "file" TODO (KA) |
| nocache | string Default: false Enum: false true TODO (KA) |
| cacheonly | string Default: false Enum: false true TODO (KA) |
| async | string Default: false Enum: false true TODO (KA) |
| priority | string Default: "background" Enum: "background" "low" "medium" "high" "inastant" TODO (KA) |
| hidechanges | string Default: false Enum: false true TODO (KA) |
| hidecomments | string Default: false Enum: false true TODO (KA) |
| userrequest | string Default: false Enum: false true TODO (KA) |
| file | string <binary> |
DocumentConverter server status 'ok', returning the result thumbnail image, that is directly written into the output stream or given as base64 encoded data URL within the JSON response, if indicated by the request.
DocumentConverter server response in case of an error.
Specific flavour of a source document conversion to a specified target format, offering additional functionality.
| method | string Default: "convert" Enum: "convert" "queryavailability" "beginpageconversion" "getconversionpage" "endpageconversion" TODO (KA) |
| jobtype | string Default: "pdf" Enum: "graphic" "html" "image" "imagetransformation" "odf" "ooxml" "pdf" "pdf2grf" "pdf2html" "pdf2svg" "pdfenctest" TODO (KA) |
| jobid | string TODO (KA) |
| priority | string Default: "background" Enum: "background" "low" "medium" "high" "inastant" TODO (KA) |
| locale | string TODO (KA) |
| cachehash | string TODO (KA) |
| remotecachehash | string TODO (KA) |
| filtershortname | string TODO (KA) |
| inputtype | string TODO (KA) |
| pixelwidth | integer <int32> TODO (KA) |
| pixelheight | integer <int32> TODO (KA) |
| mimetype | string TODO (KA) |
| pangerange | string TODO (KA) |
| pangenumber | integer <int16> TODO (KA) |
| ziparchive | string Default: false Enum: false true TODO (KA) |
| infofilename | string TODO (KA) |
| nocache | string Default: false Enum: false true TODO (KA) |
| cacheonly | string Default: false Enum: false true TODO (KA) |
| async | string Default: false Enum: false true TODO (KA) |
| imageresolution | integer <int16> TODO (KA) |
| imagescaletype | string Default: "contain" Enum: "contain" "cover" |
| remoteurl | string TODO (KA) |
| url | string TODO (KA) |
| returntype | string Default: "json" Enum: "json" "file" TODO (KA) |
| autoscale | string Default: false Enum: false true TODO (KA) |
| hidechanges | string Default: false Enum: false true TODO (KA) |
| hidecomments | string Default: false Enum: false true TODO (KA) |
| userrequest | string Default: false Enum: false true TODO (KA) |
| file | string <binary> |
DocumentConverter server status 'ok', returning the result document, that is directly written into the output stream or given as base64 encoded data URL within the JSON response, if indicated by the request.
DocumentConverter server response in case of an error.
Getting the current status of the DocumentConverter server as text/html response.
| metrics | string Default: "false" Set to "yes", if a metrics summary should be returned. |
DocumentConverter status message when successfull.
Getting the current status of the DocumentConverter server as application/json response.
| metrics | string Default: "false" Set to "yes", if a metrics summary should be returned. |
Getting the current DocumentConverter status.
{- "server": {
- "id": "string",
- "api": 0,
- "status": "string",
- "engineStatus": {
- "READERENGINE": {
- "totalCount": 0,
- "runningCount": 0
}, - "PDFTOOL": {
- "totalCount": 0,
- "runningCount": 0
}
}
}
}