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
data/schemas/integration.json
CHANGED
@@ -30,6 +30,7 @@
|
|
30
30
|
"integrationType": {
|
31
31
|
"type": "string",
|
32
32
|
"enum": [
|
33
|
+
"azureEventHub",
|
33
34
|
"googlePubSub",
|
34
35
|
"meridian",
|
35
36
|
"mqtt",
|
@@ -45,7 +46,34 @@
|
|
45
46
|
"type": "string",
|
46
47
|
"minLength": 1,
|
47
48
|
"maxLength": 1024
|
48
|
-
}
|
49
|
+
},
|
50
|
+
"uniqueItems": true
|
51
|
+
},
|
52
|
+
"azureEventHubConfig": {
|
53
|
+
"type": "object",
|
54
|
+
"properties": {
|
55
|
+
"hubName": {
|
56
|
+
"type": "string",
|
57
|
+
"maxLength": 256,
|
58
|
+
"minLength": 1
|
59
|
+
},
|
60
|
+
"consumerGroup": {
|
61
|
+
"type": "string",
|
62
|
+
"maxLength": 256,
|
63
|
+
"minLength": 1
|
64
|
+
},
|
65
|
+
"connectionString": {
|
66
|
+
"type": "string",
|
67
|
+
"minLength": 1,
|
68
|
+
"maxLength": 1024
|
69
|
+
}
|
70
|
+
},
|
71
|
+
"additionalProperties": false,
|
72
|
+
"required": [
|
73
|
+
"hubName",
|
74
|
+
"consumerGroup",
|
75
|
+
"connectionString"
|
76
|
+
]
|
49
77
|
},
|
50
78
|
"googlePubSubConfig": {
|
51
79
|
"type": "object",
|
@@ -10,6 +10,7 @@
|
|
10
10
|
"integrationType": {
|
11
11
|
"type": "string",
|
12
12
|
"enum": [
|
13
|
+
"azureEventHub",
|
13
14
|
"googlePubSub",
|
14
15
|
"meridian",
|
15
16
|
"mqtt",
|
@@ -25,7 +26,34 @@
|
|
25
26
|
"type": "string",
|
26
27
|
"minLength": 1,
|
27
28
|
"maxLength": 1024
|
28
|
-
}
|
29
|
+
},
|
30
|
+
"uniqueItems": true
|
31
|
+
},
|
32
|
+
"azureEventHubConfig": {
|
33
|
+
"type": "object",
|
34
|
+
"properties": {
|
35
|
+
"hubName": {
|
36
|
+
"type": "string",
|
37
|
+
"maxLength": 256,
|
38
|
+
"minLength": 1
|
39
|
+
},
|
40
|
+
"consumerGroup": {
|
41
|
+
"type": "string",
|
42
|
+
"maxLength": 256,
|
43
|
+
"minLength": 1
|
44
|
+
},
|
45
|
+
"connectionString": {
|
46
|
+
"type": "string",
|
47
|
+
"minLength": 1,
|
48
|
+
"maxLength": 1024
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"additionalProperties": false,
|
52
|
+
"required": [
|
53
|
+
"hubName",
|
54
|
+
"consumerGroup",
|
55
|
+
"connectionString"
|
56
|
+
]
|
29
57
|
},
|
30
58
|
"googlePubSubConfig": {
|
31
59
|
"type": "object",
|
@@ -10,6 +10,7 @@
|
|
10
10
|
"integrationType": {
|
11
11
|
"type": "string",
|
12
12
|
"enum": [
|
13
|
+
"azureEventHub",
|
13
14
|
"googlePubSub",
|
14
15
|
"meridian",
|
15
16
|
"mqtt",
|
@@ -25,7 +26,34 @@
|
|
25
26
|
"type": "string",
|
26
27
|
"minLength": 1,
|
27
28
|
"maxLength": 1024
|
28
|
-
}
|
29
|
+
},
|
30
|
+
"uniqueItems": true
|
31
|
+
},
|
32
|
+
"azureEventHubConfig": {
|
33
|
+
"type": "object",
|
34
|
+
"properties": {
|
35
|
+
"hubName": {
|
36
|
+
"type": "string",
|
37
|
+
"maxLength": 256,
|
38
|
+
"minLength": 1
|
39
|
+
},
|
40
|
+
"consumerGroup": {
|
41
|
+
"type": "string",
|
42
|
+
"maxLength": 256,
|
43
|
+
"minLength": 1
|
44
|
+
},
|
45
|
+
"connectionString": {
|
46
|
+
"type": "string",
|
47
|
+
"minLength": 1,
|
48
|
+
"maxLength": 1024
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"additionalProperties": false,
|
52
|
+
"required": [
|
53
|
+
"hubName",
|
54
|
+
"consumerGroup",
|
55
|
+
"connectionString"
|
56
|
+
]
|
29
57
|
},
|
30
58
|
"googlePubSubConfig": {
|
31
59
|
"type": "object",
|
data/schemas/integrations.json
CHANGED
@@ -37,6 +37,7 @@
|
|
37
37
|
"integrationType": {
|
38
38
|
"type": "string",
|
39
39
|
"enum": [
|
40
|
+
"azureEventHub",
|
40
41
|
"googlePubSub",
|
41
42
|
"meridian",
|
42
43
|
"mqtt",
|
@@ -52,7 +53,34 @@
|
|
52
53
|
"type": "string",
|
53
54
|
"minLength": 1,
|
54
55
|
"maxLength": 1024
|
55
|
-
}
|
56
|
+
},
|
57
|
+
"uniqueItems": true
|
58
|
+
},
|
59
|
+
"azureEventHubConfig": {
|
60
|
+
"type": "object",
|
61
|
+
"properties": {
|
62
|
+
"hubName": {
|
63
|
+
"type": "string",
|
64
|
+
"maxLength": 256,
|
65
|
+
"minLength": 1
|
66
|
+
},
|
67
|
+
"consumerGroup": {
|
68
|
+
"type": "string",
|
69
|
+
"maxLength": 256,
|
70
|
+
"minLength": 1
|
71
|
+
},
|
72
|
+
"connectionString": {
|
73
|
+
"type": "string",
|
74
|
+
"minLength": 1,
|
75
|
+
"maxLength": 1024
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"additionalProperties": false,
|
79
|
+
"required": [
|
80
|
+
"hubName",
|
81
|
+
"consumerGroup",
|
82
|
+
"connectionString"
|
83
|
+
]
|
56
84
|
},
|
57
85
|
"googlePubSubConfig": {
|
58
86
|
"type": "object",
|
data/schemas/me.json
CHANGED
data/schemas/org.json
CHANGED
@@ -52,7 +52,8 @@
|
|
52
52
|
},
|
53
53
|
"avatarUrl": {
|
54
54
|
"type": "string",
|
55
|
-
"format": "
|
55
|
+
"format": "uri",
|
56
|
+
"maxLength": 1024
|
56
57
|
},
|
57
58
|
"role": {
|
58
59
|
"type": "string",
|
@@ -459,6 +460,23 @@
|
|
459
460
|
"maxLength": 45,
|
460
461
|
"minLength": 3
|
461
462
|
}
|
463
|
+
},
|
464
|
+
"disabledAt": {
|
465
|
+
"oneOf": [
|
466
|
+
{
|
467
|
+
"type": "boolean",
|
468
|
+
"enum": [
|
469
|
+
false
|
470
|
+
]
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"type": "string",
|
474
|
+
"format": "date-time"
|
475
|
+
}
|
476
|
+
]
|
477
|
+
},
|
478
|
+
"isReadOnly": {
|
479
|
+
"type": "boolean"
|
462
480
|
}
|
463
481
|
}
|
464
482
|
}
|
data/schemas/orgs.json
CHANGED
@@ -59,7 +59,8 @@
|
|
59
59
|
},
|
60
60
|
"avatarUrl": {
|
61
61
|
"type": "string",
|
62
|
-
"format": "
|
62
|
+
"format": "uri",
|
63
|
+
"maxLength": 1024
|
63
64
|
},
|
64
65
|
"role": {
|
65
66
|
"type": "string",
|
@@ -466,6 +467,23 @@
|
|
466
467
|
"maxLength": 45,
|
467
468
|
"minLength": 3
|
468
469
|
}
|
470
|
+
},
|
471
|
+
"disabledAt": {
|
472
|
+
"oneOf": [
|
473
|
+
{
|
474
|
+
"type": "boolean",
|
475
|
+
"enum": [
|
476
|
+
false
|
477
|
+
]
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"type": "string",
|
481
|
+
"format": "date-time"
|
482
|
+
}
|
483
|
+
]
|
484
|
+
},
|
485
|
+
"isReadOnly": {
|
486
|
+
"type": "boolean"
|
469
487
|
}
|
470
488
|
}
|
471
489
|
}
|