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

    Interface DeviceDataBackup

    interface DeviceDataBackup {
        deviceID: string;
        file_address: string;
        headers?: boolean;
    }
    Index

    Properties

    deviceID: string
    file_address: string

    The file address is the string template used to compose, the chunk's file path on TagoIO Files.

    You can use the keys $DEVICE$, $CHUNK$, $FROM$ and $TO$ that will be automatically replaced when building the path.

    $DEVICE$ - Device ID

    $CHUNK$ - Chunk ID

    $FROM$ - The chunk from date (ex: 2022-05-1)

    $TO$ - The chunk to date (ex: 2022-05-2)

    /devices/$DEVICE$/$FROM$_$TO$
    
    headers?: boolean

    Enable headers to the CSV-generated files. Headers will describe the variable's data in each column.