Image - Get Metadata
Obtém metadados para a Imagem especificada.
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/images/{imageId}/metadata
Parâmetros de URI
Nome | Em | Obrigatório | Tipo | Description |
---|---|---|---|---|
image
|
path | True |
string uuid |
A ID da imagem. |
tenant
|
path | True |
string uuid |
A ID do locatário do Azure Sphere. |
Respostas
Nome | Tipo | Description |
---|---|---|
200 OK |
Êxito. |
Exemplos
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
}
Definições
ImageMetadata
Nome | Tipo | Description |
---|---|---|
ComponentId |
string |
Obtém ou define o identificador do componente. |
Description |
string |
Obtém ou define as informações que descrevem a imagem. |
Id |
string |
Obtém ou define o identificador de imagem. |
ImageType |
integer |
Essa propriedade é preterida. Please use ImageMetadata.Type |
Name |
string |
Obtém ou define o nome da imagem. |
Type |
enum:
|
Obtém ou define o tipo da imagem. |