Method: deployments.packages.list
Stay organized with collections
Save and categorize content based on your preferences.
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"
|
Query parameters
Parameters |
view |
enum (View )
Optional. Specify whether basic or detailed information of each package should be returned.
|
includeDisabled |
boolean
Optional. Specify whether or not disabled packages should be included in the response.
|
Request body
The request body must be empty.
Response body
Response message for OverTheAirService.ListPackages.
If successful, the response body contains data with the following structure:
JSON representation |
{
"packages": [
{
object (Package )
}
]
} |
Fields |
packages[] |
object (Package )
The list of packages.
|
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThis API lists packages associated with Android over-the-air deployments.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify whether to include basic or detailed package information and whether to include disabled packages using query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of packages matching the specified criteria.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/android_partner_over_the_air\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document outlines the process for listing packages via an HTTP GET request to `https://androidovertheair.googleapis.com/v1/{name=deployments/*}/packages`. The `name` path parameter specifies the target deployment. Optional query parameters `view` and `includeDisabled` refine the package list. The request body must be empty. The response contains a JSON object with a `packages` array, holding package details. Authorization requires the `https://www.googleapis.com/auth/android_partner_over_the_air` OAuth scope.\n"],null,["# Method: deployments.packages.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPackagesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists [packages](/android/over-the-air/reference/rest/v1/deployments.packages#Package).\n\n### HTTP request\n\n`GET https://androidovertheair.googleapis.com/v1/{name=deployments/*}/packages`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------|\n| `name` | `string` Relative resource name. For example: \"deployments/deployment_x\" |\n\n### Query parameters\n\n| Parameters ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `view` | `enum (`[View](/android/over-the-air/reference/rest/v1/View)`)` Optional. Specify whether basic or detailed information of each package should be returned. |\n| `includeDisabled` | `boolean` Optional. Specify whether or not disabled packages should be included in the response. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for OverTheAirService.ListPackages.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------|\n| ``` { \"packages\": [ { object (/android/over-the-air/reference/rest/v1/deployments.packages#Package) } ] } ``` |\n\n| Fields ||\n|--------------|--------------------------------------------------------------------------------------------------------------------|\n| `packages[]` | `object (`[Package](/android/over-the-air/reference/rest/v1/deployments.packages#Package)`)` The list of packages. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/android_partner_over_the_air`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]