文档目录

术语表 API

查询术语表

/v1/glossary/query

通过ID获取术语表详情。

示例

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}'

请求参数

参数类型默认描述示例
*glossaryIdString-

术语表ID

-

响应

参数类型默认描述示例
glossaryIdString-

术语表ID

-
nameString-

术语表名称

-
descString-

术语表描述

-
targetLangString-

目标语言

-
keysString[]-

术语列表

-
translatedJSON-

术语到翻译的映射

-
createdAtDateTime-

术语表的创建时间

-
updatedAtDateTime-

术语表的更新时间

-
术语表 API
创建术语表
术语表 API
更新术语表