Qubitro Documentation
SupportLog inSign Up
  • Documentation
  • Guides
  • Developers
  • Changelog
  • Qubitro REST API
  • API Reference
    • Projects
      • Create Project
      • Retrieve Projects
      • Retrieve Project by ID
      • Delete Project
      • Invite Collaborator
    • Devices
      • Create Device
      • Retrieve Devices
      • Get Device by ID
      • Delete Device
    • Storage
      • Retrieve Device Data
      • Purge Device Data
      • Retrieve Device Data Keys
      • Retrieve Device Data From Storage View
    • Aggregated View
      • Retrieve Aggregated Views
      • Retrieve Aggregated View Data
      • Retrieve Aggregated View Data Keys
      • Purge Aggregated View Data
    • Dashboards
      • Retrieve Dashboards
      • Invite Collaborator
    • Organization
      • Invite Member
      • Retrieve Groups
Powered by GitBook
On this page
Export as PDF
  1. API Reference
  2. Storage

Retrieve Device Data From Storage View

PreviousRetrieve Device Data KeysNextAggregated View

Last updated 2 months ago

Retrieve Device Data

get
Authorizations
Path parameters
PROJECT_IDstringRequired
DEVICE_IDstringRequired
Query parameters
pageintegerOptional

REQUIRED (All Data Fetch Operations are Paginated) Type=Number

Example: 1
limitintegerOptional

REQUIRED (Limit per Page) Type=Number

Example: 100
rangestringOptional

REQUIRED (Value Can be Only "all" or "time") Type=string

Example: all
startstringOptional

REQUIRED if "range" is "time" Type=date

endstringOptional

REQUIRED if "range" is "time" Type=date

keysstringOptional

NOT REQIRED List of Device Data Keys Seprated With "," Omitting Will Fetch All Keys

storagestringOptional

NOT REQIRED Identifier of custom storage

Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
403
Forbidden
application/json
get
GET /v2/projects/{PROJECT_ID}/devices/{DEVICE_ID}/data HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "success": true,
  "action": "get device data",
  "status": 200,
  "message": "Device data retrieved successfully.",
  "data": [
    {
      "key": "value",
      "time": "2025-02-13T13:00:27.800109Z"
    },
    {
      "key": "value",
      "time": "2025-02-13T13:00:22.533709Z"
    }
  ]
}