cURL
curl --request GET \ --url https://api.electra.systems/v1/public/devices/{deviceId} \ --header 'Authorization: Bearer <token>'
{ "message": "Device info retrieved", "data": { "name": "<string>", "alias": "<string>", "deviceId": "<string>", "description": "<string>", "type": "<string>", "status": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "meta": { "band": "<string>" }, "privacy": "<string>", "installation": "<string>", "latestData": { "status": 1, "createdAt": "2023-11-07T05:31:56Z" } } }
Returns information about a specific device. The deviceId can be the actual deviceId or alias. Requires authentication.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The device ID or alias
Device info retrieved
Response message
"Device info retrieved"
Show child attributes