List Management Image Lists - Get All Image Lists
Ottiene tutti gli elenchi di immagini.
GET {Endpoint}/contentmoderator/lists/v1.0/imagelists
Parametri dell'URI
| Nome | In | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Endpoint
|
path | True |
string |
Endpoint di Servizi cognitivi di Azure supportati (protocollo e nome host, ad esempio https://westus.api.cognitive.microsoft.com). |
Intestazione della richiesta
| Nome | Necessario | Tipo | Descrizione |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
Risposte
| Nome | Tipo | Descrizione |
|---|---|---|
| 200 OK |
OK. |
|
| Other Status Codes |
Risposta di errore. |
Sicurezza
Ocp-Apim-Subscription-Key
Tipo:
apiKey
In:
header
Esempio
Get All Imagelists request
Esempio di richiesta
GET {Endpoint}/contentmoderator/lists/v1.0/imagelists
Risposta di esempio
[
{
"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"
}
}
]
Definizioni
| Nome | Descrizione |
|---|---|
| APIError |
Informazioni sull'errore restituite dall'API. |
| Error |
Corpo dell'errore. |
|
Image |
Proprietà dell'elenco di immagini. |
APIError
Informazioni sull'errore restituite dall'API.
| Nome | Tipo | Descrizione |
|---|---|---|
| Error |
Corpo dell'errore. |
Error
Corpo dell'errore.
| Nome | Tipo | Descrizione |
|---|---|---|
| Code |
string |
|
| Message |
string |
ImageList
Proprietà dell'elenco di immagini.
| Nome | Tipo | Descrizione |
|---|---|---|
| Description |
string |
Descrizione per l'elenco di immagini. |
| Id |
integer |
ID elenco immagini. |
| Metadata |
object |
Metadati dell'elenco di immagini. |
| Name |
string |
Nome dell'elenco di immagini. |