Devices
Retrieve a device
Devices
Retrieve a device
Retrieves a device.
GET
/
v1
/
devices
/
{device_id}
curl --request GET \
--url https://api.amberflow.io/v1/devices/{device_id} \
--header 'X-API-Key: <api-key>'
{
"id": "991fced7-024c-4162-abbe-320fec9de64f",
"created_at": "2024-09-23T12:00:00.000Z",
"location_id": "loc_lBHRyynPDIsPJNmj",
"name": "My Solar Inverter",
"device_type": "SOLAR_INVERTER",
"brand": "ENPHASE",
"icon_url": "https://database.amberflow.io/storage/v1/object/public/media/logos/enphase-logo-w200.png"
}
Authorizations
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.amberflow.io/v1/devices/{device_id} \
--header 'X-API-Key: <api-key>'
{
"id": "991fced7-024c-4162-abbe-320fec9de64f",
"created_at": "2024-09-23T12:00:00.000Z",
"location_id": "loc_lBHRyynPDIsPJNmj",
"name": "My Solar Inverter",
"device_type": "SOLAR_INVERTER",
"brand": "ENPHASE",
"icon_url": "https://database.amberflow.io/storage/v1/object/public/media/logos/enphase-logo-w200.png"
}