更新条款
开发环境
开发环境
PUT
https://enterprise-api.writer.com/terminology/organization/{organizationId}/team/{teamId}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://enterprise-api.writer.com/terminology/organization//team/' \
--header 'content-type: application/json' \
--data-raw ''
响应示例响应示例
200 - 成功示例
{
"models": [
{
"id": 0,
"termBankId": 0,
"term": "string",
"type": "approved",
"pos": "noun",
"caseSensitive": true,
"description": "string",
"highlight": true,
"creationTime": "2024-02-01T06:08:07.362Z",
"modificationTime": "2024-02-01T06:08:07.362Z",
"createdUser": {
"id": 0,
"fullName": "string",
"email": "string"
},
"modifiedUser": {
"id": 0,
"fullName": "string",
"email": "string"
},
"examples": [
{
"id": 0,
"termId": 0,
"termBankId": 0,
"example": "string",
"type": "good"
}
],
"mistakes": [
{
"id": 0,
"termId": 0,
"termBankId": 0,
"mistake": "string",
"pos": "noun",
"caseSensitive": true
}
],
"tags": [
{
"id": 0,
"tag": "string",
"termId": 0,
"parentTagId": 0
}
],
"linkedTerms": [
{
"id": 0,
"termId": 0,
"linkedTermId": 0,
"term": "string",
"pos": "noun",
"caseSensitive": true,
"approvedTermExtension": {
"id": 0,
"termId": 0,
"capitalize": true,
"fixCommonMistakes": true,
"fixCase": true
}
}
],
"backlinkedTerms": [
{
"id": 0,
"termId": 0,
"linkedTermId": 0,
"term": "string",
"pos": "noun",
"caseSensitive": true,
"approvedTermExtension": {
"id": 0,
"termId": 0,
"capitalize": true,
"fixCommonMistakes": true,
"fixCase": true
}
}
],
"approvedTermExtension": {
"id": 0,
"termId": 0,
"capitalize": true,
"fixCommonMistakes": true,
"fixCase": true
}
}
],
"fails": [
{
"description": "string",
"key": "string"
}
]
}
请求参数
Path 参数
organizationId
string
必需
teamId
string
必需
Header 参数
content-type
string
必需
示例值:
application/json
返回响应
修改于 2024-02-01 06:51:01