Skip to Content
Thermostats

List Thermostat Commands

Toegang

Lid van de organisatie met dit recht:

  • thermostats:read

Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.

GET
/orgs/{organizationId}/thermostats/{id}/commands

Lists a thermostat's commands and how far each is confirmed, newest first.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Query Parameters

page?integer
Range-9007199254740991 <= value <= 9007199254740991
limit?integer
Range-9007199254740991 <= value <= 9007199254740991
sortBy?string
Value in"id""thermostatId""kind""settingKey""type""parameters""payload""status""attempts""nextAttemptAt""firstSentAt""lastSentAt""lastError""evidence""createdById""createdAt""finishedAt"
sortDir?string
Value in"asc""desc"
include?|array<>|string
createdById?string|array<string>|null
kind?|array<>|
status?|array<>|
evidence?|array<>|
attempts?number||
nextAttemptAt?|null
firstSentAt?|null
lastSentAt?|null
createdAt?|null
finishedAt?|null
settingKey?string|array<string>|
type?string|array<string>|
payload?string|array<string>|
lastError?string|array<string>|
parameters?

Response Body

OK

application/json
  1. response
Example Request
curl -X GET 'https://api.tillor.eu/orgs//thermostats/string/commands'
Example Response
null