Skip to main content

Get all sensors

Retrieves all sensors that are registered for the available devices

Responses

OK


Schema array
  • id integer

    the id of the sensor

  • slug string

    the slug of the sensor

  • label object
  • item object[]
  • languageCode string

    languageCode for the language of the label. e.g. en, de,...

  • text string

    the label text

  • translationId integer

    unique identifier of the translation item

  • description object
  • item object[]
  • languageCode string

    languageCode for the language of the description. e.g. en, de,...

  • text string

    the description text

  • translationId integer

    unique identifier of the translation item

  • price integer

    the price of the sensor

  • lifePeriod integer

    the estimated life period of the sensor in days

  • manufacturer string

    the name of the manufacturer of the sensor e.g. Bosch, Truebener GmbH etc.

  • validation boolean

    boolean that is true if the information is validated by an admin

  • elements object[]
  • id integer

    id of the sensorElement

  • accuracy number

    the accuracy with which the phenomenon is measured

  • sensorId integer

    id of the sensor the sensor Element belongs to

  • phenomenonId integer

    the id of the measured phenomenon

  • unitId integer

    the id of the unit of the measured phenomenon

  • image string

    the filename of the sensor's image that can be accessed via /images/uploads/{filename}