Options
All
  • Public
  • Public/Protected
  • All
Menu

Type for the data returned from the API.

Hierarchy

  • Data

Index

Properties

created_at?: Date

Timestamp for the data value. Determined by the API.

device: string

ID of the device holding the data.

group?: string

Group for the data. Used for grouping different data values.

id: string

Data ID.

location?: LocationGeoJSON

Location for the data value.

metadata?: Metadata

Metadata for the data value.

origin?: string

ID of the device holding the data.

deprecated

Deprecating this in favor of device.

serie?: string

Series for the data. Used for grouping different data values.

deprecated

Deprecating this in favor of group.

time: Date

Timestamp for the data value.

unit?: string

Unit for the data value.

value?: string | number | boolean

Data value.

variable: string

Name of the variable for the data.