How can i get one device using API?

macphisto 9 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

andsdoug 9 years ago
macphisto 9 years ago

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

andsdoug 9 years ago

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

Anton Tananaev 9 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.