GET /api/devices
List all connected Android devices with detailed information. This endpoint fetches device properties (brand, model, IP) in parallel for optimal performance.Response
Array of connected device objects
Example Request
Example Response
Implementation Notes
- Devices are fetched using
adb devices - Brand and model are retrieved with
getprop ro.product.manufacturerandgetprop ro.product.model - For wireless devices, IP is extracted from serial or
ip routeoutput - Saved devices are automatically updated when a matching IP is detected
- All device property fetches are parallelized for performance
GET /api/devices/poll
Lightweight endpoint to quickly get the list of connected device serials. This is faster than/api/devices as it skips property fetching.
Use this endpoint for frequent polling to detect device connections/disconnections without the overhead of fetching device properties.
Response
Array of device serial numbers
Example Request
Example Response
GET /api/devices/:serial/info
Get detailed hardware and software information for a specific device.Path Parameters
Device serial number (must be URL-encoded if it contains special characters like
:)Response
Device serial number
Device manufacturer (e.g.,
"Samsung", "Xiaomi")Device model name (e.g.,
"Galaxy S21")Android version (e.g.,
"13")Android SDK level (e.g.,
"33")Device codename (e.g.,
"SM-G991B")Example Request
Example Response
Error Response
Returns500 if device is not connected or ADB command fails:
GET /api/network/ip
Get local network interface IP addresses. Useful for displaying the IP address users should connect to for wireless debugging.Response
Array of network interface objects
Example Request
Example Response
Implementation Notes
- Only returns IPv4 addresses
- Excludes internal/loopback interfaces (
127.0.0.1) - Uses Node.js
os.networkInterfaces()API
