Method: customers.reports.countDevicesPerReleaseChannel

获取每个渠道的设备数量。

HTTP 请求

GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countDevicesPerReleaseChannel

网址采用 gRPC 转码语法。

路径参数

参数
customer

string

必需。以“customers/C”或“customers/my_customer”为前缀的混淆客户 ID。

查询参数

参数
date

object (Date)

表示开始统计有效设备的日期(基于世界协调时间 [UTC])。时间戳采用 ISO 8601 格式,即 yyyy-mm-dd

请求正文

请求正文必须为空。

响应正文

包含具有指定渠道的设备数量的响应。

如果成功,响应正文将包含结构如下的数据:

JSON 表示法
{
  "unreportedChannelCount": string,
  "canaryChannelCount": string,
  "devChannelCount": string,
  "betaChannelCount": string,
  "stableChannelCount": string,
  "ltcChannelCount": string,
  "ltsChannelCount": string,
  "unsupportedChannelCount": string
}
字段
unreportedChannelCount

string (int64 format)

发布渠道未报告的设备数量。

canaryChannelCount

string (int64 format)

采用 Canary 版发布渠道的设备数量。

devChannelCount

string (int64 format)

采用开发版发布渠道的设备数量。

betaChannelCount

string (int64 format)

采用 Beta 版发布渠道的设备数量。

stableChannelCount

string (int64 format)

采用稳定版发布渠道的设备数量。

ltcChannelCount

string (int64 format)

采用 LTC 发布渠道的设备数量。

ltsChannelCount

string (int64 format)

采用 LTS 发布渠道的设备数量。

unsupportedChannelCount

string (int64 format)

发布渠道不受支持的设备数量。

授权范围

需要以下 OAuth 作用域:

  • https://www.googleapis.com/auth/chrome.management.reports.readonly