Glossary API
Query Glossary
/v1/glossary/queryGet details of a glossary by ID.
Example
curl
1curl -X POST 'https://dltranslator.com/api/v1/glossary/query' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{
5 "glossaryId": "[string]"
6}'
Request Parameters
Parameters | Type | Default | Description | Example |
---|---|---|---|---|
*glossaryId | String | - | Glossary ID | - |
Response
Parameters | Type | Default | Description | Example |
---|---|---|---|---|
glossaryId | String | - | Glossary ID | - |
name | String | - | Name of the glossary | - |
desc | String | - | Description of the glossary | - |
targetLang | String | - | Target language | - |
keys | String[] | - | List of terms | - |
translated | JSON | - | Map of terms to translations | - |
createdAt | DateTime | - | Glossary creation time | - |
updatedAt | DateTime | - | Glossary update time | - |