losant_rest 1.16.1 → 1.16.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +1260 -316
  3. data/docs/applications.md +1 -1
  4. data/docs/instanceSandbox.md +135 -0
  5. data/docs/instanceSandboxes.md +53 -0
  6. data/lib/losant_rest/client.rb +10 -2
  7. data/lib/losant_rest/instance_sandbox.rb +181 -0
  8. data/lib/losant_rest/instance_sandboxes.rb +94 -0
  9. data/lib/losant_rest/version.rb +1 -1
  10. data/lib/losant_rest.rb +2 -0
  11. data/schemas/apiTokenPost.json +7 -1
  12. data/schemas/applicationDashboardPost.json +3 -0
  13. data/schemas/applicationExportPost.json +1 -0
  14. data/schemas/applicationSearchResult.json +2 -1
  15. data/schemas/applicationTemplateCategories.json +11 -0
  16. data/schemas/applicationTemplateCategory.json +11 -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/dashboardSendReport.json +3 -0
  21. data/schemas/dashboards.json +3 -0
  22. data/schemas/dataExport.json +1 -0
  23. data/schemas/devicesDeletePost.json +5 -0
  24. data/schemas/devicesExportPayloadCountPost.json +1 -0
  25. data/schemas/devicesExportPost.json +1 -0
  26. data/schemas/devicesPatch.json +5 -0
  27. data/schemas/embeddedDeploymentExport.json +5 -0
  28. data/schemas/eventsExport.json +1 -0
  29. data/schemas/flowVersionsDeletePost.json +5 -0
  30. data/schemas/githubLogin.json +7 -1
  31. data/schemas/importIntoApplicationOptions.json +52 -0
  32. data/schemas/importNewApplicationOptions.json +44 -0
  33. data/schemas/instance.json +1 -0
  34. data/schemas/instanceOrg.json +30 -0
  35. data/schemas/instanceOrgPatch.json +29 -0
  36. data/schemas/instanceOrgPost.json +29 -0
  37. data/schemas/instanceOrgs.json +30 -0
  38. data/schemas/instancePatch.json +1 -0
  39. data/schemas/instanceReportOptionsPost.json +1 -0
  40. data/schemas/instanceSandbox.json +423 -0
  41. data/schemas/instanceSandboxes.json +48 -0
  42. data/schemas/notebookDataExportOptions.json +5 -0
  43. data/schemas/org.json +17 -0
  44. data/schemas/orgs.json +17 -0
  45. data/schemas/userCredentials.json +7 -1
  46. data/schemas/userPost.json +7 -1
  47. metadata +10 -2
@@ -1334,6 +1334,11 @@
1334
1334
  }
1335
1335
  },
1336
1336
  "additionalProperties": false
1337
+ },
1338
+ "callbackUrl": {
1339
+ "type": "string",
1340
+ "format": "uri",
1341
+ "maxLength": 1024
1337
1342
  }
1338
1343
  },
1339
1344
  "additionalProperties": false,
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "callbackUrl": {
11
11
  "type": "string",
12
+ "format": "uri",
12
13
  "maxLength": 1024
13
14
  },
14
15
  "query": {
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "callbackUrl": {
11
11
  "type": "string",
12
+ "format": "uri",
12
13
  "maxLength": 1024
13
14
  },
14
15
  "query": {
@@ -2279,6 +2279,11 @@
2279
2279
  "type": "string",
2280
2280
  "format": "email",
2281
2281
  "maxLength": 1024
2282
+ },
2283
+ "callbackUrl": {
2284
+ "type": "string",
2285
+ "format": "uri",
2286
+ "maxLength": 1024
2282
2287
  }
2283
2288
  },
2284
2289
  "additionalProperties": false,
@@ -7,6 +7,11 @@
7
7
  "format": "email",
8
8
  "maxLength": 1024
9
9
  },
10
+ "callbackUrl": {
11
+ "type": "string",
12
+ "format": "uri",
13
+ "maxLength": 1024
14
+ },
10
15
  "embeddedDeploymentId": {
11
16
  "type": "string",
12
17
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "callbackUrl": {
11
11
  "type": "string",
12
+ "format": "uri",
12
13
  "maxLength": 1024
13
14
  },
14
15
  "query": {
@@ -932,6 +932,11 @@
932
932
  }
933
933
  },
934
934
  "additionalProperties": false
935
+ },
936
+ "callbackUrl": {
937
+ "type": "string",
938
+ "format": "uri",
939
+ "maxLength": 1024
935
940
  }
936
941
  },
937
942
  "additionalProperties": false,
@@ -382,7 +382,13 @@
382
382
  "instanceCustomNode.patch",
383
383
  "instanceCustomNode.delete",
384
384
  "instanceCustomNode.errors",
385
- "instanceCustomNode.stats"
385
+ "instanceCustomNode.stats",
386
+ "instanceSandbox.*",
387
+ "instanceSandbox.get",
388
+ "instanceSandbox.delete",
389
+ "instanceSandbox.undelete",
390
+ "instanceSandboxes.*",
391
+ "instanceSandboxes.get"
386
392
  ]
387
393
  },
388
394
  {
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "importUrl": {
6
+ "type": "string",
7
+ "format": "uri",
8
+ "maxLength": 1024
9
+ },
10
+ "callbackUrl": {
11
+ "type": "string",
12
+ "format": "uri",
13
+ "maxLength": 1024
14
+ },
15
+ "conflictBehavior": {
16
+ "type": "string",
17
+ "enum": [
18
+ "create",
19
+ "error"
20
+ ],
21
+ "default": "create"
22
+ },
23
+ "include": {
24
+ "type": "array",
25
+ "items": {
26
+ "enum": [
27
+ "ApplicationCertificateAuthority",
28
+ "Dashboard",
29
+ "DataTableRow",
30
+ "DataTable",
31
+ "DeviceRecipe",
32
+ "Device",
33
+ "ExperienceDevelopConfig",
34
+ "ExperienceEndpoint",
35
+ "ExperienceFlowVersion",
36
+ "ExperienceGroup",
37
+ "ExperienceUser",
38
+ "ExperienceVersion",
39
+ "ExperienceView",
40
+ "File",
41
+ "FlowVersion",
42
+ "Flow",
43
+ "Integration",
44
+ "Notebook",
45
+ "Webhook"
46
+ ]
47
+ },
48
+ "uniqueItems": true
49
+ }
50
+ },
51
+ "additionalProperties": false
52
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "importUrl": {
6
+ "type": "string",
7
+ "format": "uri",
8
+ "maxLength": 1024
9
+ },
10
+ "callbackUrl": {
11
+ "type": "string",
12
+ "format": "uri",
13
+ "maxLength": 1024
14
+ },
15
+ "include": {
16
+ "type": "array",
17
+ "items": {
18
+ "enum": [
19
+ "ApplicationCertificateAuthority",
20
+ "Dashboard",
21
+ "DataTableRow",
22
+ "DataTable",
23
+ "DeviceRecipe",
24
+ "Device",
25
+ "ExperienceDevelopConfig",
26
+ "ExperienceEndpoint",
27
+ "ExperienceFlowVersion",
28
+ "ExperienceGroup",
29
+ "ExperienceUser",
30
+ "ExperienceVersion",
31
+ "ExperienceView",
32
+ "File",
33
+ "FlowVersion",
34
+ "Flow",
35
+ "Integration",
36
+ "Notebook",
37
+ "Webhook"
38
+ ]
39
+ },
40
+ "uniqueItems": true
41
+ }
42
+ },
43
+ "additionalProperties": false
44
+ }
@@ -55,6 +55,7 @@
55
55
  },
56
56
  "callbackUrl": {
57
57
  "type": "string",
58
+ "format": "uri",
58
59
  "maxLength": 1024
59
60
  },
60
61
  "resourceGroupBy": {
@@ -145,6 +145,36 @@
145
145
  "format": "date-time"
146
146
  }
147
147
  ]
148
+ },
149
+ "isReadOnly": {
150
+ "type": "boolean"
151
+ },
152
+ "tags": {
153
+ "type": "array",
154
+ "items": {
155
+ "type": "object",
156
+ "properties": {
157
+ "key": {
158
+ "type": "string",
159
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
160
+ },
161
+ "value": {
162
+ "type": "string",
163
+ "minLength": 1,
164
+ "maxLength": 255
165
+ }
166
+ },
167
+ "required": [
168
+ "key",
169
+ "value"
170
+ ],
171
+ "additionalProperties": false
172
+ },
173
+ "maxItems": 100
174
+ },
175
+ "referralId": {
176
+ "type": "string",
177
+ "maxLength": 1024
148
178
  }
149
179
  },
150
180
  "additionalProperties": false,
@@ -154,6 +154,35 @@
154
154
  "type": "boolean"
155
155
  }
156
156
  ]
157
+ },
158
+ "isReadOnly": {
159
+ "type": "boolean"
160
+ },
161
+ "tags": {
162
+ "type": "array",
163
+ "items": {
164
+ "type": "object",
165
+ "properties": {
166
+ "key": {
167
+ "type": "string",
168
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
169
+ },
170
+ "value": {
171
+ "type": "string",
172
+ "minLength": 1,
173
+ "maxLength": 255
174
+ }
175
+ },
176
+ "required": [
177
+ "key",
178
+ "value"
179
+ ],
180
+ "additionalProperties": false
181
+ },
182
+ "maxItems": 100
183
+ },
184
+ "referralId": {
185
+ "ref": "#/definitions/common/optMedStr"
157
186
  }
158
187
  },
159
188
  "additionalProperties": false
@@ -320,6 +320,35 @@
320
320
  "type": "boolean"
321
321
  }
322
322
  ]
323
+ },
324
+ "isReadOnly": {
325
+ "type": "boolean"
326
+ },
327
+ "tags": {
328
+ "type": "array",
329
+ "items": {
330
+ "type": "object",
331
+ "properties": {
332
+ "key": {
333
+ "type": "string",
334
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
335
+ },
336
+ "value": {
337
+ "type": "string",
338
+ "minLength": 1,
339
+ "maxLength": 255
340
+ }
341
+ },
342
+ "required": [
343
+ "key",
344
+ "value"
345
+ ],
346
+ "additionalProperties": false
347
+ },
348
+ "maxItems": 100
349
+ },
350
+ "referralId": {
351
+ "ref": "#/definitions/common/optMedStr"
323
352
  }
324
353
  },
325
354
  "additionalProperties": false,
@@ -152,6 +152,36 @@
152
152
  "format": "date-time"
153
153
  }
154
154
  ]
155
+ },
156
+ "isReadOnly": {
157
+ "type": "boolean"
158
+ },
159
+ "tags": {
160
+ "type": "array",
161
+ "items": {
162
+ "type": "object",
163
+ "properties": {
164
+ "key": {
165
+ "type": "string",
166
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
167
+ },
168
+ "value": {
169
+ "type": "string",
170
+ "minLength": 1,
171
+ "maxLength": 255
172
+ }
173
+ },
174
+ "required": [
175
+ "key",
176
+ "value"
177
+ ],
178
+ "additionalProperties": false
179
+ },
180
+ "maxItems": 100
181
+ },
182
+ "referralId": {
183
+ "type": "string",
184
+ "maxLength": 1024
155
185
  }
156
186
  },
157
187
  "additionalProperties": false,
@@ -31,6 +31,7 @@
31
31
  },
32
32
  "callbackUrl": {
33
33
  "type": "string",
34
+ "format": "uri",
34
35
  "maxLength": 1024
35
36
  },
36
37
  "resourceGroupBy": {
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "callbackUrl": {
11
11
  "type": "string",
12
+ "format": "uri",
12
13
  "maxLength": 1024
13
14
  },
14
15
  "resourceGroupBy": {