/
list

list

Lists device registries.

Note: This is an admin API.

The URL, systemKey, and token this endpoint requires are obtained differently than others. To get those, do the following:

  1. Click the Select project drop-down at the top of the IoT Core UI.

  2. Click the Edit icon (pencil) next to the desired project.

  3. Go to the SERVICE ACCOUNTS tab.

  4. If a service account already exists, select it and choose DOWNLOAD CREDENTIALS. If a service account does not exist, create it and select DOWNLOAD CREDENTIALS.

  5. A JSON file will be downloaded to your local machine. Open the file with an editor. Use the systemKey, token, and URL from the file as needed below.

HTTP request

GET {url}/api/v/4/webhook/execute/{systemKey}/cloudiot

Query parameters

Parameters

Parameters

parent

string

The project and cloud region path. For example, projects/example-project/locations/us-central1.

pageSize

number

The maximum number of registries to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty nextPageToken in the response indicates that more data is available.

pageToken

string

The value returned by the last ListDeviceRegistriesResponse; indicates that this is a prior registries.list call’s continuation, and the system should return the next data page.

Header parameters

Parameters

Parameters