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
Ocp-Apim-Subscription-Key: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
Content-Type: application/json
{
"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 |
|
用語の一覧の名前。 |