Skip to content

Commit c2afaff

Browse files
committed
Add Excel to supported formats
1 parent 90417c6 commit c2afaff

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

openapi.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
{
3333
"name": "TranslateDocuments",
34-
"description": "The document translation API allows you to translate whole documents and supports the following file types and extensions:\n * `docx` - Microsoft Word Document\n * `pptx` - Microsoft PowerPoint Document\n * `pdf` - Portable Document Format\n * `htm / html` - HTML Document\n * `txt` - Plain Text Document\n * `xlf / xliff` - XLIFF Document, version 2.1\n\nPlease note that with every submitted document of type .pptx, .docx, or .pdf,\nyou are billed a minimum of 50,000 characters with the DeepL API plan,\nno matter how many characters are included in the document.\n\n\nTranslating a document usually involves three types of HTTP requests:\n - [upload](https://www.deepl.com/docs-api/documents/translate-document) the document to be translated,\n - periodically [check the status](https://www.deepl.com/docs-api/documents/get-document-status) of the document translation,\n - once the status call reports `done`, [download](https://www.deepl.com/docs-api/documents/download-document) the translated document.\n\n\nTo learn more about context in DeepL API translations, we recommend [this article](https://www.deepl.com/docs-api/general/working-with-context)."
34+
"description": "The document translation API allows you to translate whole documents and supports the following file types and extensions:\n * `docx` - Microsoft Word Document\n * `pptx` - Microsoft PowerPoint Document\n * `xlsx` - Microsoft Excel Document\n * `pdf` - Portable Document Format\n * `htm / html` - HTML Document\n * `txt` - Plain Text Document\n * `xlf / xliff` - XLIFF Document, version 2.1\n\nPlease note that with every submitted document of type .pptx, .docx, .xlsx, or .pdf,\nyou are billed a minimum of 50,000 characters with the DeepL API plan,\nno matter how many characters are included in the document.\n\n\nTranslating a document usually involves three types of HTTP requests:\n - [upload](https://www.deepl.com/docs-api/documents/translate-document) the document to be translated,\n - periodically [check the status](https://www.deepl.com/docs-api/documents/get-document-status) of the document translation,\n - once the status call reports `done`, [download](https://www.deepl.com/docs-api/documents/download-document) the translated document.\n\n\nTo learn more about context in DeepL API translations, we recommend [this article](https://www.deepl.com/docs-api/general/working-with-context)."
3535
},
3636
{
3737
"name": "ManageGlossaries",
@@ -388,7 +388,7 @@
388388
"file": {
389389
"type": "string",
390390
"format": "binary",
391-
"description": "The document file to be translated. The file name should be included in this part's content disposition. As an alternative, the filename parameter can be used. The following file types and extensions are supported:\n * `docx` - Microsoft Word Document\n * `pptx` - Microsoft PowerPoint Document\n * `pdf` - Portable Document Format\n * `htm / html` - HTML Document\n * `txt` - Plain Text Document\n * `xlf / xliff` - XLIFF Document, version 2.1"
391+
"description": "The document file to be translated. The file name should be included in this part's content disposition. As an alternative, the filename parameter can be used. The following file types and extensions are supported:\n * `docx` - Microsoft Word Document\n * `pptx` - Microsoft PowerPoint Document\n * `xlsx` - Microsoft Excel Document\n * `pdf` - Portable Document Format\n * `htm / html` - HTML Document\n * `txt` - Plain Text Document\n * `xlf / xliff` - XLIFF Document, version 2.1"
392392
},
393393
"filename": {
394394
"type": "string",
@@ -2007,4 +2007,4 @@
20072007
}
20082008
}
20092009
}
2010-
}
2010+
}

openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ tags:
2727
The document translation API allows you to translate whole documents and supports the following file types and extensions:
2828
* `docx` - Microsoft Word Document
2929
* `pptx` - Microsoft PowerPoint Document
30+
* `xlsx` - Microsoft Excel Document
3031
* `pdf` - Portable Document Format
3132
* `htm / html` - HTML Document
3233
* `txt` - Plain Text Document
3334
* `xlf / xliff` - XLIFF Document, version 2.1
3435
35-
Please note that with every submitted document of type .pptx, .docx, or .pdf,
36+
Please note that with every submitted document of type .pptx, .docx, .xlsx, or .pdf,
3637
you are billed a minimum of 50,000 characters with the DeepL API plan,
3738
no matter how many characters are included in the document.
3839
@@ -357,6 +358,7 @@ paths:
357358
The document file to be translated. The file name should be included in this part's content disposition. As an alternative, the filename parameter can be used. The following file types and extensions are supported:
358359
* `docx` - Microsoft Word Document
359360
* `pptx` - Microsoft PowerPoint Document
361+
* `xlsx` - Microsoft Excel Document
360362
* `pdf` - Portable Document Format
361363
* `htm / html` - HTML Document
362364
* `txt` - Plain Text Document

0 commit comments

Comments
 (0)