Image - List Images For Tenant
지정된 Azure Sphere 테넌트 ID에 대한 이미지를 나열합니다.
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/images
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/images?maxPageSize={maxPageSize}
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
tenant
|
path | True |
string uuid |
Azure Sphere 테넌트 ID입니다. |
max
|
query |
integer int32 |
응답에 포함해야 하는 최대 결과 수입니다. |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
Sphere-Continuation |
string |
결과의 이전 페이지에서 계속하는 데 사용되는 연속 토큰입니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
성공. |
예제
List all images for the specified tenant
Sample Request
GET https://prod.core.sphere.azure.net/v2/tenants/768c2cd6-1bf0-4521-9f53-084a331d81cb/images
Sample Response
{
"Items": [
{
"Id": "583d37d2-dc16-441f-b927-933edd4c1085",
"Name": "RefrigeratorRealTimeApp",
"ComponentId": "005180bc-402f-4cb3-a662-72937dbcde47",
"Description": null,
"ImageType": 10,
"Type": 10
},
{
"Id": "a43206c8-f384-44a2-84ad-c86ce2937a3e",
"Name": "RefrigeratorHighLevelApp",
"ComponentId": "25025d2c-66da-4448-bae1-ac26fcdd3627",
"Description": null,
"ImageType": 10,
"Type": 10
},
{
"Id": "985453bb-eb5c-4ff2-8e06-aef4786ac445",
"Name": "DishwasherHighLevelApp",
"ComponentId": "45f4d635-1ac8-4fc3-b386-ffb74f13331f",
"Description": null,
"ImageType": 10,
"Type": 10
}
],
"ContinuationToken": null
}
정의
Name | Description |
---|---|
Image |
|
Image |
ImageMetadata
Name | 형식 | Description |
---|---|---|
ComponentId |
string |
구성 요소 식별자를 가져오거나 설정합니다. |
Description |
string |
이미지를 설명하는 정보를 가져오거나 설정합니다. |
Id |
string |
이미지 식별자를 가져오거나 설정합니다. |
ImageType |
integer |
이 속성은 사용되지 않습니다. ImageMetadata.Type을 사용하세요. |
Name |
string |
이미지의 이름을 가져오거나 설정합니다. |
Type |
enum:
|
이미지의 형식을 가져오거나 설정합니다. |
ImageMetadataItemCollectionResponse
Name | 형식 | Description |
---|---|---|
ContinuationToken |
string |
다음 항목 집합을 가져오는 데 사용할 수 있는 연속 토큰입니다. |
Items |
항목 목록입니다. |