Android Device Provisioning Partner API
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
API này cho phép khách hàng sử dụng thiết bị di động và dịch vụ EMM quản lý quy trình thiết lập tự động theo phương thức lập trình.
Dịch vụ: androiddevicelicensing.googleapis.com
Để gọi dịch vụ này, bạn nên sử dụng thư viện ứng dụng do Google cung cấp. Nếu ứng dụng cần sử dụng thư viện của riêng bạn để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn yêu cầu API.
Tài liệu khám phá
Discovery Document (Tài liệu khám phá) là quy cách mà máy có thể đọc được để mô tả và sử dụng các API REST. Thư viện này được dùng để tạo thư viện ứng dụng, trình bổ trợ IDE và các công cụ khác tương tác với API của Google. Một dịch vụ có thể cung cấp nhiều tài liệu khám phá. Dịch vụ này cung cấp tài liệu khám phá sau:
Điểm cuối dịch vụ
Điểm cuối của dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau đây và tất cả các URI bên dưới đều liên quan đến điểm cuối dịch vụ này:
https://androiddeviceprovisioning.googleapis.com
Phương thức |
list |
GET /v1/customers số
Liệt kê các tài khoản khách hàng của người dùng. |
Phương thức |
create |
POST /v1/{parent=customers/*}/configurations số
Tạo một cấu hình mới. |
delete |
DELETE /v1/{name=customers/*/configurations/*} số
Xoá một cấu hình không dùng đến. |
get |
GET /v1/{name=customers/*/configurations/*} số
Lấy thông tin chi tiết của một cấu hình. |
list |
GET /v1/{parent=customers/*}/configurations số
Liệt kê các cấu hình của khách hàng. |
patch |
PATCH /v1/{configuration.name=customers/*/configurations/*} số
Cập nhật các giá trị trường của cấu hình. |
Phương thức |
applyConfiguration |
POST /v1/{parent=customers/*}/devices:applyConfiguration số
Áp dụng một Cấu hình cho thiết bị để đăng ký thiết lập tự động cho thiết bị. |
get |
GET /v1/{name=customers/*/devices/*} số
Lấy thông tin chi tiết về một thiết bị. |
list |
GET /v1/{parent=customers/*}/devices số
Liệt kê các thiết bị của khách hàng. |
removeConfiguration |
POST /v1/{parent=customers/*}/devices:removeConfiguration số
Xoá một cấu hình khỏi thiết bị. |
unclaim |
POST /v1/{parent=customers/*}/devices:unclaim số
Huỷ xác nhận quyền sở hữu đối với thiết bị của khách hàng và xoá thiết bị đó khỏi quy trình thiết lập tự động. |
Phương thức |
list |
GET /v1/{parent=customers/*}/dpcs số
Liệt kê các DPC (đơn vị kiểm soát chính sách thiết bị) có hỗ trợ thiết lập tự động. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThis API enables mobile device customers and EMMs to manage zero-touch enrollment programmatically.\u003c/p\u003e\n"],["\u003cp\u003eThe service utilizes REST resources including \u003ccode\u003ev1.customers\u003c/code\u003e, \u003ccode\u003ev1.customers.configurations\u003c/code\u003e, \u003ccode\u003ev1.customers.devices\u003c/code\u003e, and \u003ccode\u003ev1.customers.dpcs\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides various methods to manage customer accounts, configurations, and devices, including creating, deleting, listing, and updating configurations.\u003c/p\u003e\n"],["\u003cp\u003eDevice management includes applying and removing configurations, getting device details, and unclaiming devices from zero-touch enrollment.\u003c/p\u003e\n"],["\u003cp\u003eThe service endpoint for this API is \u003ccode\u003ehttps://androiddeviceprovisioning.googleapis.com\u003c/code\u003e, and it offers a discovery document for building client libraries.\u003c/p\u003e\n"]]],["The API allows managing zero-touch enrollment for mobile devices. It provides resources for `customers`, `configurations`, `devices`, and `dpcs`. Key actions include: listing customer accounts and DPCs; creating, deleting, getting, listing, and updating configurations; and applying or removing configurations from devices, along with getting device details, listing them and removing them from the zero-touch enrollment process. These resources use `GET`, `POST`, `DELETE` and `PATCH` to manage data.\n"],null,["# Android Device Provisioning Partner API\n\nThe API lets mobile device customers and EMMs programmatically manage zero-touch enrollment.\n\n- [REST Resource: v1.customers](#v1.customers)\n- [REST Resource: v1.customers.configurations](#v1.customers.configurations)\n- [REST Resource: v1.customers.devices](#v1.customers.devices)\n- [REST Resource: v1.customers.dpcs](#v1.customers.dpcs)\n\nService: androiddeviceprovisioning.googleapis.com\n-------------------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://androiddeviceprovisioning.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://androiddeviceprovisioning.googleapis.com`\n\nREST Resource: [v1.customers](/zero-touch/reference/customer/rest/v1/customers)\n-------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------|---------------------------------------------------------|\n| [list](/zero-touch/reference/customer/rest/v1/customers/list) | `GET /v1/customers` Lists the user's customer accounts. |\n\nREST Resource: [v1.customers.configurations](/zero-touch/reference/customer/rest/v1/customers.configurations)\n-------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| [create](/zero-touch/reference/customer/rest/v1/customers.configurations/create) | `POST /v1/{parent=customers/*}/configurations` Creates a new configuration. |\n| [delete](/zero-touch/reference/customer/rest/v1/customers.configurations/delete) | `DELETE /v1/{name=customers/*/configurations/*}` Deletes an unused configuration. |\n| [get](/zero-touch/reference/customer/rest/v1/customers.configurations/get) | `GET /v1/{name=customers/*/configurations/*}` Gets the details of a configuration. |\n| [list](/zero-touch/reference/customer/rest/v1/customers.configurations/list) | `GET /v1/{parent=customers/*}/configurations` Lists a customer's configurations. |\n| [patch](/zero-touch/reference/customer/rest/v1/customers.configurations/patch) | `PATCH /v1/{configuration.name=customers/*/configurations/*}` Updates a configuration's field values. |\n\nREST Resource: [v1.customers.devices](/zero-touch/reference/customer/rest/v1/customers.devices)\n-----------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [applyConfiguration](/zero-touch/reference/customer/rest/v1/customers.devices/applyConfiguration) | `POST /v1/{parent=customers/*}/devices:applyConfiguration` Applies a Configuration to the device to register the device for zero-touch enrollment. |\n| [get](/zero-touch/reference/customer/rest/v1/customers.devices/get) | `GET /v1/{name=customers/*/devices/*}` Gets the details of a device. |\n| [list](/zero-touch/reference/customer/rest/v1/customers.devices/list) | `GET /v1/{parent=customers/*}/devices` Lists a customer's devices. |\n| [removeConfiguration](/zero-touch/reference/customer/rest/v1/customers.devices/removeConfiguration) | `POST /v1/{parent=customers/*}/devices:removeConfiguration` Removes a configuration from device. |\n| [unclaim](/zero-touch/reference/customer/rest/v1/customers.devices/unclaim) | `POST /v1/{parent=customers/*}/devices:unclaim` Unclaims a device from a customer and removes it from zero-touch enrollment. |\n\nREST Resource: [v1.customers.dpcs](/zero-touch/reference/customer/rest/v1/customers.dpcs)\n-----------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| [list](/zero-touch/reference/customer/rest/v1/customers.dpcs/list) | `GET /v1/{parent=customers/*}/dpcs` Lists the DPCs (device policy controllers) that support zero-touch enrollment. |"]]