How can i get one device using API?

macphisto7 years ago

Hi

I need to get only one device using the deviceId with the API? I need to know the status of the specific device.

Thanks a lot

andsdoug7 years ago
macphisto7 years ago

But that will give me all devices for specific user. I need only "the device" filtered by deviceId

andsdoug7 years ago

another way is using 'jq' command before restapi command, 'jq' helps to filter json outputs.

Anton Tananaev7 years ago

There is no way to get a single device via the API. You can only get a full list of devices for selected user.