Method: compatibility.devices.list

Lists devices.

HTTP request

GET https://androidpartner.googleapis.com/v1/compatibility/devices

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
pageSize

number

Size of each page.

pageToken

string

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

companyId

string (int64 format)

The APFE companyId of the company that devices must belong to. Note: This value is 0 by default. Note: If this value is 0, all devices will be returned.

filter

string

The filter. User can specify the filter to retrieve a sub list of devices. eg: company=Samsung

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

A response from list devices query.

JSON representation
{
  "devices": [
    {
      object (Device)
    }
  ],
  "nextPageToken": string
}
Fields
devices[]

object (Device)

A list of devices.

nextPageToken

string

Token to retrieve the next page of results, or empty if there are no more results in the list.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.