Skip to content

Get recent log events from rtk service

GET
/devices/id/getRecentRtkLogs

Parameters

Path Parameters

id*

device id

Typenumber
Required

Responses

Request was successful
JSON
[
null
]

Samples

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