losant_rest 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +580 -11
- data/docs/device.md +40 -1
- data/docs/me.md +34 -4
- data/docs/org.md +38 -3
- data/lib/losant_rest/client.rb +2 -2
- data/lib/losant_rest/device.rb +49 -1
- data/lib/losant_rest/me.rb +39 -2
- data/lib/losant_rest/org.rb +42 -1
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/compositeDeviceState.json +44 -0
- data/schemas/me.json +140 -5
- data/schemas/org.json +131 -2
- data/schemas/orgPatch.json +16 -0
- data/schemas/orgPost.json +16 -0
- data/schemas/orgs.json +131 -2
- data/schemas/recentItem.json +2 -1
- data/schemas/recentItemList.json +2 -1
- data/schemas/resourceTransfer.json +46 -0
- data/schemas/timeSeriesQuery.json +3 -0
- metadata +4 -2
data/schemas/recentItem.json
CHANGED
data/schemas/recentItemList.json
CHANGED
@@ -0,0 +1,46 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"destinationId": {
|
6
|
+
"type": "string",
|
7
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
8
|
+
},
|
9
|
+
"destinationType": {
|
10
|
+
"type": "string",
|
11
|
+
"enum": [
|
12
|
+
"user",
|
13
|
+
"organization"
|
14
|
+
]
|
15
|
+
},
|
16
|
+
"applicationIds": {
|
17
|
+
"type": "array",
|
18
|
+
"items": {
|
19
|
+
"type": "string",
|
20
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"dashboardIds": {
|
24
|
+
"type": "array",
|
25
|
+
"items": {
|
26
|
+
"type": "string",
|
27
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"solutionIds": {
|
31
|
+
"type": "array",
|
32
|
+
"items": {
|
33
|
+
"type": "string",
|
34
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"strict": {
|
38
|
+
"type": "boolean"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"additionalProperties": false,
|
42
|
+
"required": [
|
43
|
+
"destinationId",
|
44
|
+
"destinationType"
|
45
|
+
]
|
46
|
+
}
|
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.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -158,6 +158,7 @@ files:
|
|
158
158
|
- schemas/authedDevice.json
|
159
159
|
- schemas/authedSolutionUser.json
|
160
160
|
- schemas/authedUser.json
|
161
|
+
- schemas/compositeDeviceState.json
|
161
162
|
- schemas/dashboard.json
|
162
163
|
- schemas/dashboardPatch.json
|
163
164
|
- schemas/dashboardPost.json
|
@@ -210,6 +211,7 @@ files:
|
|
210
211
|
- schemas/payloadCounts.json
|
211
212
|
- schemas/recentItem.json
|
212
213
|
- schemas/recentItemList.json
|
214
|
+
- schemas/resourceTransfer.json
|
213
215
|
- schemas/solution.json
|
214
216
|
- schemas/solutionPatch.json
|
215
217
|
- schemas/solutionPost.json
|