v1

latestOpenAPI 3.1.02026-07-22154213404.8 KB
Misc

Get device location

Returns the device's current simulated GPS location as latitude and longitude. Devices without geo support return an unsupported-feature error.

get/devices/{deviceId}/location

Path parameters

deviceIdstring required

Headers

X-Device-Display-IDinteger

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

latitudenumber double required
longitudenumber double required

Example response

{
  "$schema": "https://example.com/schemas/Location.json"
}