借助该 API,移动设备客户和 EMM 能够以程序化方式管理零触摸注册。
- REST 资源:v1.customers
- REST 资源:v1.customers.configurations
- REST 资源:v1.customers.devices
- REST 资源:v1.customers.dpcs
服务:androiddeviceProvisioning.googleapis.com
如要调用此服务,我们建议您使用 Google 提供的客户端库。如果您的应用需要使用您自己的库来调用此服务,则在发出 API 请求时应使用以下信息。
发现文档
发现文档是用于说明和使用 REST API 的机器可读规范。它用于构建客户端库、IDE 插件以及与 Google API 交互的其他工具。一项服务可能会提供多个发现文档。此服务提供了以下发现文档:
服务端点
服务端点是指定 API 服务的网络地址的基本网址。一项服务可能有多个服务端点。此服务具有以下服务端点,下面的所有 URI 都与此服务端点相关:
- https://androiddeviceprovisioning.googleapis.com
REST 资源:v1.customers
| 方法 | |
|---|---|
| list | GET /v1/customers() 列出用户的客户账号。 | 
REST 资源:v1.customers.configurations
| 方法 | |
|---|---|
| create | POST /v1/{parent=customers/*}/configurations() 创建新配置。 | 
| delete | DELETE /v1/{name=customers/*/configurations/*}() 删除未使用的配置。 | 
| get | GET /v1/{name=customers/*/configurations/*}() 获取配置的详细信息。 | 
| list | GET /v1/{parent=customers/*}/configurations() 列出客户的配置。 | 
| patch | PATCH /v1/{configuration.name=customers/*/configurations/*}() 更新配置的字段值。 | 
REST 资源:v1.customers.devices
| 方法 | |
|---|---|
| applyConfiguration | POST /v1/{parent=customers/*}/devices:applyConfiguration() 对设备应用配置,以便为设备注册零触摸注册。 | 
| get | GET /v1/{name=customers/*/devices/*}() 获取设备的详细信息。 | 
| list | GET /v1/{parent=customers/*}/devices() 列出客户的设备。 | 
| removeConfiguration | POST /v1/{parent=customers/*}/devices:removeConfiguration() 从设备中移除配置。 | 
| unclaim | POST /v1/{parent=customers/*}/devices:unclaim() 取消对客户设备的声明,并将其从零触摸注册中移除。 | 
REST 资源:v1.customers.dpcs
| 方法 | |
|---|---|
| list | GET /v1/{parent=customers/*}/dpcs() 列出支持零触摸注册的 DPC(设备政策控制器)。 |