Method: partners.devices.get
Żądanie HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa zasobu interfejsu API urządzenia w formacie partners/[PARTNER_ID]/devices/[DEVICE_ID] .
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Device
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidworkprovisioning
Więcej informacji znajdziesz w artykule Omówienie protokołu OAuth 2.0.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-07 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]],[]]