TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Interface PostDataModel

    interface PostDataModel {
        device: string;
        group?: string;
        location?: LocationGeoJSON;
        metadata?: Metadata;
        origin: string;
        serie?: string;
        time: Date;
        unit?: string;
        value?: string | number | boolean;
        variable: string;
    }

    Hierarchy

    • Omit<Data, "id" | "created_at">
      • PostDataModel
    Index

    Properties

    device: string

    ID of the device holding the data.

    group?: string

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

    location?: LocationGeoJSON

    Location for the data value.

    metadata?: Metadata

    Metadata for the data value.

    origin: string

    ID of the device holding the data.

    Deprecating this in favor of device.

    serie?: string

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

    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.