Method: deployments.packages.get

  • Retrieves detailed or basic information about a specific Android app package using its resource name.

  • Utilizes an HTTP GET request with the package's resource name specified in the URL path.

  • Optionally accepts a 'view' query parameter to control the level of detail returned in the response.

  • Requires authorization with the 'https://www.googleapis.com/auth/android_partner_over_the_air' scope.

  • Returns a 'Package' object containing information about the requested package if successful, or a 'NOT_FOUND' error if the package does not exist.

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

string

Relative resource name. For example: "deployments/deployment_x/packages/package_a"

Query parameters

Parameters
view

enum (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.