Skip to content

Retrieve rtk status and config object for a device

GET
/devices/id/getRtkStatus

Parameters

Path Parameters

id*

device id

Typenumber
Required

Responses

Body (JSON)
JSON
{
"deviceId": 0,
"group": 0,
"msgMask": 0,
"connected": "string",
"locationUpdated": "string",
"location": null,
"accuracy": 0,
"positionType": "string",
"currentBaseId": 0
}

Samples

cURL
curl -X GET https://api.lightbug.cloud/api/devices/id/getRtkStatus
JavaScript
fetch("https://api.lightbug.cloud/api/devices/id/getRtkStatus")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://api.lightbug.cloud/api/devices/id/getRtkStatus");
Python
import requests
response = requests.get("https://api.lightbug.cloud/api/devices/id/getRtkStatus")
print(response.json())