Developer Docs
OverviewGroupsPathways
  • Getting Started
  • Overview
    • API Manager
    • User Privacy
    • Responses
  • Groups
    • Concepts
    • Manage
    • Status
    • Insert
    • Remove
  • Data
    • Overview
    • List
    • Upload
    • Download
    • Delete
    • Insert
    • Remove
  • Pathways
    • Overview
    • Enrolments
      • List
      • Manage
    • Web Tracking
      • Serverless
      • Server-Side Platforms
    • Classroom & Events
      • List
      • Consume
    • Rewards
      • List
      • Consume
    • Webhooks
      • Enrolments
      • Classroom & Events
      • Rewards
    • Logs
      • Activity & Fulfilment Types
      • Activity & User Logs
  • Stories
    • Logs
      • Story Logs
      • User Story Logs
    • Certificates
    • Question Analysis
  • Streams
    • Subscriptions
    • Ratings
  • Analytics
    • Overview
    • Published
    • Realtime
    • Audience
      • Frequency
      • Demographics
      • Locations
      • Retention
    • Reviews
Powered by GitBook
On this page
  • Example
  • Success Response

Was this helpful?

  1. Data

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
}
PreviousUploadNextDelete

Last updated 5 months ago

Was this helpful?