losant_rest 1.8.4 → 1.8.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -239,6 +239,7 @@
239
239
  "auditLogs.get",
240
240
  "dashboard.patch",
241
241
  "dashboard.delete",
242
+ "dashboard.sendReport",
242
243
  "dashboards.get",
243
244
  "dashboards.post",
244
245
  "org.get",
@@ -249,6 +249,7 @@
249
249
  "auditLogs.get",
250
250
  "dashboard.patch",
251
251
  "dashboard.delete",
252
+ "dashboard.sendReport",
252
253
  "dashboards.get",
253
254
  "dashboards.post",
254
255
  "org.get",
@@ -304,6 +304,7 @@
304
304
  "auditLogs.get",
305
305
  "dashboard.patch",
306
306
  "dashboard.delete",
307
+ "dashboard.sendReport",
307
308
  "dashboards.get",
308
309
  "dashboards.post",
309
310
  "org.get",
@@ -0,0 +1,78 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string"
7
+ },
8
+ "message": {
9
+ "type": "string"
10
+ },
11
+ "ctx": {
12
+ "type": "object",
13
+ "patternProperties": {
14
+ "^[0-9a-zA-Z_-]{1,255}$": {
15
+ "anyOf": [
16
+ [
17
+ {
18
+ "type": "string",
19
+ "maxLength": 32767
20
+ },
21
+ {
22
+ "type": "number"
23
+ },
24
+ {
25
+ "type": "object",
26
+ "properties": {
27
+ "key": {
28
+ "type": "string",
29
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
30
+ },
31
+ "value": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 255
35
+ }
36
+ },
37
+ "additionalProperties": false
38
+ }
39
+ ],
40
+ {
41
+ "type": "object",
42
+ "properties": {
43
+ "id": {
44
+ "type": "string",
45
+ "pattern": "^[A-Fa-f\\d]{24}$"
46
+ },
47
+ "name": {
48
+ "type": "string",
49
+ "minLength": 1,
50
+ "maxLength": 255
51
+ },
52
+ "description": {
53
+ "type": "string",
54
+ "maxLength": 32767
55
+ },
56
+ "tags": {
57
+ "type": "object",
58
+ "patternProperties": {
59
+ "^[0-9a-zA-Z_-]{1,255}$": {
60
+ "type": "array",
61
+ "minItems": 1,
62
+ "items": {
63
+ "type": "string",
64
+ "minLength": 1,
65
+ "maxLength": 255
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ "additionalProperties": false
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "success": {
6
+ "type": "boolean",
7
+ "enum": [
8
+ true
9
+ ]
10
+ },
11
+ "ctx": {
12
+ "type": "object",
13
+ "patternProperties": {
14
+ "^[0-9a-zA-Z_-]{1,255}$": {
15
+ "anyOf": [
16
+ [
17
+ {
18
+ "type": "string",
19
+ "maxLength": 32767
20
+ },
21
+ {
22
+ "type": "number"
23
+ },
24
+ {
25
+ "type": "object",
26
+ "properties": {
27
+ "key": {
28
+ "type": "string",
29
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
30
+ },
31
+ "value": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 255
35
+ }
36
+ },
37
+ "additionalProperties": false
38
+ }
39
+ ],
40
+ {
41
+ "type": "object",
42
+ "properties": {
43
+ "id": {
44
+ "type": "string",
45
+ "pattern": "^[A-Fa-f\\d]{24}$"
46
+ },
47
+ "name": {
48
+ "type": "string",
49
+ "minLength": 1,
50
+ "maxLength": 255
51
+ },
52
+ "description": {
53
+ "type": "string",
54
+ "maxLength": 32767
55
+ },
56
+ "tags": {
57
+ "type": "object",
58
+ "patternProperties": {
59
+ "^[0-9a-zA-Z_-]{1,255}$": {
60
+ "type": "array",
61
+ "minItems": 1,
62
+ "items": {
63
+ "type": "string",
64
+ "minLength": 1,
65
+ "maxLength": 255
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ "additionalProperties": false
76
+ }
77
+ }
78
+ }
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.8.4
4
+ version: 1.8.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: 2019-02-27 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -228,6 +228,7 @@ files:
228
228
  - schemas/dashboardContextInstance.json
229
229
  - schemas/dashboardPatch.json
230
230
  - schemas/dashboardPost.json
231
+ - schemas/dashboardSendReport.json
231
232
  - schemas/dashboards.json
232
233
  - schemas/dataTable.json
233
234
  - schemas/dataTableColumn.json
@@ -370,6 +371,8 @@ files:
370
371
  - schemas/timeSeriesQuery.json
371
372
  - schemas/userCredentials.json
372
373
  - schemas/userPost.json
374
+ - schemas/validateContextError.json
375
+ - schemas/validateContextSuccess.json
373
376
  - schemas/virtualButtonPress.json
374
377
  - schemas/webhook.json
375
378
  - schemas/webhookPatch.json