AI-generated Key Takeaways
- 
          This endpoint retrieves device information using a GET request to a specific URL format. 
- 
          The request URL requires a namepath 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 Deviceobject containing the details of the requested device.
- 
          Authorization for this request requires the https://www.googleapis.com/auth/androidworkprovisioningOAuth scope.
Gets a device.
HTTP request
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The device API resource name in the format  | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Device.
Authorization Scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/androidworkprovisioning
For more information, see the OAuth 2.0 Overview.