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
@@ -158,6 +158,8 @@
158
158
  "devices.get",
159
159
  "devices.post",
160
160
  "devices.sendCommand",
161
+ "devices.tagKeys",
162
+ "devices.tagValues",
161
163
  "edgeDeployments.get",
162
164
  "edgeDeployments.release",
163
165
  "edgeDeployments.remove",
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "attributeNames": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string",
9
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
10
+ },
11
+ "maxItems": 1000
12
+ }
13
+ }
14
+ }
@@ -3931,6 +3931,9 @@
3931
3931
  },
3932
3932
  "defaultValue": {
3933
3933
  "type": "boolean"
3934
+ },
3935
+ "includeLabel": {
3936
+ "type": "boolean"
3934
3937
  }
3935
3938
  },
3936
3939
  "additionalProperties": false
@@ -3813,6 +3813,9 @@
3813
3813
  },
3814
3814
  "defaultValue": {
3815
3815
  "type": "boolean"
3816
+ },
3817
+ "includeLabel": {
3818
+ "type": "boolean"
3816
3819
  }
3817
3820
  },
3818
3821
  "additionalProperties": false
@@ -3821,6 +3821,9 @@
3821
3821
  },
3822
3822
  "defaultValue": {
3823
3823
  "type": "boolean"
3824
+ },
3825
+ "includeLabel": {
3826
+ "type": "boolean"
3824
3827
  }
3825
3828
  },
3826
3829
  "additionalProperties": false
@@ -3938,6 +3938,9 @@
3938
3938
  },
3939
3939
  "defaultValue": {
3940
3940
  "type": "boolean"
3941
+ },
3942
+ "includeLabel": {
3943
+ "type": "boolean"
3941
3944
  }
3942
3945
  },
3943
3946
  "additionalProperties": false
@@ -1330,6 +1330,17 @@
1330
1330
  },
1331
1331
  "config": {
1332
1332
  "type": "object",
1333
+ "properties": {
1334
+ "scope": {
1335
+ "type": "string",
1336
+ "enum": [
1337
+ "local",
1338
+ "global",
1339
+ "experience",
1340
+ "cloud"
1341
+ ]
1342
+ }
1343
+ },
1333
1344
  "additionalProperties": false
1334
1345
  },
1335
1346
  "meta": {
@@ -3567,6 +3578,17 @@
3567
3578
  },
3568
3579
  "config": {
3569
3580
  "type": "object",
3581
+ "properties": {
3582
+ "scope": {
3583
+ "type": "string",
3584
+ "enum": [
3585
+ "local",
3586
+ "global",
3587
+ "experience",
3588
+ "cloud"
3589
+ ]
3590
+ }
3591
+ },
3570
3592
  "additionalProperties": false
3571
3593
  },
3572
3594
  "meta": {
@@ -5754,6 +5776,17 @@
5754
5776
  },
5755
5777
  "config": {
5756
5778
  "type": "object",
5779
+ "properties": {
5780
+ "scope": {
5781
+ "type": "string",
5782
+ "enum": [
5783
+ "local",
5784
+ "global",
5785
+ "experience",
5786
+ "cloud"
5787
+ ]
5788
+ }
5789
+ },
5757
5790
  "additionalProperties": false
5758
5791
  },
5759
5792
  "meta": {
@@ -37,6 +37,15 @@
37
37
  "endpointDefaultCors": {
38
38
  "type": "boolean"
39
39
  },
40
+ "allowedCorsOrigins": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "string",
44
+ "minLength": 8,
45
+ "maxLength": 270
46
+ },
47
+ "maxItems": 100
48
+ },
40
49
  "version": {
41
50
  "type": "string",
42
51
  "minLength": 1,
@@ -5,6 +5,15 @@
5
5
  "endpointDefaultCors": {
6
6
  "type": "boolean"
7
7
  },
8
+ "allowedCorsOrigins": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string",
12
+ "minLength": 8,
13
+ "maxLength": 270
14
+ },
15
+ "maxItems": 100
16
+ },
8
17
  "description": {
9
18
  "type": "string",
10
19
  "maxLength": 32767
@@ -44,6 +44,15 @@
44
44
  "endpointDefaultCors": {
45
45
  "type": "boolean"
46
46
  },
47
+ "allowedCorsOrigins": {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "string",
51
+ "minLength": 8,
52
+ "maxLength": 270
53
+ },
54
+ "maxItems": 100
55
+ },
47
56
  "version": {
48
57
  "type": "string",
49
58
  "minLength": 1,
@@ -947,6 +947,17 @@
947
947
  },
948
948
  "config": {
949
949
  "type": "object",
950
+ "properties": {
951
+ "scope": {
952
+ "type": "string",
953
+ "enum": [
954
+ "local",
955
+ "global",
956
+ "experience",
957
+ "cloud"
958
+ ]
959
+ }
960
+ },
950
961
  "additionalProperties": false
951
962
  },
952
963
  "meta": {
@@ -928,6 +928,17 @@
928
928
  },
929
929
  "config": {
930
930
  "type": "object",
931
+ "properties": {
932
+ "scope": {
933
+ "type": "string",
934
+ "enum": [
935
+ "local",
936
+ "global",
937
+ "experience",
938
+ "cloud"
939
+ ]
940
+ }
941
+ },
931
942
  "additionalProperties": false
932
943
  },
933
944
  "meta": {
@@ -917,6 +917,17 @@
917
917
  },
918
918
  "config": {
919
919
  "type": "object",
920
+ "properties": {
921
+ "scope": {
922
+ "type": "string",
923
+ "enum": [
924
+ "local",
925
+ "global",
926
+ "experience",
927
+ "cloud"
928
+ ]
929
+ }
930
+ },
920
931
  "additionalProperties": false
921
932
  },
922
933
  "meta": {
@@ -932,6 +932,17 @@
932
932
  },
933
933
  "config": {
934
934
  "type": "object",
935
+ "properties": {
936
+ "scope": {
937
+ "type": "string",
938
+ "enum": [
939
+ "local",
940
+ "global",
941
+ "experience",
942
+ "cloud"
943
+ ]
944
+ }
945
+ },
935
946
  "additionalProperties": false
936
947
  },
937
948
  "meta": {
@@ -3119,6 +3130,17 @@
3119
3130
  },
3120
3131
  "config": {
3121
3132
  "type": "object",
3133
+ "properties": {
3134
+ "scope": {
3135
+ "type": "string",
3136
+ "enum": [
3137
+ "local",
3138
+ "global",
3139
+ "experience",
3140
+ "cloud"
3141
+ ]
3142
+ }
3143
+ },
3122
3144
  "additionalProperties": false
3123
3145
  },
3124
3146
  "meta": {
@@ -905,6 +905,17 @@
905
905
  },
906
906
  "config": {
907
907
  "type": "object",
908
+ "properties": {
909
+ "scope": {
910
+ "type": "string",
911
+ "enum": [
912
+ "local",
913
+ "global",
914
+ "experience",
915
+ "cloud"
916
+ ]
917
+ }
918
+ },
908
919
  "additionalProperties": false
909
920
  },
910
921
  "meta": {
@@ -939,6 +939,17 @@
939
939
  },
940
940
  "config": {
941
941
  "type": "object",
942
+ "properties": {
943
+ "scope": {
944
+ "type": "string",
945
+ "enum": [
946
+ "local",
947
+ "global",
948
+ "experience",
949
+ "cloud"
950
+ ]
951
+ }
952
+ },
942
953
  "additionalProperties": false
943
954
  },
944
955
  "meta": {
@@ -3126,6 +3137,17 @@
3126
3137
  },
3127
3138
  "config": {
3128
3139
  "type": "object",
3140
+ "properties": {
3141
+ "scope": {
3142
+ "type": "string",
3143
+ "enum": [
3144
+ "local",
3145
+ "global",
3146
+ "experience",
3147
+ "cloud"
3148
+ ]
3149
+ }
3150
+ },
3129
3151
  "additionalProperties": false
3130
3152
  },
3131
3153
  "meta": {
@@ -954,6 +954,17 @@
954
954
  },
955
955
  "config": {
956
956
  "type": "object",
957
+ "properties": {
958
+ "scope": {
959
+ "type": "string",
960
+ "enum": [
961
+ "local",
962
+ "global",
963
+ "experience",
964
+ "cloud"
965
+ ]
966
+ }
967
+ },
957
968
  "additionalProperties": false
958
969
  },
959
970
  "meta": {
@@ -924,6 +924,17 @@
924
924
  },
925
925
  "config": {
926
926
  "type": "object",
927
+ "properties": {
928
+ "scope": {
929
+ "type": "string",
930
+ "enum": [
931
+ "local",
932
+ "global",
933
+ "experience",
934
+ "cloud"
935
+ ]
936
+ }
937
+ },
927
938
  "additionalProperties": false
928
939
  },
929
940
  "meta": {
@@ -3092,6 +3103,17 @@
3092
3103
  },
3093
3104
  "config": {
3094
3105
  "type": "object",
3106
+ "properties": {
3107
+ "scope": {
3108
+ "type": "string",
3109
+ "enum": [
3110
+ "local",
3111
+ "global",
3112
+ "experience",
3113
+ "cloud"
3114
+ ]
3115
+ }
3116
+ },
3095
3117
  "additionalProperties": false
3096
3118
  },
3097
3119
  "meta": {
@@ -955,6 +955,17 @@
955
955
  },
956
956
  "config": {
957
957
  "type": "object",
958
+ "properties": {
959
+ "scope": {
960
+ "type": "string",
961
+ "enum": [
962
+ "local",
963
+ "global",
964
+ "experience",
965
+ "cloud"
966
+ ]
967
+ }
968
+ },
958
969
  "additionalProperties": false
959
970
  },
960
971
  "meta": {
@@ -3142,6 +3153,17 @@
3142
3153
  },
3143
3154
  "config": {
3144
3155
  "type": "object",
3156
+ "properties": {
3157
+ "scope": {
3158
+ "type": "string",
3159
+ "enum": [
3160
+ "local",
3161
+ "global",
3162
+ "experience",
3163
+ "cloud"
3164
+ ]
3165
+ }
3166
+ },
3145
3167
  "additionalProperties": false
3146
3168
  },
3147
3169
  "meta": {
@@ -5329,6 +5351,17 @@
5329
5351
  },
5330
5352
  "config": {
5331
5353
  "type": "object",
5354
+ "properties": {
5355
+ "scope": {
5356
+ "type": "string",
5357
+ "enum": [
5358
+ "local",
5359
+ "global",
5360
+ "experience",
5361
+ "cloud"
5362
+ ]
5363
+ }
5364
+ },
5332
5365
  "additionalProperties": false
5333
5366
  },
5334
5367
  "meta": {
@@ -154,6 +154,8 @@
154
154
  "devices.get",
155
155
  "devices.post",
156
156
  "devices.sendCommand",
157
+ "devices.tagKeys",
158
+ "devices.tagValues",
157
159
  "edgeDeployments.get",
158
160
  "edgeDeployments.release",
159
161
  "edgeDeployments.remove",
@@ -121,6 +121,9 @@
121
121
  "type": "string",
122
122
  "maxLength": 32767,
123
123
  "minLength": 4
124
+ },
125
+ "disableSSLVerification": {
126
+ "type": "boolean"
124
127
  }
125
128
  },
126
129
  "additionalProperties": false,