- Mock serverhttps://develop-api.esper.io/_mock/openapi/device/v0/devices/{id}/devicestate
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/device/v0/devices/{id}/devicestate
curl -i -X GET \
'https://develop-api.esper.io/_mock/openapi/device/v0/devices/{id}/devicestate' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Details of the current device state
GPS state of the device
Enum:"LOCATION_MODE_HIGH_ACCURACY""LOCATION_MODE_SENSORS_ONLY""LOCATION_MODE_BATTERY_SAVING""LOCATION_MODE_OFF""LOCATION_MODE_ON"
Display rotation of the device
Enum:"AUTO""PORTRAIT_ONLY""LANDSCAPE_ONLY""INVERTED_PORTRAIT_ONLY""INVERTED_LANDSCAPE_ONLY"
Response
{ "gps_state": "LOCATION_MODE_HIGH_ACCURACY", "wifi_state": true, "adb_enabled": true, "adb_timeout": 0, "remote_adb_enabled": true, "remote_adb_ip": "string", "remote_adb_port": 0, "audio_settings": {}, "rotation_state": "AUTO", "bluetooth_state": true, "brightness_scale": 0, "screen_off_timeout": 0, "use_only_saved_ap": true }