-
Notifications
You must be signed in to change notification settings - Fork 0
/
samples.json
47 lines (47 loc) · 1.3 KB
/
samples.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"readRequest" : {
"method" : "create",
"id_token" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ",
"query" : [{
"type" : "Heartrate"
}]
},
"readResponse" : {
"request" : {
"id" : 1,
"method" : "read",
"id_token" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ",
"query" : [{
"type" : "Heartrate"
}]
},
"response" : {
"status" : "success",
"message" : "Successfully fetched data!",
"dataObjects" : [
{
"type" : "Heartrate",
"unit" : "bpm",
"timestamp" : {
"format" : "isoDate",
"value" : "2017-03-09T20:43:05.229Z"
},
"deviceID" : "123456789abc",
"valueObjects" : {
"frequency" : 150
}
} , {
"type" : "Heartrate",
"unit" : "bpm",
"timestamp" : {
"format" : "isoDate",
"value" : "2017-03-09T20:43:22.518Z"
},
"deviceID" : "123456789abc",
"valueObjects" : {
"frequency" : 170
}}
]
}
}
}