Skip to content

List device logs metadata

Request

List previously uploaded device logs json data in the user's account. The list must be filtered with startAt and endAt parameters

Security
sessionToken
Path
userIdstring(Tidepool User ID)^([0-9a-f]{10}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-...read-onlyrequired

Tidepool User ID

Query
startAtTimestring, (date-time)(Date/Time)required

Start At Datetime

Example:startAtTime=2017-02-06T02:37:46Z
endAtTimestring, (date-time)(Date/Time)required

End At Datetime

Example:endAtTime=2017-02-06T02:37:46Z
curl -i -X GET \
  'https://tidepool.redocly.app/_mock/reference/blob.v1/v1/users/{userId}/device_logs?startAtTime=2017-02-06T02%3A37%3A46Z&endAtTime=2017-02-06T02%3A37%3A46Z' \
  -H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'

Responses

List of device logs metadata

Bodyapplication/json
Array [
idstring(Blob ID)^[0-9a-z]{32}$read-onlyrequired

Blob ID

Example:"97a9fae8a19b4da58bb48dc90c9562c9"
userIdstring(Tidepool User ID)^([0-9a-f]{10}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-...read-onlyrequired

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

Example:"4d94a5fb-642e-48f1-89b9-c6a3e6145342"
digestMD5string, = 24 characters(MD5 Digest)^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[...required

MD5 digest of the content per RFC 1321, encoded as base64 (RFC 4648).

Example:"HUXZLQLMuI/KZ5KDcJPcOA=="
mediaTypestringrequired
Value:"application/json"
Example:"application/json"
sizeinteger, (int64)(Blob Size)read-onlyrequired

Size of the binary blob, in bytes

Example:1024
createdTimestring, (date-time)(Date/Time)required

RFC 3339 / ISO 8601 timestamp with timezone information

Example:"2017-02-06T02:37:46Z"
startAtTimestring, (date-time)(Date/Time)required

RFC 3339 / ISO 8601 timestamp with timezone information

Example:"2017-02-06T02:37:46Z"
endAtTimestring, (date-time)(Date/Time)required

RFC 3339 / ISO 8601 timestamp with timezone information

Example:"2017-02-06T02:37:46Z"
]
Response
[ { "id": "97a9fae8a19b4da58bb48dc90c9562c9", "userId": "4d94a5fb-642e-48f1-89b9-c6a3e6145342", "digestMD5": "HUXZLQLMuI/KZ5KDcJPcOA==", "mediaType": "application/json", "size": 1024, "createdTime": "2017-02-06T02:35:46Z", "startAtTime": "2017-02-06T02:35:46Z", "endAtTime": "2017-02-06T02:36:46Z" } ]