losant_rest 1.15.2 → 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 +7912 -2208
- data/docs/application.md +3 -4
- data/docs/applicationDashboard.md +43 -0
- data/docs/applications.md +3 -2
- data/docs/flows.md +38 -0
- data/docs/instanceCustomNode.md +222 -0
- data/docs/instanceCustomNodes.md +91 -0
- data/docs/instanceSandbox.md +135 -0
- data/docs/instanceSandboxes.md +53 -0
- data/lib/losant_rest/application_dashboard.rb +49 -0
- data/lib/losant_rest/client.rb +18 -2
- data/lib/losant_rest/flows.rb +44 -0
- data/lib/losant_rest/instance_custom_node.rb +282 -0
- data/lib/losant_rest/instance_custom_nodes.rb +136 -0
- 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 +4 -0
- data/schemas/apiTokenPost.json +18 -1
- data/schemas/application.json +1 -1
- data/schemas/applicationApplyTemplatePatch.json +5 -0
- data/schemas/applicationClonePost.json +5 -0
- data/schemas/applicationCreationByTemplateResult.json +1 -1
- data/schemas/applicationDashboardPost.json +165 -3
- data/schemas/applicationExportPost.json +5 -0
- data/schemas/applicationImportOptions.json +43 -0
- data/schemas/applicationPatch.json +1 -1
- data/schemas/applicationPost.json +1 -1
- data/schemas/applicationSearchResult.json +2 -1
- data/schemas/applicationTemplateCategories.json +11 -0
- data/schemas/applicationTemplateCategory.json +11 -0
- data/schemas/applications.json +1 -1
- data/schemas/dashboard.json +165 -3
- data/schemas/dashboardPatch.json +165 -3
- data/schemas/dashboardPost.json +165 -3
- data/schemas/dashboardSendReport.json +23 -3
- data/schemas/dashboards.json +165 -3
- 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/experienceBootstrapOptions.json +1 -1
- data/schemas/experienceLinkedResources.json +20 -5
- data/schemas/experienceSlug.json +1 -1
- data/schemas/experienceSlugPatch.json +1 -1
- data/schemas/experienceSlugPost.json +1 -1
- data/schemas/experienceSlugs.json +1 -1
- data/schemas/experienceUser.json +2 -1
- data/schemas/experienceUsers.json +2 -1
- data/schemas/flow.json +18 -0
- data/schemas/flowPatch.json +19 -0
- data/schemas/flowPost.json +19 -0
- data/schemas/flowVersion.json +2 -5
- data/schemas/flowVersionPost.json +1 -0
- data/schemas/flowVersions.json +2 -5
- data/schemas/flowVersionsDeletePost.json +5 -0
- data/schemas/flows.json +18 -0
- data/schemas/flowsImportPost.json +29 -2
- data/schemas/flowsImportResult.json +20 -5
- data/schemas/githubLogin.json +18 -1
- data/schemas/importIntoApplicationOptions.json +52 -0
- data/schemas/importNewApplicationOptions.json +44 -0
- data/schemas/instance.json +1 -0
- data/schemas/instanceCustomNode.json +589 -0
- data/schemas/instanceCustomNodePatch.json +674 -0
- data/schemas/instanceCustomNodePost.json +679 -0
- data/schemas/instanceCustomNodes.json +634 -0
- data/schemas/instanceMember.json +2 -1
- data/schemas/instanceMembers.json +2 -1
- data/schemas/instanceOrg.json +38 -0
- data/schemas/instanceOrgMember.json +2 -1
- data/schemas/instanceOrgPatch.json +29 -0
- data/schemas/instanceOrgPost.json +29 -0
- data/schemas/instanceOrgs.json +38 -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/integration.json +29 -1
- data/schemas/integrationPatch.json +29 -1
- data/schemas/integrationPost.json +29 -1
- data/schemas/integrations.json +29 -1
- data/schemas/me.json +2 -1
- data/schemas/notebookDataExportOptions.json +5 -0
- data/schemas/org.json +19 -1
- data/schemas/orgs.json +19 -1
- data/schemas/paletteResponse.json +785 -0
- data/schemas/userCredentials.json +18 -1
- data/schemas/userPost.json +18 -1
- metadata +20 -2
@@ -25,10 +25,35 @@
|
|
25
25
|
"type": "string",
|
26
26
|
"maxLength": 32767
|
27
27
|
},
|
28
|
+
"shortDescription": {
|
29
|
+
"type": "string",
|
30
|
+
"maxLength": 1024
|
31
|
+
},
|
28
32
|
"iconData": {
|
33
|
+
"oneOf": [
|
34
|
+
{
|
35
|
+
"type": "string",
|
36
|
+
"maxLength": 32767,
|
37
|
+
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"type": "null"
|
41
|
+
}
|
42
|
+
]
|
43
|
+
},
|
44
|
+
"docsUrl": {
|
45
|
+
"type": "string",
|
46
|
+
"maxLength": 1024
|
47
|
+
},
|
48
|
+
"category": {
|
29
49
|
"type": "string",
|
30
|
-
"
|
31
|
-
|
50
|
+
"enum": [
|
51
|
+
"data",
|
52
|
+
"experience",
|
53
|
+
"logic",
|
54
|
+
"output",
|
55
|
+
""
|
56
|
+
]
|
32
57
|
},
|
33
58
|
"enabled": {
|
34
59
|
"type": "boolean"
|
@@ -84,6 +109,7 @@
|
|
84
109
|
"deviceIdsTagsDisconnect",
|
85
110
|
"eeaInit",
|
86
111
|
"flowError",
|
112
|
+
"azureEventHub",
|
87
113
|
"googlePubSub",
|
88
114
|
"meridian",
|
89
115
|
"mqtt",
|
@@ -2654,6 +2680,7 @@
|
|
2654
2680
|
"deviceIdsTagsDisconnect",
|
2655
2681
|
"eeaInit",
|
2656
2682
|
"flowError",
|
2683
|
+
"azureEventHub",
|
2657
2684
|
"googlePubSub",
|
2658
2685
|
"meridian",
|
2659
2686
|
"mqtt",
|
@@ -39,11 +39,28 @@
|
|
39
39
|
"type": "string",
|
40
40
|
"maxLength": 32767
|
41
41
|
},
|
42
|
+
"shortDescription": {
|
43
|
+
"type": "string",
|
44
|
+
"maxLength": 1024
|
45
|
+
},
|
42
46
|
"iconData": {
|
43
47
|
"type": "string",
|
44
48
|
"maxLength": 32767,
|
45
49
|
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
|
46
50
|
},
|
51
|
+
"docsUrl": {
|
52
|
+
"type": "string",
|
53
|
+
"maxLength": 1024
|
54
|
+
},
|
55
|
+
"category": {
|
56
|
+
"type": "string",
|
57
|
+
"enum": [
|
58
|
+
"data",
|
59
|
+
"experience",
|
60
|
+
"logic",
|
61
|
+
"output"
|
62
|
+
]
|
63
|
+
},
|
47
64
|
"enabled": {
|
48
65
|
"type": "boolean"
|
49
66
|
},
|
@@ -116,6 +133,7 @@
|
|
116
133
|
"deviceIdsTagsDisconnect",
|
117
134
|
"eeaInit",
|
118
135
|
"flowError",
|
136
|
+
"azureEventHub",
|
119
137
|
"googlePubSub",
|
120
138
|
"meridian",
|
121
139
|
"mqtt",
|
@@ -2704,6 +2722,7 @@
|
|
2704
2722
|
"deviceIdsTagsDisconnect",
|
2705
2723
|
"eeaInit",
|
2706
2724
|
"flowError",
|
2725
|
+
"azureEventHub",
|
2707
2726
|
"googlePubSub",
|
2708
2727
|
"meridian",
|
2709
2728
|
"mqtt",
|
@@ -5219,11 +5238,6 @@
|
|
5219
5238
|
"type": "string",
|
5220
5239
|
"maxLength": 32767
|
5221
5240
|
},
|
5222
|
-
"iconData": {
|
5223
|
-
"type": "string",
|
5224
|
-
"maxLength": 32767,
|
5225
|
-
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
|
5226
|
-
},
|
5227
5241
|
"flowClass": {
|
5228
5242
|
"type": "string",
|
5229
5243
|
"enum": [
|
@@ -5292,6 +5306,7 @@
|
|
5292
5306
|
"deviceIdsTagsDisconnect",
|
5293
5307
|
"eeaInit",
|
5294
5308
|
"flowError",
|
5309
|
+
"azureEventHub",
|
5295
5310
|
"googlePubSub",
|
5296
5311
|
"meridian",
|
5297
5312
|
"mqtt",
|
data/schemas/githubLogin.json
CHANGED
@@ -108,6 +108,7 @@
|
|
108
108
|
"applicationCertificateAuthorities.post",
|
109
109
|
"applicationDashboard.get",
|
110
110
|
"applicationDashboard.patch",
|
111
|
+
"applicationDashboard.sendReport",
|
111
112
|
"applicationDashboard.delete",
|
112
113
|
"applicationDashboards.get",
|
113
114
|
"applicationDashboards.post",
|
@@ -257,6 +258,7 @@
|
|
257
258
|
"flows.get",
|
258
259
|
"flows.getByVersion",
|
259
260
|
"flows.import",
|
261
|
+
"flows.palette",
|
260
262
|
"flows.post",
|
261
263
|
"flowVersion.delete",
|
262
264
|
"flowVersion.errors",
|
@@ -371,7 +373,22 @@
|
|
371
373
|
"instanceApiToken.*",
|
372
374
|
"instanceApiToken.get",
|
373
375
|
"instanceApiToken.patch",
|
374
|
-
"instanceApiToken.delete"
|
376
|
+
"instanceApiToken.delete",
|
377
|
+
"instanceCustomNodes.*",
|
378
|
+
"instanceCustomNodes.get",
|
379
|
+
"instanceCustomNodes.post",
|
380
|
+
"instanceCustomNode.*",
|
381
|
+
"instanceCustomNode.get",
|
382
|
+
"instanceCustomNode.patch",
|
383
|
+
"instanceCustomNode.delete",
|
384
|
+
"instanceCustomNode.errors",
|
385
|
+
"instanceCustomNode.stats",
|
386
|
+
"instanceSandbox.*",
|
387
|
+
"instanceSandbox.get",
|
388
|
+
"instanceSandbox.delete",
|
389
|
+
"instanceSandbox.undelete",
|
390
|
+
"instanceSandboxes.*",
|
391
|
+
"instanceSandboxes.get"
|
375
392
|
]
|
376
393
|
},
|
377
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
|
+
}
|