losant_rest 1.11.0 → 1.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/_schemas.md +3645 -1144
  4. data/docs/devices.md +124 -0
  5. data/docs/flowVersions.md +1 -0
  6. data/docs/flows.md +2 -0
  7. data/lib/losant_rest/client.rb +2 -2
  8. data/lib/losant_rest/devices.rb +152 -0
  9. data/lib/losant_rest/flow_versions.rb +3 -0
  10. data/lib/losant_rest/flows.rb +6 -0
  11. data/lib/losant_rest/version.rb +1 -1
  12. data/schemas/advancedFlowByVersionQuery.json +665 -0
  13. data/schemas/advancedFlowQuery.json +665 -0
  14. data/schemas/advancedFlowVersionQuery.json +707 -0
  15. data/schemas/applicationApiTokenPost.json +2 -0
  16. data/schemas/attributeNamesResponse.json +14 -0
  17. data/schemas/dashboard.json +3 -0
  18. data/schemas/dashboardPatch.json +3 -0
  19. data/schemas/dashboardPost.json +3 -0
  20. data/schemas/dashboards.json +3 -0
  21. data/schemas/experienceLinkedResources.json +33 -0
  22. data/schemas/experienceVersion.json +9 -0
  23. data/schemas/experienceVersionPatch.json +9 -0
  24. data/schemas/experienceVersions.json +9 -0
  25. data/schemas/flow.json +11 -0
  26. data/schemas/flowPatch.json +11 -0
  27. data/schemas/flowPost.json +11 -0
  28. data/schemas/flowVersion.json +22 -0
  29. data/schemas/flowVersionPost.json +11 -0
  30. data/schemas/flowVersions.json +22 -0
  31. data/schemas/flows.json +11 -0
  32. data/schemas/flowsImportPost.json +22 -0
  33. data/schemas/flowsImportResult.json +33 -0
  34. data/schemas/githubLogin.json +2 -0
  35. data/schemas/integration.json +3 -0
  36. data/schemas/integrationPatch.json +3 -0
  37. data/schemas/integrationPost.json +3 -0
  38. data/schemas/integrations.json +3 -0
  39. data/schemas/notebook.json +7 -0
  40. data/schemas/notebookExecutionLogs.json +7 -0
  41. data/schemas/notebookPatch.json +7 -0
  42. data/schemas/notebookPost.json +7 -0
  43. data/schemas/notebooks.json +7 -0
  44. data/schemas/tagKeysResponse.json +14 -0
  45. data/schemas/tagValuesResponse.json +19 -0
  46. data/schemas/userCredentials.json +2 -0
  47. data/schemas/userPost.json +2 -0
  48. metadata +9 -3
@@ -101,6 +101,9 @@
101
101
  "type": "string",
102
102
  "maxLength": 32767,
103
103
  "minLength": 4
104
+ },
105
+ "disableSSLVerification": {
106
+ "type": "boolean"
104
107
  }
105
108
  },
106
109
  "additionalProperties": false,
@@ -101,6 +101,9 @@
101
101
  "type": "string",
102
102
  "maxLength": 32767,
103
103
  "minLength": 4
104
+ },
105
+ "disableSSLVerification": {
106
+ "type": "boolean"
104
107
  }
105
108
  },
106
109
  "additionalProperties": false,
@@ -128,6 +128,9 @@
128
128
  "type": "string",
129
129
  "maxLength": 32767,
130
130
  "minLength": 4
131
+ },
132
+ "disableSSLVerification": {
133
+ "type": "boolean"
131
134
  }
132
135
  },
133
136
  "additionalProperties": false,
@@ -39,6 +39,13 @@
39
39
  "jupyterFileUrl": {
40
40
  "type": "string"
41
41
  },
42
+ "imageVersion": {
43
+ "type": "string",
44
+ "enum": [
45
+ "v1",
46
+ "v2"
47
+ ]
48
+ },
42
49
  "inputs": {
43
50
  "type": "array",
44
51
  "items": {
@@ -16,6 +16,13 @@
16
16
  "type": "string",
17
17
  "pattern": "^[A-Fa-f\\d]{24}$"
18
18
  },
19
+ "imageVersion": {
20
+ "type": "string",
21
+ "enum": [
22
+ "v1",
23
+ "v2"
24
+ ]
25
+ },
19
26
  "applicationId": {
20
27
  "type": "string",
21
28
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -576,6 +576,13 @@
576
576
  }
577
577
  ]
578
578
  }
579
+ },
580
+ "imageVersion": {
581
+ "type": "string",
582
+ "enum": [
583
+ "v1",
584
+ "v2"
585
+ ]
579
586
  }
580
587
  },
581
588
  "additionalProperties": false
@@ -11,6 +11,13 @@
11
11
  "type": "string",
12
12
  "maxLength": 32767
13
13
  },
14
+ "imageVersion": {
15
+ "type": "string",
16
+ "enum": [
17
+ "v1",
18
+ "v2"
19
+ ]
20
+ },
14
21
  "inputs": {
15
22
  "type": "array",
16
23
  "items": {
@@ -46,6 +46,13 @@
46
46
  "jupyterFileUrl": {
47
47
  "type": "string"
48
48
  },
49
+ "imageVersion": {
50
+ "type": "string",
51
+ "enum": [
52
+ "v1",
53
+ "v2"
54
+ ]
55
+ },
49
56
  "inputs": {
50
57
  "type": "array",
51
58
  "items": {
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "tagKeys": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string",
9
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
10
+ },
11
+ "maxItems": 1000
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "tagKey": {
6
+ "type": "string",
7
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
8
+ },
9
+ "tagValues": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "string",
13
+ "minLength": 1,
14
+ "maxLength": 255
15
+ },
16
+ "maxItems": 1000
17
+ }
18
+ }
19
+ }
@@ -163,6 +163,8 @@
163
163
  "devices.get",
164
164
  "devices.post",
165
165
  "devices.sendCommand",
166
+ "devices.tagKeys",
167
+ "devices.tagValues",
166
168
  "edgeDeployments.get",
167
169
  "edgeDeployments.release",
168
170
  "edgeDeployments.remove",
@@ -222,6 +222,8 @@
222
222
  "devices.get",
223
223
  "devices.post",
224
224
  "devices.sendCommand",
225
+ "devices.tagKeys",
226
+ "devices.tagValues",
225
227
  "edgeDeployments.get",
226
228
  "edgeDeployments.release",
227
229
  "edgeDeployments.remove",
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.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-21 00:00:00.000000000 Z
11
+ date: 2020-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -212,6 +212,9 @@ files:
212
212
  - losant_rest.gemspec
213
213
  - schemas/advancedDeviceQuery.json
214
214
  - schemas/advancedEventQuery.json
215
+ - schemas/advancedFlowByVersionQuery.json
216
+ - schemas/advancedFlowQuery.json
217
+ - schemas/advancedFlowVersionQuery.json
215
218
  - schemas/advancedQuery.json
216
219
  - schemas/apiToken.json
217
220
  - schemas/apiTokenPatch.json
@@ -247,6 +250,7 @@ files:
247
250
  - schemas/applicationTemplateCategory.json
248
251
  - schemas/applicationTemplates.json
249
252
  - schemas/applications.json
253
+ - schemas/attributeNamesResponse.json
250
254
  - schemas/auditLog.json
251
255
  - schemas/auditLogFilter.json
252
256
  - schemas/auditLogs.json
@@ -412,6 +416,8 @@ files:
412
416
  - schemas/samlResponse.json
413
417
  - schemas/ssoRequest.json
414
418
  - schemas/success.json
419
+ - schemas/tagKeysResponse.json
420
+ - schemas/tagValuesResponse.json
415
421
  - schemas/templateKeywords.json
416
422
  - schemas/timeSeriesData.json
417
423
  - schemas/timeSeriesQuery.json
@@ -446,7 +452,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
446
452
  - !ruby/object:Gem::Version
447
453
  version: '0'
448
454
  requirements: []
449
- rubygems_version: 3.1.2
455
+ rubygems_version: 3.1.4
450
456
  signing_key:
451
457
  specification_version: 4
452
458
  summary: Provides a simple ruby wrapper around the Losant REST API