Android Device Provisioning Partner API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
API ช่วยให้ลูกค้าอุปกรณ์เคลื่อนที่และ EMM จัดการการตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่มแบบเป็นโปรแกรมได้
บริการ: androiddeviceดีๆ.googleapis.com
หากต้องการเรียกใช้บริการนี้ เราขอแนะนำให้คุณใช้ไลบรารีของไคลเอ็นต์ที่ Google จัดเตรียมไว้ให้ หากแอปพลิเคชันของคุณต้องใช้ไลบรารีของคุณเองเพื่อเรียกใช้บริการนี้ ให้ใช้ข้อมูลต่อไปนี้เมื่อคุณส่งคำขอ API
เอกสารการค้นพบ
เอกสารการค้นพบเป็นข้อกำหนดที่เครื่องอ่านได้สำหรับการอธิบายและใช้ REST API โดยใช้เพื่อสร้างไลบรารีของไคลเอ็นต์, ปลั๊กอิน IDE และเครื่องมืออื่นๆ ที่โต้ตอบกับ Google APIs บริการเดียวอาจมีเอกสารการค้นพบได้หลายรายการ บริการนี้มีเอกสารการค้นพบต่อไปนี้
ปลายทางบริการ
ปลายทางบริการคือ URL ฐานที่ระบุที่อยู่เครือข่ายของบริการ API บริการหนึ่งอาจมีปลายทางบริการหลายปลายทาง บริการนี้มีปลายทางบริการต่อไปนี้และ URI ทั้งหมดด้านล่างเกี่ยวข้องกับปลายทางของบริการนี้
https://androiddeviceprovisioning.googleapis.com
เมธอด |
list |
GET /v1/customers
แสดงบัญชีลูกค้าของผู้ใช้ |
เมธอด |
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/*}
อัปเดตค่าในช่องของการกำหนดค่า |
เมธอด |
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
ถอนการอ้างสิทธิ์อุปกรณ์จากลูกค้าและนำออกจากการตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่ม |
เมธอด |
list |
GET /v1/{parent=customers/*}/dpcs
แสดงรายการ DPC (เครื่องมือควบคุมนโยบายด้านอุปกรณ์) ที่รองรับการตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่ม |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]