Android Device Provisioning Partner API
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ה-API מאפשר ללקוחות במכשירים ניידים ולספקי EMM לנהל באופן פרוגרמטי את ההרשמה דרך הארגון.
שירות: androiddevicemanage.googleapis.com
כדי להתקשר לשירות הזה, מומלץ להשתמש בספריות הלקוח ש-Google מספקת. אם האפליקציה שלכם צריכה להשתמש בספריות משלכם כדי לקרוא לשירות הזה, עליכם להשתמש במידע הבא בזמן שליחת בקשות ה-API.
מסמך Discovery
מסמך Discovery הוא מפרט קריא למחשבים לתיאור ולשימוש של ממשקי API בארכיטקטורת REST. אפשר להשתמש בו כדי ליצור ספריות לקוח, יישומי פלאגין של סביבת פיתוח משולבת (IDE) וכלים אחרים שיוצרים אינטראקציה עם Google APIs. שירות אחד עשוי לספק כמה מסמכי גילוי. השירות הזה מספק את מסמך הגילוי הבא:
נקודת קצה (endpoint) של שירות
נקודת קצה (endpoint) של שירות היא כתובת URL בסיסית שמציינת את כתובת הרשת של שירות API. לשירות אחד יכולות להיות כמה נקודות קצה (endpoint) של שירות. השירות הזה כולל את נקודת הקצה הבאה של השירות, וכל מזהי ה-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 (בקרי מדיניות מכשירים) שתומכים בהרשמה דרך הארגון. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]