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

    Interface Data

    Type for the data returned from the API.

    interface Data {
        created_at?: Date;
        device: string;
        group?: string;
        id: string;
        location?: LocationGeoJSON;
        metadata?: Metadata;
        origin?: string;
        serie?: string;
        time: Date;
        unit?: string;
        value?: string | number | boolean;
        variable: string;
    }
    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.

    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.