Skip to content

Get device points

GET
/devices/id/points

Parameters

Path Parameters

id*

device id

Typenumber
Required

Query Parameters

filter

JSON Filter object

Typestring

Responses

Request was successful
JSON
[
null
]

Samples

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