APIs intended for internal use by Tidepool.
Blob 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.
List, create, and manage binary blobs. The content format may be anything, because the blobs are treated as opaque data by the service. Each blob has a status. If a blob is created without content, then its status is created. If the blob is created with content or has been updated to include content then its status is available.
Request
List previously uploaded binary blobs in the user's account. The list can be filtered with mediaType and status query parameters.
- Mock serverhttps://tidepool.redocly.app/_mock/reference/blob.v1/v1/users/{userId}/blobs
- integrationhttps://external.integration.tidepool.org/v1/users/{userId}/blobs
- productionhttps://api.tidepool.org/v1/users/{userId}/blobs
- dev1https://dev1.dev.tidepool.org/v1/users/{userId}/blobs
- qa1https://qa1.development.tidepool.org/v1/users/{userId}/blobs
- qa2https://qa2.development.tidepool.org/v1/users/{userId}/blobs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/blob.v1/v1/users/{userId}/blobs?mediaType=application%2Foctet-stream&status=created' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'List of binary blob metadata
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
Media type as defined in RFC 2045.
[ { "id": "97a9fae8a19b4da58bb48dc90c9562c9", "userId": "string", "digestMD5": "HUXZLQLMuI/KZ5KDcJPcOA==", "mediaType": "application/octet-stream", "size": 1024, "status": "created", "createdTime": "2017-02-06T02:37:46Z", "modifiedTime": "2017-02-06T02:37:46Z", "deletedTime": "2017-02-06T02:37:46Z", "revision": 42 } ]
Request
Creates a new binary blob in the user's account. The Content-Type and the Digest headers must represent the media type and MD5 hash of the binary blob content, respectively.
Content type of the resource
Base64-encoded MD5 hash of the resource, per RFC 3230
Binary blob
Binary data.
- Mock serverhttps://tidepool.redocly.app/_mock/reference/blob.v1/v1/users/{userId}/blobs
- integrationhttps://external.integration.tidepool.org/v1/users/{userId}/blobs
- productionhttps://api.tidepool.org/v1/users/{userId}/blobs
- dev1https://dev1.dev.tidepool.org/v1/users/{userId}/blobs
- qa1https://qa1.development.tidepool.org/v1/users/{userId}/blobs
- qa2https://qa2.development.tidepool.org/v1/users/{userId}/blobs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://tidepool.redocly.app/_mock/reference/blob.v1/v1/users/{userId}/blobs' \
-H 'Content-Type: */*' \
-H 'Digest: md5=HUXZLQLMuI/KZ5KDcJPcOA==' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d stringBinary blob metadata
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
Media type as defined in RFC 2045.
{ "id": "97a9fae8a19b4da58bb48dc90c9562c9", "userId": "string", "digestMD5": "HUXZLQLMuI/KZ5KDcJPcOA==", "mediaType": "application/octet-stream", "size": 1024, "status": "created", "createdTime": "2017-02-06T02:37:46Z", "modifiedTime": "2017-02-06T02:37:46Z", "deletedTime": "2017-02-06T02:37:46Z", "revision": 42 }
- Mock serverhttps://tidepool.redocly.app/_mock/reference/blob.v1/v1/users/{userId}/blobs
- integrationhttps://external.integration.tidepool.org/v1/users/{userId}/blobs
- productionhttps://api.tidepool.org/v1/users/{userId}/blobs
- dev1https://dev1.dev.tidepool.org/v1/users/{userId}/blobs
- qa1https://qa1.development.tidepool.org/v1/users/{userId}/blobs
- qa2https://qa2.development.tidepool.org/v1/users/{userId}/blobs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://tidepool.redocly.app/_mock/reference/blob.v1/v1/users/{userId}/blobs' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'- Mock serverhttps://tidepool.redocly.app/_mock/reference/blob.v1/v1/blobs/{blobId}
- integrationhttps://external.integration.tidepool.org/v1/blobs/{blobId}
- productionhttps://api.tidepool.org/v1/blobs/{blobId}
- dev1https://dev1.dev.tidepool.org/v1/blobs/{blobId}
- qa1https://qa1.development.tidepool.org/v1/blobs/{blobId}
- qa2https://qa2.development.tidepool.org/v1/blobs/{blobId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://tidepool.redocly.app/_mock/reference/blob.v1/v1/blobs/97a9fae8a19b4da58bb48dc90c9562c9 \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'Binary blob metadata
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
Media type as defined in RFC 2045.
{ "id": "97a9fae8a19b4da58bb48dc90c9562c9", "userId": "string", "digestMD5": "HUXZLQLMuI/KZ5KDcJPcOA==", "mediaType": "application/octet-stream", "size": 1024, "status": "created", "createdTime": "2017-02-06T02:37:46Z", "modifiedTime": "2017-02-06T02:37:46Z", "deletedTime": "2017-02-06T02:37:46Z", "revision": 42 }
- Mock serverhttps://tidepool.redocly.app/_mock/reference/blob.v1/v1/blobs/{blobId}
- integrationhttps://external.integration.tidepool.org/v1/blobs/{blobId}
- productionhttps://api.tidepool.org/v1/blobs/{blobId}
- dev1https://dev1.dev.tidepool.org/v1/blobs/{blobId}
- qa1https://qa1.development.tidepool.org/v1/blobs/{blobId}
- qa2https://qa2.development.tidepool.org/v1/blobs/{blobId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://tidepool.redocly.app/_mock/reference/blob.v1/v1/blobs/97a9fae8a19b4da58bb48dc90c9562c9 \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'- Mock serverhttps://tidepool.redocly.app/_mock/reference/blob.v1/v1/blobs/{blobId}/content
- integrationhttps://external.integration.tidepool.org/v1/blobs/{blobId}/content
- productionhttps://api.tidepool.org/v1/blobs/{blobId}/content
- dev1https://dev1.dev.tidepool.org/v1/blobs/{blobId}/content
- qa1https://qa1.development.tidepool.org/v1/blobs/{blobId}/content
- qa2https://qa2.development.tidepool.org/v1/blobs/{blobId}/content
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://tidepool.redocly.app/_mock/reference/blob.v1/v1/blobs/97a9fae8a19b4da58bb48dc90c9562c9/content \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'Binary blob content
Base64-encoded MD5 hash of the resource, per RFC 3230
Binary data.