How can i get one device using API?

macphisto8 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

andsdoug8 years ago
macphisto8 years ago

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

andsdoug8 years ago

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

Anton Tananaev8 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.