List Management Term Lists - Update

用語リストを更新します。

PUT {Endpoint}/contentmoderator/lists/v1.0/termlists/{listId}

URI パラメーター

名前 / 必須 説明
Endpoint
path True

string

サポートされている Azure Cognitive Services エンドポイント (プロトコルとホスト名など https://westus.api.cognitive.microsoft.com)。

listId
path True

string

イメージ リストのリスト ID。

要求ヘッダー

名前 必須 説明
Ocp-Apim-Subscription-Key True

string

Content-Type True

string

コンテンツ タイプ。

要求本文

名前 説明
Description

string

リストの説明。

Metadata

リストのメタデータ。

Name

string

リストの名前。

応答

名前 説明
200 OK

TermList

OK です。

Other Status Codes

APIError

エラー応答。

セキュリティ

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

エラー本文。

TermList

用語リストのプロパティ。

APIError

API から返されるエラー情報。

名前 説明
Error

Error

エラー本文。

Error

エラー本文。

名前 説明
Code

string

Message

string

TermList

用語リストのプロパティ。

名前 説明
Description

string

用語リストの説明。

Id

integer

用語リスト ID。

Metadata

object

用語リストのメタデータ。

Name

string

用語リスト名。