Args:
device_id (str): ID of the Device.
user (User): User authenticated with api key.
db (Session): Database session.
Returns:
DeviceModel: The DeviceModel object.
GET
/
devices
/
{device_id}
Get Device Endpoint
curl --request GET \ --url 'https://api.example.com/devices/{device_id}?HAIQU_API_KEY='