v1

latestOpenAPI 3.1.02026-07-22154213404.8 KB
Misc

Set device location

Sets the device's simulated GPS location to the latitude and longitude in the request body. Devices without geo support return an unsupported-feature error.

post/devices/{deviceId}/location

Path parameters

deviceIdstring required

Headers

X-Device-Display-IDinteger

Request body

$schemastring uri

A URL to the JSON Schema for this object.

latitudenumber double required
longitudenumber double required

Example request

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

Response

No Content