Glossar-API
Glossar abfragen
/v1/glossary/queryDetails eines Glossars nach ID abrufen.
Beispiel
curl
1curl -X POST 'https://otranslator.com/api/v1/glossary/query' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{
5 "glossaryId": "[string]"
6}'Anfrageparameter
| Parameter | Typ | Standard | Beschreibung | Beispiel |
|---|---|---|---|---|
| *glossaryId | String | - | Glossar-ID | - |
Antwort
| Parameter | Typ | Standard | Beschreibung | Beispiel |
|---|---|---|---|---|
| glossaryId | String | - | Glossar-ID | - |
| name | String | - | Name des Glossars | - |
| desc | String | - | Beschreibung des Glossars | - |
| targetLang | String | - | Zielsprache | - |
| keys | String[] | - | Liste der Begriffe | - |
| translated | JSON | - | Zuordnung von Begriffen zu Übersetzungen | - |
| createdAt | DateTime | - | Erstellungszeit der Terminologie | - |
| updatedAt | DateTime | - | Aktualisierungszeit des Glossars | - |