Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions api-reference/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,14 @@
"file": "@document.docx"
}
},
"Watermark": {
"summary": "Adding a \"Translated by DeepL\" watermark",
"value": {
"target_lang": "DE",
"file": "@document.docx",
"enable_watermark": true
}
},
"Glossary": {
"summary": "Using a Glossary",
"value": {
Expand Down Expand Up @@ -1169,6 +1177,11 @@
"translation_memory_threshold": {
"$ref": "#/components/schemas/TranslationMemoryThreshold"
},
"enable_watermark": {
"description": "When `true`, adds a \"Translated by DeepL\" watermark to the translated document.\n\nOnly supported for `docx` and `pdf` output. For all other output formats the parameter is ignored and the document is returned without a watermark.",
"type": "boolean",
"default": false
},
"enable_beta_languages": {
"description": "This parameter is maintained for backward compatibility and has no effect.",
"type": "boolean",
Expand Down
13 changes: 13 additions & 0 deletions api-reference/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,12 @@ paths:
value:
target_lang: DE
file: '@document.docx'
Watermark:
summary: Adding a "Translated by DeepL" watermark
value:
target_lang: DE
file: '@document.docx'
enable_watermark: true
Glossary:
summary: Using a Glossary
value:
Expand Down Expand Up @@ -925,6 +931,13 @@ paths:
$ref: '#/components/schemas/TranslationMemoryId'
translation_memory_threshold:
$ref: '#/components/schemas/TranslationMemoryThreshold'
enable_watermark:
description: |-
When `true`, adds a "Translated by DeepL" watermark to the translated document.

Only supported for `docx` and `pdf` output. For all other output formats the parameter is ignored and the document is returned without a watermark.
type: boolean
default: false
enable_beta_languages:
description: |-
This parameter is maintained for backward compatibility and has no effect.
Expand Down
Loading