Tools/Misc

Get device location

Changed on

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

Request

  • Base URL
    https://api.mobilerun.ai
  • URL
    https://api.mobilerun.ai/devices/{deviceId}/location
  • Auth
    HTTP bearer

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"
}

Changes