Get device data
GET/api/v2/device
Retrieves complete device information including enrollment configuration (server URLs, authentication) and metadata (name, location, storage, operational status).
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [cache, remote]
Device identifier
Device type tokens
Platform name
Platform identifier
Available GetApp server URLs
metadata
object
nullable
required
Device - MetaData: Physical and logical device properties
battery
object
nullable
Comprehensive battery status information
Battery health as a percentage (0-100), based on current capacity vs design capacity
Whether the device is plugged into power (charging or full)
Whether this is a virtual/emulated battery (e.g., in VM)
Battery level as a percentage (0-100)
Battery state description (Charging, Discharging, Full, Empty, Unknown)
Estimated time remaining in minutes (for discharge or charge)
location
object
nullable
MAC address
Device name
Operating system
OS release version
Available storage in bytes
Currently active GetApp server URL
{
"deliverySource": "cache",
"deviceId": "string",
"deviceType": [
"string"
],
"platform": "string",
"platformId": "string",
"urlGetAppServerAvailable": [
"string"
],
"metadata": {
"battery": {
"health": 0,
"isPluggedIn": true,
"isVirtual": true,
"level": 0,
"state": "string",
"timeRemainingMinutes": 0
},
"location": {
"alt": "string",
"lat": "string",
"long": "string"
},
"macAddress": "string",
"name": "string",
"os": "string",
"osRelease": "string",
"storageAvailable": 0,
"urlGetAppServerActive": "string"
}
}