List Management Image - Add Image File Input
Ajoutez une image à la liste avec listId égal à l’ID de liste passé.
POST {Endpoint}/contentmoderator/lists/v1.0/imagelists/{listId}/images
POST {Endpoint}/contentmoderator/lists/v1.0/imagelists/{listId}/images?overload=stream&tag={tag}&label={label}
Paramètres URI
Nom | Dans | Obligatoire | Type | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Points de terminaison Azure Cognitive Services pris en charge (protocole et nom d’hôte, tels que https://westus.api.cognitive.microsoft.com). |
list
|
path | True |
string |
ID de liste de la liste d’images. |
label
|
query |
string |
Étiquette d’image. |
|
tag
|
query |
integer |
Balise de l’image. |
En-tête de la demande
Media Types: "image/gif", "image/jpeg", "image/png", "image/bmp", "image/tiff"
Nom | Obligatoire | Type | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Corps de la demande
Media Types: "image/gif", "image/jpeg", "image/png", "image/bmp", "image/tiff"
Nom | Type | Description |
---|---|---|
ImageStream |
object (file) |
Fichier image. |
Réponses
Nom | Type | Description |
---|---|---|
200 OK |
D’ACCORD. |
|
Other Status Codes |
Réponse d’erreur. |
Sécurité
Ocp-Apim-Subscription-Key
Type:
apiKey
Dans:
header
Définitions
Nom | Description |
---|---|
Additional |
Liste d’informations avancées. |
APIError |
Informations d’erreur retournées par l’API. |
Error |
Corps de l’erreur. |
Image |
Propriétés d’image. |
Status |
Propriétés d’état. |
AdditionalInfo
Liste d’informations avancées.
Nom | Type | Description |
---|---|---|
Key |
string |
Paramètre de clé. |
Value |
string |
Paramètre valeur. |
APIError
Informations d’erreur retournées par l’API.
Nom | Type | Description |
---|---|---|
Error |
Corps de l’erreur. |
Error
Corps de l’erreur.
Nom | Type | Description |
---|---|---|
Code |
string |
|
Message |
string |
Image
Propriétés d’image.
Nom | Type | Description |
---|---|---|
AdditionalInfo |
Liste d’informations avancées. |
|
ContentId |
string |
ID de contenu. |
Status |
Détails de l’état. |
|
TrackingId |
string |
ID de suivi. |
Status
Propriétés d’état.
Nom | Type | Description |
---|---|---|
Code |
integer |
Code d’état. |
Description |
string |
Description de l’état. |
Exception |
string |
État de l’exception. |