v1

latestOpenAPI 3.0.32026-07-171140286.6 KB
Api\SensorDefinitionController

api/sensordefinition GET Display a listing of all sensordefinitions that belong to a device

get/api/sensordefinition

Headers

Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring

Request body

device_idinteger

Device ID that the Sensordefinition belongs to. Required if hardware_id, and device_hardware_id are not set.

hardware_idstring

Device hardware ID that the Sensordefinition belongs to. Required if device_id, and device_hardware_id are not set.

device_hardware_idstring

Device hardware ID that the Sensordefinition belongs to. Required if hardware_id, and device_id are not set.

input_measurement_abbreviationstring

Filter sensordefinitions by provided input abbreviation.

limitinteger

If input_abbr is set, limit the amount of results provided by more than 1 to get all historic sensordefinitions of this type.

Example request

{
  "device_id": 5,
  "hardware_id": "labore",
  "device_hardware_id": "architecto",
  "input_measurement_abbreviation": "et",
  "limit": 3
}