APIs intended for internal use by Tidepool.
Metadata 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.
https://tidepool.redocly.app/_mock/reference/metadata.v1/
https://external.integration.tidepool.org/
https://api.tidepool.org/
https://dev1.dev.tidepool.org/
https://qa1.development.tidepool.org/
https://qa2.development.tidepool.org/
- Mock server
https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/collections
- integration
https://external.integration.tidepool.org/metadata/collections
- production
https://api.tidepool.org/metadata/collections
- dev1
https://dev1.dev.tidepool.org/metadata/collections
- qa1
https://qa1.development.tidepool.org/metadata/collections
- qa2
https://qa2.development.tidepool.org/metadata/collections
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/collections \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'
[ "profile", "groups", "private" ]
- Mock server
https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/{userId}/{collectionName}
- integration
https://external.integration.tidepool.org/metadata/{userId}/{collectionName}
- production
https://api.tidepool.org/metadata/{userId}/{collectionName}
- dev1
https://dev1.dev.tidepool.org/metadata/{userId}/{collectionName}
- qa1
https://qa1.development.tidepool.org/metadata/{userId}/{collectionName}
- qa2
https://qa2.development.tidepool.org/metadata/{userId}/{collectionName}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/{userId}/profile' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'
{ "fullName": "James Jellyfish", "patient": { "diagnosisType": "type1", "diagnosisDate": "2013-05-09", "birthday": "2012-08-30", "biologicalSex": "male", "targetDevices": [ … ], "targetTimezone": "US/Eastern", "about": "Jellyman is awesome!" } }
- Mock server
https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/{userId}/{collectionName}
- integration
https://external.integration.tidepool.org/metadata/{userId}/{collectionName}
- production
https://api.tidepool.org/metadata/{userId}/{collectionName}
- dev1
https://dev1.dev.tidepool.org/metadata/{userId}/{collectionName}
- qa1
https://qa1.development.tidepool.org/metadata/{userId}/{collectionName}
- qa2
https://qa2.development.tidepool.org/metadata/{userId}/{collectionName}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/{userId}/profile' \
-H 'Content-Type: application/json' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d '{
"fullName": "James Jellyfish",
"patient": {
"diagnosisType": "type1",
"diagnosisDate": "2013-05-09",
"birthday": "2012-08-30",
"biologicalSex": "male",
"targetDevices": [
"bayercontournext"
],
"targetTimezone": "US/Eastern",
"about": "Jellyman is awesome!"
}
}'
{ "fullName": "James Jellyfish", "patient": { "diagnosisType": "type1", "diagnosisDate": "2013-05-09", "birthday": "2012-08-30", "biologicalSex": "male", "targetDevices": [ … ], "targetTimezone": "US/Eastern", "about": "Jellyman is awesome!" } }
- Mock server
https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/{userId}/{collectionName}
- integration
https://external.integration.tidepool.org/metadata/{userId}/{collectionName}
- production
https://api.tidepool.org/metadata/{userId}/{collectionName}
- dev1
https://dev1.dev.tidepool.org/metadata/{userId}/{collectionName}
- qa1
https://qa1.development.tidepool.org/metadata/{userId}/{collectionName}
- qa2
https://qa2.development.tidepool.org/metadata/{userId}/{collectionName}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/{userId}/profile' \
-H 'Content-Type: application/json' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d '{
"fullName": "James Jellyfish",
"patient": {
"diagnosisType": "type1",
"diagnosisDate": "2013-05-09",
"birthday": "2012-08-30",
"biologicalSex": "male",
"targetDevices": [
"bayercontournext"
],
"targetTimezone": "US/Eastern",
"about": "Jellyman is awesome!"
}
}'
{ "fullName": "James Jellyfish", "patient": { "diagnosisType": "type1", "diagnosisDate": "2013-05-09", "birthday": "2012-08-30", "biologicalSex": "male", "targetDevices": [ … ], "targetTimezone": "US/Eastern", "about": "Jellyman is awesome!" } }
- Mock server
https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/{userId}/private/{fieldName}
- integration
https://external.integration.tidepool.org/metadata/{userId}/private/{fieldName}
- production
https://api.tidepool.org/metadata/{userId}/private/{fieldName}
- dev1
https://dev1.dev.tidepool.org/metadata/{userId}/private/{fieldName}
- qa1
https://qa1.development.tidepool.org/metadata/{userId}/private/{fieldName}
- qa2
https://qa2.development.tidepool.org/metadata/{userId}/private/{fieldName}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/{userId}/private/{fieldName}' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'
- Mock server
https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/users/{userId}/users
- integration
https://external.integration.tidepool.org/metadata/users/{userId}/users
- production
https://api.tidepool.org/metadata/users/{userId}/users
- dev1
https://dev1.dev.tidepool.org/metadata/users/{userId}/users
- qa1
https://qa1.development.tidepool.org/metadata/users/{userId}/users
- qa2
https://qa2.development.tidepool.org/metadata/users/{userId}/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/metadata.v1/metadata/users/{userId}/users' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'
Success
true
if the user has verified their email address. false
or not present if the user has not verified their email address.
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
An email address, as specified by RFC 5322.
Profiles used by Tidepool Web
User profile used by Tidepool Web
[ { "emailVerified": true, "emails": [ … ], "termsAccepted": "2017-02-06T02:37:46Z", "roles": [ … ], "userid": "string", "username": "example@tidepool.org", "profile": { … }, "trusteePermissions": { … } } ]