This repository has been archived by the owner on Apr 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgtCallback.json
90 lines (90 loc) · 2.05 KB
/
gtCallback.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"triggeredAt": {
"iso8601": "2014-04-26T22:39:40.355+00:00",
"unix": 1398551980
},
"trigger": {
"triggerId": "Barista",
"condition": {
"direction": "enter",
"geo": {
"type": "Point",
"coordinates": [-122.77545711249113, 45.41986460661744]
}
},
"action": {
"callbackUrl": "http://geobin.valis.pw/debug",
"notification": {
"text": "coffee time"
}
},
"times": 0,
"rateLimit": 0,
"tags": [
{
"name": "trigger:Barista",
"deviceTagging": true,
"deviceLocation": false,
"deviceToken": false,
"deviceList": false,
"triggerApply": true,
"triggerUpdate": true,
"triggerDelete": true,
"triggerList": true,
"triggerHistory": true,
"discoverable": false
},
{
"name": "test",
"deviceTagging": true,
"deviceLocation": false,
"deviceToken": false,
"deviceList": false,
"triggerApply": true,
"triggerUpdate": true,
"triggerDelete": true,
"triggerList": true,
"triggerHistory": true,
"discoverable": false
}
]
},
"device": {
"deviceId": "CzluaPdV41St2o5S",
"tags": [
{
"name": "device:CzluaPdV41St2o5S",
"deviceTagging": false,
"deviceLocation": false,
"deviceToken": false,
"deviceList": false,
"triggerApply": true,
"triggerUpdate": true,
"triggerDelete": true,
"triggerList": true,
"triggerHistory": true,
"discoverable": false
},
{
"name": "test",
"deviceTagging": true,
"deviceLocation": false,
"deviceToken": false,
"deviceList": false,
"triggerApply": true,
"triggerUpdate": true,
"triggerDelete": true,
"triggerList": true,
"triggerHistory": true,
"discoverable": false
}
]
},
"location": {
"latitude": 45.51986460661744,
"longitude": -122.67545711249113,
"accuracy": 8,
"trackingProfile": "adaptive",
"timestamp": "2014-04-26T22:39:26.513+00:00"
}
}