List Management Image Lists - Get All Image Lists
Získá všechny seznamy obrázků.
GET {Endpoint}/contentmoderator/lists/v1.0/imagelists
Parametry identifikátoru URI
| Name | V | Vyžadováno | Typ | Description |
|---|---|---|---|---|
|
Endpoint
|
path | True |
string |
Podporované koncové body služeb Azure Cognitive Services (protokol a název hostitele, například https://westus.api.cognitive.microsoft.com). |
Hlavička požadavku
| Name | Vyžadováno | Typ | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
Odpovědi
| Name | Typ | Description |
|---|---|---|
| 200 OK |
OK. |
|
| Other Status Codes |
Chybová odpověď. |
Zabezpečení
Ocp-Apim-Subscription-Key
Typ:
apiKey
V:
header
Příklady
Get All Imagelists request
Ukázkový požadavek
GET {Endpoint}/contentmoderator/lists/v1.0/imagelists
Ukázková odpověď
[
{
"Id": 99083,
"Name": "RacyContentList",
"Description": "List of images with racy content.",
"Metadata": {
"Contentsource": "content source A",
"Purpose": "task A"
}
},
{
"Id": 89117,
"Name": "AbuseContentList",
"Description": "List of images with abuse content.",
"Metadata": {
"Contentsource": "content source B",
"TaggedAs": "abuse"
}
}
]
Definice
| Name | Description |
|---|---|
| APIError |
Informace o chybě, které rozhraní API vrací |
| Error |
Text chyby. |
|
Image |
Vlastnosti seznamu obrázků |
APIError
Informace o chybě, které rozhraní API vrací
| Name | Typ | Description |
|---|---|---|
| Error |
Text chyby. |
Error
Text chyby.
| Name | Typ | Description |
|---|---|---|
| Code |
string |
|
| Message |
string |
ImageList
Vlastnosti seznamu obrázků
| Name | Typ | Description |
|---|---|---|
| Description |
string |
Popis seznamu obrázků |
| Id |
integer |
ID seznamu obrázků. |
| Metadata |
object |
Metadata seznamu obrázků |
| Name |
string |
Název seznamu obrázků |