Method: compatibility.devices.products.list

Lists products.

HTTP request

GET https://androidpartner.googleapis.com/v1/compatibility/{parent=devices/*}/products

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Parent name, for example, devices/136D60F1/products. If parent is specified with deviceId, then only products belonging to the specified device will be returned. Otherwise, the response will contain all products the user has access to view.

Query parameters

Parameters
pageSize

number

Size of each page.

pageToken

string

The nextPageToken value returned from a previous List request, if any.

filter

string

The filter We can filter by the product launch status. There are three options: "filter=launched=all", "filter=launched=true", "filter=launched=false" which lists all products, launched product and not launched products accordingly.

orderBy

string

The order in which products are returned. User can specifiy the return order by modificationInfo. The options are by creation time or last modified time in ascending order. Descending order can be specify by "desc" suffix: "orderBy=creationTimeSec", orderBy="lastModifiedTimeSec desc"

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListProductsResponse.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidPartner

For more information, see the OAuth 2.0 Overview.