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.
- checksums.yaml +4 -4
- data/docs/_schemas.md +1260 -316
- data/docs/applications.md +1 -1
- data/docs/instanceSandbox.md +135 -0
- data/docs/instanceSandboxes.md +53 -0
- data/lib/losant_rest/client.rb +10 -2
- data/lib/losant_rest/instance_sandbox.rb +181 -0
- data/lib/losant_rest/instance_sandboxes.rb +94 -0
- data/lib/losant_rest/version.rb +1 -1
- data/lib/losant_rest.rb +2 -0
- data/schemas/apiTokenPost.json +7 -1
- data/schemas/applicationDashboardPost.json +3 -0
- data/schemas/applicationExportPost.json +1 -0
- data/schemas/applicationSearchResult.json +2 -1
- data/schemas/applicationTemplateCategories.json +11 -0
- data/schemas/applicationTemplateCategory.json +11 -0
- data/schemas/dashboard.json +3 -0
- data/schemas/dashboardPatch.json +3 -0
- data/schemas/dashboardPost.json +3 -0
- data/schemas/dashboardSendReport.json +3 -0
- data/schemas/dashboards.json +3 -0
- data/schemas/dataExport.json +1 -0
- data/schemas/devicesDeletePost.json +5 -0
- data/schemas/devicesExportPayloadCountPost.json +1 -0
- data/schemas/devicesExportPost.json +1 -0
- data/schemas/devicesPatch.json +5 -0
- data/schemas/embeddedDeploymentExport.json +5 -0
- data/schemas/eventsExport.json +1 -0
- data/schemas/flowVersionsDeletePost.json +5 -0
- data/schemas/githubLogin.json +7 -1
- data/schemas/importIntoApplicationOptions.json +52 -0
- data/schemas/importNewApplicationOptions.json +44 -0
- data/schemas/instance.json +1 -0
- data/schemas/instanceOrg.json +30 -0
- data/schemas/instanceOrgPatch.json +29 -0
- data/schemas/instanceOrgPost.json +29 -0
- data/schemas/instanceOrgs.json +30 -0
- data/schemas/instancePatch.json +1 -0
- data/schemas/instanceReportOptionsPost.json +1 -0
- data/schemas/instanceSandbox.json +423 -0
- data/schemas/instanceSandboxes.json +48 -0
- data/schemas/notebookDataExportOptions.json +5 -0
- data/schemas/org.json +17 -0
- data/schemas/orgs.json +17 -0
- data/schemas/userCredentials.json +7 -1
- data/schemas/userPost.json +7 -1
- metadata +10 -2
data/schemas/devicesPatch.json
CHANGED
data/schemas/eventsExport.json
CHANGED
data/schemas/githubLogin.json
CHANGED
@@ -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
|
+
}
|
data/schemas/instance.json
CHANGED
data/schemas/instanceOrg.json
CHANGED
@@ -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,
|
data/schemas/instanceOrgs.json
CHANGED
@@ -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,
|
data/schemas/instancePatch.json
CHANGED