Download

Example

The example below pulls a single upload from a single collection.

curl -X POST \
  v1/data/download\
  -H 'Authorization: Basic <Your Base64 Encoded Token>'\
  -d '{
    "collection" : "Collection 1",
    "upload"     : "Upload 1"
}'

Success Response

The response will contain an array of rows with row 0 being the headers.

{
    "status": "success",
    "data": {
        "rows": [
            [
                "User Code",
                "Date",
                "Tasks",
                "KPI"
            ],
            [
                "001",
                "2020-12-01",
                "1",
                "50"
            ],
            ...etc
        ]
    },
    "hash": "32fe2ebfbcb4b4a6abdcac945ec1dbae",
    "response_time": 0.11788105964660645
}

Last updated