Image - Get Metadata
Gets metadata for the specified Image.
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/images/{imageId}/metadata
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
image
|
path | True |
string uuid |
The Image ID. |
tenant
|
path | True |
string uuid |
The Azure Sphere tenant ID. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success. |
Examples
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
}
Definitions
ImageMetadata
Name | Type | Description |
---|---|---|
ComponentId |
string |
Gets or sets the component identifier. |
Description |
string |
Gets or sets the information describing the image. |
Id |
string |
Gets or sets the image identifier. |
ImageType |
integer |
This property is deprecated. Please use ImageMetadata.Type |
Name |
string |
Gets or sets the name of the image. |
Type |
enum:
|
Gets or sets the image's type. |