From a418e369d2a93622a4251921df22e8b379c0c53f 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 b3c81b549..a57b576a7 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 @@ -2205,7 +2205,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. @@ -2214,6 +2214,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 @@ -2224,6 +2226,7 @@ components: enum: - ORIGINAL - PREVIEW + - OPTIMIZED_PREVIEW - DELTA_PREVIEW - REDACTED type: string