Open yuanchen233 opened 3 weeks ago
Endpoint: {{INSTANCE_URI}}/api/studies/{{STUDY_ID}}/inactive_deployments, requiredParm: last_update :: Int, filter for deployment to show since last upload data in HOURS non-requiredParm: offset, limit :: Int, used for pagination
The new Study Overview design in Figma is here >> https://www.figma.com/design/0yicScG6a0BbsrTyIO156N/CACHET-Web-Portal?node-id=963-29792&t=90CjcSb2bBbJKdlU-0
Implement endpoint for the different cards:
Deployment Status
Inactive Participants
Deployments in Progress
Data Overview
Deployment status - NO extra endpoint needed
Inactive Participants - Endpoint to get participants, last upload date and filtering by time
Deployments in Progress - DeploymentId, Devices and device statuses
Data Overview - Number of sensor data points of the whole study, grouped by sensor and day