List Management Term Lists - Get All Term Lists
Hämtar alla termlistor.
GET {Endpoint}/contentmoderator/lists/v1.0/termlists
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Azure Cognitive Services-slutpunkter som stöds (protokoll och värdnamn, till exempel https://westus.api.cognitive.microsoft.com). |
Begärandehuvud
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Term |
OK. |
Other Status Codes |
Felsvar. |
Säkerhet
Ocp-Apim-Subscription-Key
Typ:
apiKey
I:
header
Exempel
Get All Termlists request
Exempelbegäran
GET {Endpoint}/contentmoderator/lists/v1.0/termlists
Exempelsvar
[
{
"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"
}
}
]
Definitioner
Name | Description |
---|---|
APIError |
Felinformation som API:et returnerar. |
Error |
Feltext. |
Term |
Egenskaper för termlista. |
APIError
Felinformation som API:et returnerar.
Name | Typ | Description |
---|---|---|
Error |
Feltext. |
Error
Feltext.
Name | Typ | Description |
---|---|---|
Code |
string |
|
Message |
string |
TermList
Egenskaper för termlista.
Name | Typ | Description |
---|---|---|
Description |
string |
Beskrivning av termlistan. |
Id |
integer |
Termlist-ID. |
Metadata |
object |
Metadata för termlistan. |
Name |
string |
Namn på termlista. |