Method: enterprises.devices.list

列出由企業管理的裝置。

HTTP 要求

GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/devices

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

要列出裝置的上層企業。例如「enterprises/XYZ」。

查詢參數

參數
filter

string

此為選用篩選器,用來列出裝置。

篩選器可用於以下位置:裝置自訂名稱 (子字串比對):'customName=wing'

要求主體

要求主體必須為空白。

回應主體

SmartDeviceManagementService.ListDevices 的回應訊息

如果成功,回應主體即會包含具有以下結構的資料:

JSON 表示法
{
  "devices": [
    {
      object (Device)
    }
  ]
}
欄位
devices[]

object (Device)

裝置清單。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/sdm.service

詳情請參閱 OAuth 2.0 總覽