How actigraph/centrepoint3apidocumentation works
This repository is not application code; it is the Markdown documentation for the CentrePoint V3 API. Architecturally, it describes a public integration surface between external client systems and ActiGraph’s CentrePoint study-admin platform.
1. Top-level system boundary
The API exposes CentrePoint study administration and de-identified subject data through two hosted endpoints: the API at api.actigraphcorp.com and OAuth authorization at auth.actigraphcorp.com. The documentation positions CentrePoint as the internal system of record and the API as its external integration layer.
2. Access and security layer
All interaction is authenticated through OAuth 2.0, and the API requires HTTPS. Requests and responses are JSON-based. This means any architecture diagram should show a distinct auth service in front of the API, with client applications obtaining tokens before calling resource endpoints.
3. Core study management domain
The main CRUD-style domain is study administration: studies, sites, subjects, activity monitors, assignments, study milestones, uploads, and visit files. These resources form the operational backbone of the API and are likely backed by the same core CentrePoint data model used by the web portal.
4. Subject-centric workflow
Several endpoints model the lifecycle of a subject in a study:
studies contain sites, sites contain subjects, and subjects receive monitor assignments and uploads. The assignment workflow is explicitly separated from assignment retrieval, suggesting a stateful process for starting and ending device-to-subject tracking.
5. Device and monitoring data
Activity monitors are first-class resources, along with the assignment workflow that links them to subjects. This is the bridge between study administration and captured device data, so a diagram should show device inventory and subject-device association as a distinct subsystem.
6. Analytics and derived data
A separate group of endpoints serves processed study data: algorithm settings, minute summaries, daily statistics, sleep periods, and event markers. These are derived/analytics outputs rather than raw records, so they likely come from an analysis pipeline or precomputed store rather than direct transactional tables.
7. Large-data and raw-data retrieval
The docs distinguish between “Data Access Files” for pre-made daily files of large raw accelerometer data and a legacy/raw data request flow for sub-second activity data. That implies a bulk-file generation subsystem or export service separate from the standard JSON resource endpoints.
8. Export and dataset subsystem
The “DataSet Export” sections introduce study programs, datasets, dataset export files, and dataset export subjects. This is a second export-oriented boundary, focused on packaging study data for downstream analysis rather than operational management.
9. Webhook/event delivery
Webhooks and webhook events provide a push-based integration path in addition to pull-based API access. The documentation covers both event listings and subscription/history tracking, which implies a notification dispatcher and request log/history service on the CentrePoint side.
10. Operational constraints and protocol behavior
The API enforces request limiting at 500 requests per minute per IP with 429 and Retry-After, and uses ISO 8601 date handling with timezone semantics depending on the presence of Z. Pagination is documented separately, indicating list endpoints are expected to be consumed incrementally.
11. File and upload handling
Uploads and visit files are separate from core JSON resources, which suggests mixed interaction modes: metadata via API and file transfer via dedicated endpoints. In a diagram, file-bearing flows should be shown apart from standard entity reads/writes.
12. Repository structure as documentation map
The sections/ directory is organized by capability area rather than by implementation layer, which makes the docs themselves a navigation index for the API surface. For architecture purposes, the sections map cleanly onto three major zones: operational study management, derived/analytics data, and data export/bulk transfer.
In short, the documentation describes a multi-surface integration platform centered on CentrePoint studies: authenticated JSON APIs for operational records, separate services for analytics and bulk data, and webhook-based outbound notifications.
Main entry points: algorithm_settings.md Algo Settings · assignment_workflow.md Assign Flow · README.md API Guide · authorization.md OAuth Auth
Components 27
Docs map
Documentation navigation and section organization
- API Guide · Top-level documentation entry for the CentrePoint V3 API
README.md
Integration edge
External clients authenticate and call hosted API endpoints
- OAuth Auth · Token issuance and authorization endpoint
sections/authorization.md - API Surface · Hosted JSON API for CentrePoint study administration
Operational study data
Core study administration and subject/device workflows
- Studies · Study-level resources and administration
sections/studies.md - Sites · Sites nested under studies
sections/sites.md - Subjects · Subject records and lifecycle within a site or study
sections/subjects.md - Monitors · Activity monitor resources
sections/activity_monitors.md - Assign Flow · Stateful assignment start and end workflow
sections/assignment_workflow.md - Assignments · Assignment retrieval and assignment state records
sections/assignments.md - Milestones · Study milestone tracking
sections/study_milestones.md - Uploads · File-bearing uploads associated with study records
sections/uploads.md - Visit Files · Visit-scoped file resources
sections/visit_files.md
Derived analytics
Processed metrics and computed study outputs
- Algo Settings · Algorithm settings used by derived data outputs
sections/algorithm_settings.md - Minute Summary · Minute-level computed summaries
sections/minute_summary.md - Daily Stats · Daily aggregated statistics
sections/daily_statistics.md - Sleep Periods · Computed sleep period results
sections/dustin_tracy_sleep_periods.md - Event Markers · Processed event marker data
sections/event_markers.md
Bulk data export
Large-file and legacy/raw data delivery paths
- Data Access Files · Pre-made daily files for large raw accelerometer data
sections/data_access_files.md - Epoch Requests · Legacy raw data request workflow
sections/epoch_data_requests.md - Epoch Formats · Epoch data file format definitions
sections/epoch_data_file_formats.md - Raw Request · Raw sub-second activity data requests
sections/raw_data_request.md - Raw Formats · Raw data file format definitions
sections/raw_data_file_formats.md - Study Programs · Programs used to group dataset export packaging
sections/study_programs.md - Datasets · Dataset definitions for downstream analysis packages
sections/data_set_files.md - Export Subjects · Subjects included in dataset exports
sections/data_set_export_subjects.md
Notifications
Outbound webhook delivery and event history
- Webhooks · Webhook subscriptions and delivery configuration
sections/webhooks.md - Webhook Events · Webhook event listings and delivery history
sections/webhook_events.md
Connections 27
- API Guide → OAuth Auth: documents · Documentation covers authorization first
- API Guide → API Surface: maps to · Top-level docs describe the hosted API surface
- OAuth Auth → API Surface: tokens for · OAuth tokens are required before API calls
- API Surface → Studies: exposes · Study administration resource family
- Studies → Sites: contains · Studies contain sites
- Sites → Subjects: contains · Sites contain subjects
- Subjects → Assign Flow: uses · Subject-device association is managed through the workflow
- Assign Flow → Assignments: updates · Workflow produces and closes assignment state
- Assign Flow → Monitors: links · Assignments connect monitors to subjects
- API Surface → Milestones: exposes · Study milestone endpoints
- API Surface → Uploads: exposes · Upload metadata and file transfer endpoints
- API Surface → Visit Files: exposes · Visit file resources
- API Surface → Algo Settings: exposes · Algorithm settings for derived outputs
- Algo Settings → Minute Summary: feeds · Settings influence minute summaries
- Algo Settings → Daily Stats: feeds · Settings influence daily statistics
- Algo Settings → Sleep Periods: feeds · Settings influence sleep period derivation
- Algo Settings → Event Markers: feeds · Settings influence event marker derivation
- API Surface → Data Access Files: exposes · Bulk data access file delivery
- API Surface → Epoch Requests: exposes · Legacy epoch data request workflow
- Epoch Requests → Epoch Formats: produces · Requests resolve to epoch data file formats
- API Surface → Raw Request: exposes · Raw sub-second data request workflow
- Raw Request → Raw Formats: produces · Requests resolve to raw data file formats
- API Surface → Study Programs: exposes · Dataset export program definitions
- Study Programs → Datasets: packages · Programs organize export datasets
- Datasets → Export Subjects: includes · Dataset exports enumerate included subjects
- API Surface → Webhooks: exposes · Webhook subscription API
- Webhooks → Webhook Events: logs · Webhook event history and delivery records