Api\SensorDefinitionController

api/sensordefinition/{id} PATCH Update the specified sensordefinition

Changed on
put/api/sensordefinition/{id}

Request

  • Base URL
    https://api.beep.nl
  • URL
    https://api.beep.nl/api/sensordefinition/{id}
  • Auth
    HTTP bearer

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.

Example request

{
  "device_id": 3,
  "hardware_id": "ea",
  "device_hardware_id": "libero"
}

Changes