APIs intended for internal use by Tidepool.
Data Summary API (1.0)
The Tidepool API is an HTTP REST API used by Tidepool clients use to communicate with the Tidepool Platform.
For more information, see the Getting Started section.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://tidepool.redocly.app/_mock/reference/summary.v1
integration
https://external.integration.tidepool.org
production
https://api.tidepool.org
dev1
https://dev1.dev.tidepool.org
qa1
https://qa1.development.tidepool.org
qa2
https://qa2.development.tidepool.org
Path
Field which contains a summary type string.
Enum"cgm""bgm""con"
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
- Mock serverhttps://tidepool.redocly.app/_mock/reference/summary.v1/v1/summaries/{summaryType}/{userId}
- integrationhttps://external.integration.tidepool.org/v1/summaries/{summaryType}/{userId}
- productionhttps://api.tidepool.org/v1/summaries/{summaryType}/{userId}
- dev1https://dev1.dev.tidepool.org/v1/summaries/{summaryType}/{userId}
- qa1https://qa1.development.tidepool.org/v1/summaries/{summaryType}/{userId}
- qa2https://qa2.development.tidepool.org/v1/summaries/{summaryType}/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/summary.v1/v1/summaries/{summaryType}/{userId}' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'OK
Summary Unique Identifier
Example: "2fe2488217ee43e1b2e83c2f"
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
Response
application/json
{ "id": "2fe2488217ee43e1b2e83c2f", "type": "cgm", "userId": "string", "config": { "schemaVersion": 0, "highGlucoseThreshold": 0, "veryHighGlucoseThreshold": 0, "lowGlucoseThreshold": 0, "veryLowGlucoseThreshold": 0 }, "dates": { "lastUpdatedDate": "2019-08-24T14:15:22Z", "lastUpdatedReason": [ … ], "firstData": "2019-08-24T14:15:22Z", "lastData": "2019-08-24T14:15:22Z", "lastUploadDate": "2019-08-24T14:15:22Z", "outdatedSince": "2019-08-24T14:15:22Z", "outdatedReason": [ … ] }, "periods": { "property1": { … }, "property2": { … } } }