Method: partners.devices.get
בקשת HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם משאב ה-API של המכשיר בפורמט partners/[PARTNER_ID]/devices/[DEVICE_ID] .
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של Device
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/androidworkprovisioning
למידע נוסף, קראו את המאמר סקירה כללית של OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-07 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-07 (שעון UTC)."],[[["This endpoint retrieves device information using a GET request to a specific URL format."],["The request URL requires a `name` path parameter, which specifies the device's resource name, including the partner and device ID."],["The request body for this operation must be empty, without any data."],["A successful response returns a `Device` object containing the details of the requested device."],["Authorization for this request requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope."]]],["This outlines how to retrieve device information using a GET request to the specified URL: `https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}`. The `name` path parameter, in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`, is mandatory. No request body is needed. A successful request returns a `Device` object in the response body. Authorization requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. The URL follows gRPC Transcoding syntax.\n"]]