Merge branch 'RED-10081' into 'master'

RED-10081: Update RM API specs after adding new download file type

Closes RED-10081

See merge request redactmanager/persistence-service!750
This commit is contained in:
Maverick Studer 2024-09-20 10:00:38 +02:00
commit 82da9860ce

View File

@ -2171,7 +2171,7 @@ components:
Specifies the types of files that will part of the created download package. The defaults can be defined in the dossier template
and can be overwritten individually on each download.
RedactManager supports `ORIGINAL`, `PREVIEW`, `DELTA_PREVIEW`, and `REDACTED`:
RedactManager supports `ORIGINAL`, `PREVIEW`, `OPTIMIZED_PREVIEW`, `DELTA_PREVIEW`, and `REDACTED`:
- `ORIGINAL` Contrary to intuition, this is not the uploaded file, but the pre-processed,
optimized PDF, which may also contain the OCR results.
@ -2180,6 +2180,8 @@ components:
system. Note that the content to redact is actually still present and readable.
The redaction information is embedded so you can restore the redactions when uploading the
`PREVIEW` PDF into RedactManager.
- `OPTIMIZED_PREVIEW` The optimization process removes bookmarks and links in the document.
Other than that, this is the same as the Preview PDF.
- `DELTA_PREVIEW` Shows changes if redactions were imported (e.g., by uploading a Preview PDF
with redaction annotations):
Unchanged imported redactions are highlighted in green, removed imported redactions are
@ -2190,6 +2192,7 @@ components:
enum:
- ORIGINAL
- PREVIEW
- OPTIMIZED_PREVIEW
- DELTA_PREVIEW
- REDACTED
type: string