Get a list IoT devices from device registry in Google Cloud Platform (GCP) using IoT Cloud Tester
Devices connect to Google Cloud Platform and send/receive data through MQTT or HTTP.
IoT Cloud Tester application provides an easy interface to get the list of devices from a device registry in Google Cloud platform.
To get the list of devices from a device registry in Google Cloud project,
- Select the project.
- In the 'Devices' tab, select the region, registry and press 'List Devices'.
- The application returns the list of devices, gateways the devices are bounded to, if any and the data model configured for the device.
To get the device list from a device registry in GCP, a GET request is made to the below URL.
Request sent to GCP to get device list
Response from GCP for device list in a device registry
"id" : "dev_117826",
"numId" : 3280059495495320
"id" : "dev_952945",
"numId" : 3189860822093986
"id" : "dev_95661",
"numId" : 3252538596013057
The device list can be viewed in the GCP console.