losant_rest 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -0
- data/docs/_schemas.md +1805 -267
- data/docs/auth.md +1 -1
- data/docs/experienceEndpoint.md +130 -0
- data/docs/experienceEndpoints.md +131 -0
- data/docs/experienceGroup.md +130 -0
- data/docs/experienceGroups.md +91 -0
- data/docs/experienceUser.md +130 -0
- data/docs/experienceUsers.md +92 -0
- data/docs/flows.md +1 -0
- data/lib/losant_rest/client.rb +26 -2
- data/lib/losant_rest/experience_endpoint.rb +174 -0
- data/lib/losant_rest/experience_endpoints.rb +186 -0
- data/lib/losant_rest/experience_group.rb +174 -0
- data/lib/losant_rest/experience_groups.rb +136 -0
- data/lib/losant_rest/experience_user.rb +174 -0
- data/lib/losant_rest/experience_users.rb +138 -0
- data/lib/losant_rest/flows.rb +2 -0
- data/lib/losant_rest/version.rb +1 -1
- data/lib/losant_rest.rb +6 -0
- data/schemas/application.json +30 -5
- data/schemas/applicationApiTokenPost.json +22 -0
- data/schemas/applicationKey.json +4 -2
- data/schemas/applicationKeyPost.json +4 -2
- data/schemas/applicationKeys.json +4 -2
- data/schemas/applicationPatch.json +13 -0
- data/schemas/applicationPost.json +13 -0
- data/schemas/applications.json +30 -5
- data/schemas/auditLog.json +3 -0
- data/schemas/auditLogFilter.json +3 -0
- data/schemas/auditLogs.json +3 -0
- data/schemas/authedDevice.json +1 -2
- data/schemas/dashboard.json +4 -2
- data/schemas/dashboardPatch.json +4 -2
- data/schemas/dashboardPost.json +4 -2
- data/schemas/dashboards.json +4 -2
- data/schemas/device.json +5 -4
- data/schemas/devicePatch.json +5 -4
- data/schemas/devicePost.json +5 -4
- data/schemas/deviceRecipe.json +5 -4
- data/schemas/deviceRecipePatch.json +5 -4
- data/schemas/deviceRecipePost.json +5 -4
- data/schemas/deviceRecipes.json +5 -4
- data/schemas/deviceTagFilter.json +2 -1
- data/schemas/devices.json +5 -4
- data/schemas/experienceEndpoint.json +74 -0
- data/schemas/experienceEndpointPatch.json +46 -0
- data/schemas/experienceEndpointPost.json +50 -0
- data/schemas/experienceEndpointStats.json +21 -0
- data/schemas/experienceEndpoints.json +45 -0
- data/schemas/experienceGroup.json +51 -0
- data/schemas/experienceGroupPatch.json +32 -0
- data/schemas/experienceGroupPost.json +35 -0
- data/schemas/experienceGroups.json +93 -0
- data/schemas/experienceUser.json +83 -0
- data/schemas/experienceUserPatch.json +48 -0
- data/schemas/experienceUserPost.json +52 -0
- data/schemas/experienceUsers.json +129 -0
- data/schemas/flow.json +34 -10
- data/schemas/flowLog.json +2 -19
- data/schemas/flowPatch.json +34 -10
- data/schemas/flowPost.json +34 -10
- data/schemas/flowTriggerFilter.json +19 -0
- data/schemas/flows.json +34 -10
- data/schemas/lastValueQuery.json +4 -2
- data/schemas/me.json +39 -7
- data/schemas/multiDeviceCommand.json +4 -2
- data/schemas/org.json +41 -9
- data/schemas/orgs.json +41 -9
- data/schemas/payloadCounts.json +8 -0
- data/schemas/resourceTransfer.json +6 -3
- data/schemas/solution.json +3 -1
- data/schemas/solutionUser.json +2 -1
- data/schemas/solutionUserPatch.json +2 -1
- data/schemas/solutionUserPost.json +2 -1
- data/schemas/solutionUsers.json +2 -1
- data/schemas/solutions.json +3 -1
- data/schemas/timeSeriesQuery.json +4 -2
- metadata +28 -2
data/schemas/solutions.json
CHANGED
@@ -50,14 +50,16 @@
|
|
50
50
|
}
|
51
51
|
},
|
52
52
|
"additionalProperties": false
|
53
|
-
}
|
53
|
+
},
|
54
|
+
"maxItems": 100
|
54
55
|
},
|
55
56
|
"deviceIds": {
|
56
57
|
"type": "array",
|
57
58
|
"items": {
|
58
59
|
"type": "string",
|
59
60
|
"pattern": "^[A-Fa-f\\d]{24}$"
|
60
|
-
}
|
61
|
+
},
|
62
|
+
"maxItems": 1000
|
61
63
|
},
|
62
64
|
"limit": {
|
63
65
|
"type": "number"
|
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.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -99,6 +99,12 @@ files:
|
|
99
99
|
- docs/devices.md
|
100
100
|
- docs/event.md
|
101
101
|
- docs/events.md
|
102
|
+
- docs/experienceEndpoint.md
|
103
|
+
- docs/experienceEndpoints.md
|
104
|
+
- docs/experienceGroup.md
|
105
|
+
- docs/experienceGroups.md
|
106
|
+
- docs/experienceUser.md
|
107
|
+
- docs/experienceUsers.md
|
102
108
|
- docs/flow.md
|
103
109
|
- docs/flows.md
|
104
110
|
- docs/me.md
|
@@ -134,6 +140,12 @@ files:
|
|
134
140
|
- lib/losant_rest/error.rb
|
135
141
|
- lib/losant_rest/event.rb
|
136
142
|
- lib/losant_rest/events.rb
|
143
|
+
- lib/losant_rest/experience_endpoint.rb
|
144
|
+
- lib/losant_rest/experience_endpoints.rb
|
145
|
+
- lib/losant_rest/experience_group.rb
|
146
|
+
- lib/losant_rest/experience_groups.rb
|
147
|
+
- lib/losant_rest/experience_user.rb
|
148
|
+
- lib/losant_rest/experience_users.rb
|
137
149
|
- lib/losant_rest/flow.rb
|
138
150
|
- lib/losant_rest/flows.rb
|
139
151
|
- lib/losant_rest/me.rb
|
@@ -196,12 +208,26 @@ files:
|
|
196
208
|
- schemas/eventPatch.json
|
197
209
|
- schemas/eventPost.json
|
198
210
|
- schemas/events.json
|
211
|
+
- schemas/experienceEndpoint.json
|
212
|
+
- schemas/experienceEndpointPatch.json
|
213
|
+
- schemas/experienceEndpointPost.json
|
214
|
+
- schemas/experienceEndpointStats.json
|
215
|
+
- schemas/experienceEndpoints.json
|
216
|
+
- schemas/experienceGroup.json
|
217
|
+
- schemas/experienceGroupPatch.json
|
218
|
+
- schemas/experienceGroupPost.json
|
219
|
+
- schemas/experienceGroups.json
|
220
|
+
- schemas/experienceUser.json
|
221
|
+
- schemas/experienceUserPatch.json
|
222
|
+
- schemas/experienceUserPost.json
|
223
|
+
- schemas/experienceUsers.json
|
199
224
|
- schemas/flow.json
|
200
225
|
- schemas/flowLog.json
|
201
226
|
- schemas/flowPatch.json
|
202
227
|
- schemas/flowPost.json
|
203
228
|
- schemas/flowStorageEntries.json
|
204
229
|
- schemas/flowStorageEntry.json
|
230
|
+
- schemas/flowTriggerFilter.json
|
205
231
|
- schemas/flows.json
|
206
232
|
- schemas/githubLogin.json
|
207
233
|
- schemas/lastValueData.json
|