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.
@@ -8,7 +8,8 @@
8
8
  "application",
9
9
  "device",
10
10
  "flow",
11
- "dashboard"
11
+ "dashboard",
12
+ "organization"
12
13
  ]
13
14
  },
14
15
  "parentId": {
@@ -8,7 +8,8 @@
8
8
  "application",
9
9
  "device",
10
10
  "flow",
11
- "dashboard"
11
+ "dashboard",
12
+ "organization"
12
13
  ]
13
14
  },
14
15
  "parentId": {
@@ -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
+ }
@@ -58,6 +58,9 @@
58
58
  "type": "string",
59
59
  "pattern": "^[A-Fa-f\\d]{24}$"
60
60
  }
61
+ },
62
+ "limit": {
63
+ "type": "number"
61
64
  }
62
65
  },
63
66
  "additionalProperties": false
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.5
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-23 00:00:00.000000000 Z
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