List Management Term Lists - Get All Term Lists
すべての用語リストを取得します。
GET {Endpoint}/contentmoderator/lists/v1.0/termlists
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
Endpoint
|
path | True |
string |
サポートされている Azure Cognitive Services エンドポイント (プロトコルとホスト名など https://westus.api.cognitive.microsoft.com)。 |
要求ヘッダー
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
Term |
OK です。 |
Other Status Codes |
エラー応答。 |
セキュリティ
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
例
Get All Termlists request
Sample Request
GET {Endpoint}/contentmoderator/lists/v1.0/termlists
Sample Response
[
{
"Id": 99083,
"Name": "RacyContentList",
"Description": "List of racy terms.",
"Metadata": {
"Contentsource": "content source A",
"Purpose": "task A"
}
},
{
"Id": 89117,
"Name": "AbuseContentList",
"Description": "List of abusive terms.",
"Metadata": {
"Contentsource": "content source B",
"TaggedAs": "abuse"
}
}
]
定義
名前 | 説明 |
---|---|
APIError |
API から返されるエラー情報。 |
Error |
エラー本文。 |
Term |
用語リストのプロパティ。 |
APIError
API から返されるエラー情報。
名前 | 型 | 説明 |
---|---|---|
Error |
エラー本文。 |
Error
エラー本文。
名前 | 型 | 説明 |
---|---|---|
Code |
string |
|
Message |
string |
TermList
用語リストのプロパティ。
名前 | 型 | 説明 |
---|---|---|
Description |
string |
用語リストの説明。 |
Id |
integer |
用語リスト ID。 |
Metadata |
object |
用語リストのメタデータ。 |
Name |
string |
用語リスト名。 |