losant_rest 1.16.3 → 1.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/_schemas.md +1131 -127
- data/docs/dashboard.md +2 -0
- data/docs/device.md +4 -0
- data/docs/devices.md +4 -0
- data/docs/me.md +36 -0
- data/lib/losant_rest/client.rb +2 -2
- data/lib/losant_rest/dashboard.rb +4 -0
- data/lib/losant_rest/device.rb +8 -0
- data/lib/losant_rest/devices.rb +8 -0
- data/lib/losant_rest/me.rb +41 -0
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/apiTokenPost.json +1 -0
- data/schemas/applicationDashboardPost.json +152 -24
- data/schemas/dashboard.json +152 -24
- data/schemas/dashboardPatch.json +152 -24
- data/schemas/dashboardPost.json +152 -24
- data/schemas/dashboards.json +152 -24
- data/schemas/enableTwoFactorAuth.json +5 -1
- data/schemas/experienceLinkedResources.json +3 -0
- data/schemas/experienceVersion.json +27 -0
- data/schemas/experienceVersionPatch.json +27 -0
- data/schemas/experienceVersionPost.json +39 -0
- data/schemas/experienceVersions.json +27 -0
- data/schemas/flow.json +1 -0
- data/schemas/flowPatch.json +1 -0
- data/schemas/flowPost.json +1 -0
- data/schemas/flowVersion.json +2 -0
- data/schemas/flowVersionPost.json +1 -0
- data/schemas/flowVersions.json +2 -0
- data/schemas/flows.json +1 -0
- data/schemas/flowsImportPost.json +2 -0
- data/schemas/flowsImportResult.json +3 -0
- data/schemas/githubLogin.json +1 -0
- data/schemas/importIntoApplicationOptions.json +7 -1
- data/schemas/importNewApplicationOptions.json +1 -0
- data/schemas/instanceCustomNodePatch.json +1 -0
- data/schemas/instanceCustomNodePost.json +1 -0
- data/schemas/integration.json +34 -1
- data/schemas/integrationPatch.json +34 -1
- data/schemas/integrationPost.json +34 -1
- data/schemas/integrations.json +34 -1
- data/schemas/samlResponse.json +1 -0
- data/schemas/twoFactorAuthInfo.json +15 -0
- data/schemas/userCredentials.json +1 -0
- data/schemas/userPost.json +1 -0
- data/schemas/validateContextError.json +3 -0
- data/schemas/validateContextSuccess.json +27 -0
- metadata +3 -2
@@ -62,6 +62,33 @@
|
|
62
62
|
"type": "string",
|
63
63
|
"maxLength": 32767
|
64
64
|
},
|
65
|
+
"globals": {
|
66
|
+
"type": "array",
|
67
|
+
"maxItems": 100,
|
68
|
+
"items": {
|
69
|
+
"type": "object",
|
70
|
+
"properties": {
|
71
|
+
"key": {
|
72
|
+
"type": "string",
|
73
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
74
|
+
},
|
75
|
+
"json": {
|
76
|
+
"type": "string",
|
77
|
+
"minLength": 1,
|
78
|
+
"maxLength": 32767
|
79
|
+
},
|
80
|
+
"description": {
|
81
|
+
"type": "string",
|
82
|
+
"maxLength": 1024
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"additionalProperties": false,
|
86
|
+
"required": [
|
87
|
+
"key",
|
88
|
+
"json"
|
89
|
+
]
|
90
|
+
}
|
91
|
+
},
|
65
92
|
"attachedDomains": {
|
66
93
|
"type": "array",
|
67
94
|
"items": {
|
data/schemas/flow.json
CHANGED
data/schemas/flowPatch.json
CHANGED
data/schemas/flowPost.json
CHANGED
data/schemas/flowVersion.json
CHANGED
data/schemas/flowVersions.json
CHANGED
data/schemas/flows.json
CHANGED
@@ -142,6 +142,7 @@
|
|
142
142
|
"onConnect",
|
143
143
|
"onDisconnect",
|
144
144
|
"particle",
|
145
|
+
"sqs",
|
145
146
|
"udp",
|
146
147
|
"webhook"
|
147
148
|
]
|
@@ -2731,6 +2732,7 @@
|
|
2731
2732
|
"onConnect",
|
2732
2733
|
"onDisconnect",
|
2733
2734
|
"particle",
|
2735
|
+
"sqs",
|
2734
2736
|
"udp",
|
2735
2737
|
"webhook"
|
2736
2738
|
]
|
@@ -5315,6 +5317,7 @@
|
|
5315
5317
|
"onConnect",
|
5316
5318
|
"onDisconnect",
|
5317
5319
|
"particle",
|
5320
|
+
"sqs",
|
5318
5321
|
"udp",
|
5319
5322
|
"webhook"
|
5320
5323
|
]
|
data/schemas/githubLogin.json
CHANGED
@@ -16,10 +16,15 @@
|
|
16
16
|
"type": "string",
|
17
17
|
"enum": [
|
18
18
|
"create",
|
19
|
-
"error"
|
19
|
+
"error",
|
20
|
+
"retain"
|
20
21
|
],
|
21
22
|
"default": "create"
|
22
23
|
},
|
24
|
+
"dryRun": {
|
25
|
+
"type": "boolean",
|
26
|
+
"default": false
|
27
|
+
},
|
23
28
|
"include": {
|
24
29
|
"type": "array",
|
25
30
|
"items": {
|
@@ -40,6 +45,7 @@
|
|
40
45
|
"File",
|
41
46
|
"FlowVersion",
|
42
47
|
"Flow",
|
48
|
+
"Global",
|
43
49
|
"Integration",
|
44
50
|
"Notebook",
|
45
51
|
"Webhook"
|
data/schemas/integration.json
CHANGED
@@ -34,7 +34,8 @@
|
|
34
34
|
"googlePubSub",
|
35
35
|
"meridian",
|
36
36
|
"mqtt",
|
37
|
-
"particle"
|
37
|
+
"particle",
|
38
|
+
"sqs"
|
38
39
|
]
|
39
40
|
},
|
40
41
|
"enabled": {
|
@@ -190,6 +191,38 @@
|
|
190
191
|
"accessToken"
|
191
192
|
]
|
192
193
|
},
|
194
|
+
"sqsConfig": {
|
195
|
+
"type": "object",
|
196
|
+
"properties": {
|
197
|
+
"accessKeyId": {
|
198
|
+
"type": "string",
|
199
|
+
"minLength": 1,
|
200
|
+
"maxLength": 1024
|
201
|
+
},
|
202
|
+
"secretAccessKey": {
|
203
|
+
"type": "string",
|
204
|
+
"minLength": 1,
|
205
|
+
"maxLength": 1024
|
206
|
+
},
|
207
|
+
"region": {
|
208
|
+
"type": "string",
|
209
|
+
"minLength": 1,
|
210
|
+
"maxLength": 1024
|
211
|
+
},
|
212
|
+
"queueUrl": {
|
213
|
+
"type": "string",
|
214
|
+
"minLength": 1,
|
215
|
+
"maxLength": 1024
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"additionalProperties": false,
|
219
|
+
"required": [
|
220
|
+
"accessKeyId",
|
221
|
+
"secretAccessKey",
|
222
|
+
"region",
|
223
|
+
"queueUrl"
|
224
|
+
]
|
225
|
+
},
|
193
226
|
"meridianConfig": {
|
194
227
|
"type": "object",
|
195
228
|
"properties": {
|
@@ -14,7 +14,8 @@
|
|
14
14
|
"googlePubSub",
|
15
15
|
"meridian",
|
16
16
|
"mqtt",
|
17
|
-
"particle"
|
17
|
+
"particle",
|
18
|
+
"sqs"
|
18
19
|
]
|
19
20
|
},
|
20
21
|
"enabled": {
|
@@ -170,6 +171,38 @@
|
|
170
171
|
"accessToken"
|
171
172
|
]
|
172
173
|
},
|
174
|
+
"sqsConfig": {
|
175
|
+
"type": "object",
|
176
|
+
"properties": {
|
177
|
+
"accessKeyId": {
|
178
|
+
"type": "string",
|
179
|
+
"minLength": 1,
|
180
|
+
"maxLength": 1024
|
181
|
+
},
|
182
|
+
"secretAccessKey": {
|
183
|
+
"type": "string",
|
184
|
+
"minLength": 1,
|
185
|
+
"maxLength": 1024
|
186
|
+
},
|
187
|
+
"region": {
|
188
|
+
"type": "string",
|
189
|
+
"minLength": 1,
|
190
|
+
"maxLength": 1024
|
191
|
+
},
|
192
|
+
"queueUrl": {
|
193
|
+
"type": "string",
|
194
|
+
"minLength": 1,
|
195
|
+
"maxLength": 1024
|
196
|
+
}
|
197
|
+
},
|
198
|
+
"additionalProperties": false,
|
199
|
+
"required": [
|
200
|
+
"accessKeyId",
|
201
|
+
"secretAccessKey",
|
202
|
+
"region",
|
203
|
+
"queueUrl"
|
204
|
+
]
|
205
|
+
},
|
173
206
|
"meridianConfig": {
|
174
207
|
"type": "object",
|
175
208
|
"properties": {
|
@@ -14,7 +14,8 @@
|
|
14
14
|
"googlePubSub",
|
15
15
|
"meridian",
|
16
16
|
"mqtt",
|
17
|
-
"particle"
|
17
|
+
"particle",
|
18
|
+
"sqs"
|
18
19
|
]
|
19
20
|
},
|
20
21
|
"enabled": {
|
@@ -170,6 +171,38 @@
|
|
170
171
|
"accessToken"
|
171
172
|
]
|
172
173
|
},
|
174
|
+
"sqsConfig": {
|
175
|
+
"type": "object",
|
176
|
+
"properties": {
|
177
|
+
"accessKeyId": {
|
178
|
+
"type": "string",
|
179
|
+
"minLength": 1,
|
180
|
+
"maxLength": 1024
|
181
|
+
},
|
182
|
+
"secretAccessKey": {
|
183
|
+
"type": "string",
|
184
|
+
"minLength": 1,
|
185
|
+
"maxLength": 1024
|
186
|
+
},
|
187
|
+
"region": {
|
188
|
+
"type": "string",
|
189
|
+
"minLength": 1,
|
190
|
+
"maxLength": 1024
|
191
|
+
},
|
192
|
+
"queueUrl": {
|
193
|
+
"type": "string",
|
194
|
+
"minLength": 1,
|
195
|
+
"maxLength": 1024
|
196
|
+
}
|
197
|
+
},
|
198
|
+
"additionalProperties": false,
|
199
|
+
"required": [
|
200
|
+
"accessKeyId",
|
201
|
+
"secretAccessKey",
|
202
|
+
"region",
|
203
|
+
"queueUrl"
|
204
|
+
]
|
205
|
+
},
|
173
206
|
"meridianConfig": {
|
174
207
|
"type": "object",
|
175
208
|
"properties": {
|
data/schemas/integrations.json
CHANGED
@@ -41,7 +41,8 @@
|
|
41
41
|
"googlePubSub",
|
42
42
|
"meridian",
|
43
43
|
"mqtt",
|
44
|
-
"particle"
|
44
|
+
"particle",
|
45
|
+
"sqs"
|
45
46
|
]
|
46
47
|
},
|
47
48
|
"enabled": {
|
@@ -197,6 +198,38 @@
|
|
197
198
|
"accessToken"
|
198
199
|
]
|
199
200
|
},
|
201
|
+
"sqsConfig": {
|
202
|
+
"type": "object",
|
203
|
+
"properties": {
|
204
|
+
"accessKeyId": {
|
205
|
+
"type": "string",
|
206
|
+
"minLength": 1,
|
207
|
+
"maxLength": 1024
|
208
|
+
},
|
209
|
+
"secretAccessKey": {
|
210
|
+
"type": "string",
|
211
|
+
"minLength": 1,
|
212
|
+
"maxLength": 1024
|
213
|
+
},
|
214
|
+
"region": {
|
215
|
+
"type": "string",
|
216
|
+
"minLength": 1,
|
217
|
+
"maxLength": 1024
|
218
|
+
},
|
219
|
+
"queueUrl": {
|
220
|
+
"type": "string",
|
221
|
+
"minLength": 1,
|
222
|
+
"maxLength": 1024
|
223
|
+
}
|
224
|
+
},
|
225
|
+
"additionalProperties": false,
|
226
|
+
"required": [
|
227
|
+
"accessKeyId",
|
228
|
+
"secretAccessKey",
|
229
|
+
"region",
|
230
|
+
"queueUrl"
|
231
|
+
]
|
232
|
+
},
|
200
233
|
"meridianConfig": {
|
201
234
|
"type": "object",
|
202
235
|
"properties": {
|
data/schemas/samlResponse.json
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"key": {
|
6
|
+
"type": "string",
|
7
|
+
"maxLength": 1024
|
8
|
+
},
|
9
|
+
"keyUri": {
|
10
|
+
"type": "string",
|
11
|
+
"maxLength": 1024
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"additionalProperties": false
|
15
|
+
}
|
data/schemas/userPost.json
CHANGED
@@ -107,6 +107,33 @@
|
|
107
107
|
}
|
108
108
|
},
|
109
109
|
"additionalProperties": false
|
110
|
+
},
|
111
|
+
"dashboard": {
|
112
|
+
"type": "object",
|
113
|
+
"properties": {
|
114
|
+
"name": {
|
115
|
+
"type": "string",
|
116
|
+
"minLength": 1,
|
117
|
+
"maxLength": 255
|
118
|
+
},
|
119
|
+
"id": {
|
120
|
+
"type": "string",
|
121
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
122
|
+
},
|
123
|
+
"duration": {
|
124
|
+
"type": "integer",
|
125
|
+
"minimum": 1
|
126
|
+
},
|
127
|
+
"resolution": {
|
128
|
+
"type": "integer",
|
129
|
+
"minimum": 1
|
130
|
+
},
|
131
|
+
"refreshRate": {
|
132
|
+
"type": "number",
|
133
|
+
"minimum": 5,
|
134
|
+
"maximum": 600
|
135
|
+
}
|
136
|
+
}
|
110
137
|
}
|
111
138
|
}
|
112
139
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: losant_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -515,6 +515,7 @@ files:
|
|
515
515
|
- schemas/templateKeywords.json
|
516
516
|
- schemas/timeSeriesData.json
|
517
517
|
- schemas/timeSeriesQuery.json
|
518
|
+
- schemas/twoFactorAuthInfo.json
|
518
519
|
- schemas/userCredentials.json
|
519
520
|
- schemas/userPost.json
|
520
521
|
- schemas/validateContextError.json
|