AI-generated Key Takeaways
-
This page details how to get a package using an HTTP GET request.
-
The request uses path and optional query parameters, and requires an empty request body.
-
A successful response returns a Package instance.
-
The request requires authorization with the
https://www.googleapis.com/auth/android_partner_over_the_airOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Gets a package. Returns NOT_FOUND if the matching path does not exist.
HTTP request
GET https://androidovertheair.googleapis.com/v1/{name=deployments/*/packages/**}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Relative resource name. For example: "deployments/deployment_x/packages/package_a" |
Query parameters
| Parameters | |
|---|---|
view |
Optional. Specify whether basic or detailed information of the package should be returned. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Package.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/android_partner_over_the_air
For more information, see the OAuth 2.0 Overview.