From 68937f298bc2d1ae2cb107dcb88be41f77a62682 Mon Sep 17 00:00:00 2001 From: maverickstuder Date: Fri, 20 Sep 2024 09:35:28 +0200 Subject: [PATCH] RED-10081: Update RM API specs after adding new download file type --- .../src/main/resources/api/redactmanager.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/persistence-service-v1/persistence-service-external-api-v2/src/main/resources/api/redactmanager.yaml b/persistence-service-v1/persistence-service-external-api-v2/src/main/resources/api/redactmanager.yaml index 46eb65060..a8ac8f81d 100644 --- a/persistence-service-v1/persistence-service-external-api-v2/src/main/resources/api/redactmanager.yaml +++ b/persistence-service-v1/persistence-service-external-api-v2/src/main/resources/api/redactmanager.yaml @@ -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