共用方式為


Devices - List In Product

取得屬於指定產品的所有裝置

GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/products/{productId}/devices
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/products/{productId}/devices?maxPageSize={maxPageSize}

URI 參數

名稱 位於 必要 類型 Description
productId
path True

string

uuid

產品識別碼。

tenantId
path True

string

uuid

Azure Sphere 租使用者識別碼。

maxPageSize
query

integer

int32

回應中應包含的結果數目上限。

要求標頭

名稱 必要 類型 Description
Sphere-Continuation

string

用來繼續上一頁結果的接續權杖。

回應

名稱 類型 Description
200 OK

DeviceV2ItemCollectionResponse

成功。

定義

名稱 Description
DeviceV2
DeviceV2ItemCollectionResponse

DeviceV2

名稱 類型 Description
ChipSku enum:

0 - MT3620AN

此裝置支援的 ChipSku

DeviceGroupId

string

指派此裝置之 DeviceGroup 的唯一識別碼。值將會是 Null,直到將裝置指派給裝置群組為止。

DeviceId

string

裝置的唯一識別碼。

LastAvailableOSVersion

string

要求更新時,可在裝置上安裝的作業系統版本。

LastInstalledOSVersion

string

要求更新時,在裝置上執行的 OS 版本。

LastOSUpdateUTC

string

上次要求更新呼叫,且有新版本作業系統可供安裝時,國際標準時間 (UTC) 時間。

LastUpdateRequestUTC

string

通用時間協調時間 (UTC) 裝置上次要求更新呼叫的時間。

ProductId

string

指派此裝置之產品的唯一識別碼。 值將會是 Null,直到將裝置指派給裝置群組為止。

TenantId

string

擁有此裝置之 as3 租使用者的唯一識別碼。 值會是空的,直到宣告裝置為止。

DeviceV2ItemCollectionResponse

名稱 類型 Description
ContinuationToken

string

可用來取得下一組專案的接續權杖。

Items

DeviceV2[]

專案清單。