List Management Term Lists - Update
用語リストを更新します。
PUT {Endpoint}/contentmoderator/lists/v1.0/termlists/{listId}
URI パラメーター
Name | In | Required | Type | Description |
---|---|---|---|---|
Endpoint
|
path | True |
|
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名など)。 https://westus.api.cognitive.microsoft.com |
list
|
path | True |
|
イメージ リストのリスト ID。 |
要求ヘッダー
Name | Required | Type | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
|
|
Content-Type | True |
|
コンテンツの種類。 |
応答
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
エラー応答。 |
セキュリティ
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
例
Update Termlist request
Sample Request
PUT {Endpoint}/contentmoderator/lists/v1.0/termlists/89003
{
"Name": "TermList B",
"Description": "List of offensive terms.",
"Metadata": {
"TaggedAs": "Offensive",
"ContentSource": "Content Source A"
}
}
Sample Response
{
"Id": 89023,
"Name": "TermList B",
"Description": "List of offensive terms.",
"Metadata": {
"TaggedAs": "Offensive",
"ContentSource": "Content Source A"
}
}
定義
APIError |
API によって返されるエラー情報 |
Error |
エラー本文。 |
Term |
用語リストのプロパティ。 |
APIError
API によって返されるエラー情報
Name | Type | Description |
---|---|---|
Error |
エラー本文。 |
Error
エラー本文。
Name | Type | Description |
---|---|---|
Code |
|
|
Message |
|
TermList
用語リストのプロパティ。
Name | Type | Description |
---|---|---|
Description |
|
用語リストの説明。 |
Id |
|
用語リスト ID。 |
Metadata |
|
用語リストのメタデータ。 |
Name |
|
用語リスト名。 |