Image - Get Metadata
Obtiene los metadatos de la imagen especificada.
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/images/{imageId}/metadata
Parámetros de identificador URI
Nombre | En | Requerido | Tipo | Description |
---|---|---|---|---|
image
|
path | True |
string uuid |
Id. de imagen. |
tenant
|
path | True |
string uuid |
Identificador de inquilino de Azure Sphere. |
Respuestas
Nombre | Tipo | Description |
---|---|---|
200 OK |
Correcto. |
Ejemplos
Get an image's metadata
Sample Request
GET https://prod.core.sphere.azure.net/v2/tenants/768c2cd6-1bf0-4521-9f53-084a331d81cb/images/985453bb-eb5c-4ff2-8e06-aef4786ac445/metadata
Sample Response
{
"Id": "985453bb-eb5c-4ff2-8e06-aef4786ac445",
"Name": "DishwasherHighLevelApp",
"ComponentId": "45f4d635-1ac8-4fc3-b386-ffb74f13331f",
"Description": null,
"ImageType": 10,
"Type": 10
}
Definiciones
ImageMetadata
Nombre | Tipo | Description |
---|---|---|
ComponentId |
string |
Obtiene o establece el identificador del componente. |
Description |
string |
Obtiene o establece la información que describe la imagen. |
Id |
string |
Obtiene o establece el identificador de imagen. |
ImageType |
integer |
Esta propiedad está desusada. Use ImageMetadata.Type. |
Name |
string |
Obtiene o establece el nombre de la imagen. |
Type |
enum:
|
Obtiene o establece el tipo de la imagen. |