Authorizations
Authentication with Authorization
header and DeepL-Auth-Key
authentication scheme. Example: DeepL-Auth-Key <api-key>
Body
Name to be associated with the glossary.
"My Glossary"
The language in which the source texts in the glossary are specified.
ar
, bg
, cs
, da
, de
, el
, en
, es
, et
, fi
, fr
, he
, hu
, id
, it
, ja
, ko
, lt
, lv
, nb
, nl
, pl
, pt
, ro
, ru
, sk
, sl
, sv
, th
, tr
, uk
, vi
, zh
"en"
The language in which the target texts in the glossary are specified.
ar
, bg
, cs
, da
, de
, el
, en
, es
, et
, fi
, fr
, he
, hu
, id
, it
, ja
, ko
, lt
, lv
, nb
, nl
, pl
, pt
, ro
, ru
, sk
, sl
, sv
, th
, tr
, uk
, vi
, zh
"de"
The entries of the glossary. The entries have to be specified in the format provided by the entries_format
parameter.
"Hello\tGuten Tag"
The format in which the glossary entries are provided. Formats currently available:
tsv
(default) - tab-separated valuescsv
- comma-separated values
See Supported Glossary Formats for details about each format.
tsv
, csv
"tsv"
Response
The function for creating a glossary returns a JSON object containing the ID of the newly created glossary and a boolean flag that indicates if the created glossary can already be used in translate requests.
A unique ID assigned to a glossary.
"def3a26b-3e84-45b3-84ae-0c0aaf3525f7"
Name associated with the glossary.
Indicates if the newly created glossary can already be used in translate
requests.
If the created glossary is not yet ready, you have to wait and check the ready
status
of the glossary before using it in a translate
request.
The language in which the source texts in the glossary are specified.
ar
, bg
, cs
, da
, de
, el
, en
, es
, et
, fi
, fr
, he
, hu
, id
, it
, ja
, ko
, lt
, lv
, nb
, nl
, pl
, pt
, ro
, ru
, sk
, sl
, sv
, th
, tr
, uk
, vi
, zh
"en"
The language in which the target texts in the glossary are specified.
ar
, bg
, cs
, da
, de
, el
, en
, es
, et
, fi
, fr
, he
, hu
, id
, it
, ja
, ko
, lt
, lv
, nb
, nl
, pl
, pt
, ro
, ru
, sk
, sl
, sv
, th
, tr
, uk
, vi
, zh
"de"
The creation time of the glossary in the ISO 8601-1:2019 format (e.g.: 2021-08-03T14:16:18.329Z
).
The number of entries in the glossary.