losant_rest 1.15.1 → 1.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/docs/_schemas.md +12170 -4718
- data/docs/application.md +3 -4
- data/docs/applicationDashboard.md +43 -0
- data/docs/applications.md +3 -2
- data/docs/devices.md +40 -0
- data/docs/flows.md +38 -0
- data/docs/instanceCustomNode.md +222 -0
- data/docs/instanceCustomNodes.md +91 -0
- data/lib/losant_rest/application.rb +1 -1
- data/lib/losant_rest/application_api_token.rb +1 -1
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/application_certificate.rb +1 -1
- data/lib/losant_rest/application_certificate_authorities.rb +1 -1
- data/lib/losant_rest/application_certificate_authority.rb +1 -1
- data/lib/losant_rest/application_certificates.rb +1 -1
- data/lib/losant_rest/application_dashboard.rb +50 -1
- data/lib/losant_rest/application_dashboards.rb +1 -1
- data/lib/losant_rest/application_key.rb +1 -1
- data/lib/losant_rest/application_keys.rb +1 -1
- data/lib/losant_rest/application_template.rb +1 -1
- data/lib/losant_rest/application_templates.rb +1 -1
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/audit_log.rb +1 -1
- data/lib/losant_rest/audit_logs.rb +1 -1
- data/lib/losant_rest/auth.rb +1 -1
- data/lib/losant_rest/client.rb +11 -3
- data/lib/losant_rest/dashboard.rb +1 -1
- data/lib/losant_rest/dashboards.rb +1 -1
- data/lib/losant_rest/data.rb +1 -1
- data/lib/losant_rest/data_table.rb +1 -1
- data/lib/losant_rest/data_table_row.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/data_tables.rb +1 -1
- data/lib/losant_rest/device.rb +1 -1
- data/lib/losant_rest/device_recipe.rb +1 -1
- data/lib/losant_rest/device_recipes.rb +1 -1
- data/lib/losant_rest/devices.rb +50 -1
- data/lib/losant_rest/edge_deployment.rb +1 -1
- data/lib/losant_rest/edge_deployments.rb +1 -1
- data/lib/losant_rest/embedded_deployment.rb +1 -1
- data/lib/losant_rest/embedded_deployments.rb +1 -1
- data/lib/losant_rest/error.rb +1 -1
- data/lib/losant_rest/event.rb +1 -1
- data/lib/losant_rest/events.rb +1 -1
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domain.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_endpoint.rb +1 -1
- data/lib/losant_rest/experience_endpoints.rb +1 -1
- data/lib/losant_rest/experience_group.rb +1 -1
- data/lib/losant_rest/experience_groups.rb +1 -1
- data/lib/losant_rest/experience_slug.rb +1 -1
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_user.rb +1 -1
- data/lib/losant_rest/experience_users.rb +1 -1
- data/lib/losant_rest/experience_version.rb +1 -1
- data/lib/losant_rest/experience_versions.rb +1 -1
- data/lib/losant_rest/experience_view.rb +1 -1
- data/lib/losant_rest/experience_views.rb +1 -1
- data/lib/losant_rest/file.rb +1 -1
- data/lib/losant_rest/files.rb +1 -1
- data/lib/losant_rest/flow.rb +1 -1
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +1 -1
- data/lib/losant_rest/flows.rb +45 -1
- data/lib/losant_rest/instance.rb +1 -1
- data/lib/losant_rest/instance_api_token.rb +1 -1
- data/lib/losant_rest/instance_api_tokens.rb +1 -1
- 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_member.rb +1 -1
- data/lib/losant_rest/instance_members.rb +1 -1
- data/lib/losant_rest/instance_org.rb +1 -1
- data/lib/losant_rest/instance_org_invite.rb +1 -1
- data/lib/losant_rest/instance_org_invites.rb +1 -1
- data/lib/losant_rest/instance_org_member.rb +1 -1
- data/lib/losant_rest/instance_org_members.rb +1 -1
- data/lib/losant_rest/instance_orgs.rb +1 -1
- data/lib/losant_rest/instances.rb +1 -1
- data/lib/losant_rest/integration.rb +1 -1
- data/lib/losant_rest/integrations.rb +1 -1
- data/lib/losant_rest/me.rb +1 -1
- data/lib/losant_rest/notebook.rb +1 -1
- data/lib/losant_rest/notebooks.rb +1 -1
- data/lib/losant_rest/org.rb +1 -1
- data/lib/losant_rest/org_invites.rb +1 -1
- data/lib/losant_rest/orgs.rb +1 -1
- data/lib/losant_rest/user_api_token.rb +1 -1
- data/lib/losant_rest/user_api_tokens.rb +1 -1
- data/lib/losant_rest/utils.rb +1 -1
- data/lib/losant_rest/version.rb +2 -2
- data/lib/losant_rest/webhook.rb +1 -1
- data/lib/losant_rest/webhooks.rb +1 -1
- data/lib/losant_rest.rb +3 -1
- data/schemas/apiTokenPost.json +13 -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 +162 -3
- data/schemas/applicationExportPost.json +4 -0
- data/schemas/applicationImportOptions.json +43 -0
- data/schemas/applicationPatch.json +1 -1
- data/schemas/applicationPost.json +1 -1
- data/schemas/applications.json +1 -1
- data/schemas/dashboard.json +162 -3
- data/schemas/dashboardPatch.json +162 -3
- data/schemas/dashboardPost.json +162 -3
- data/schemas/dashboardSendReport.json +20 -3
- data/schemas/dashboards.json +162 -3
- data/schemas/deviceNamesResponse.json +36 -0
- data/schemas/experienceBootstrapOptions.json +1 -1
- data/schemas/experienceLinkedResources.json +485 -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 +173 -0
- data/schemas/flowPatch.json +174 -0
- data/schemas/flowPost.json +174 -0
- data/schemas/flowVersion.json +312 -5
- data/schemas/flowVersionPost.json +156 -0
- data/schemas/flowVersions.json +312 -5
- data/schemas/flows.json +173 -0
- data/schemas/flowsImportPost.json +339 -2
- data/schemas/flowsImportResult.json +485 -5
- data/schemas/githubLogin.json +13 -1
- 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 -2
- data/schemas/instanceMembers.json +2 -2
- data/schemas/instanceOrg.json +8 -0
- data/schemas/instanceOrgMember.json +2 -2
- data/schemas/instanceOrgs.json +8 -0
- data/schemas/integration.json +30 -2
- data/schemas/integrationPatch.json +30 -2
- data/schemas/integrationPost.json +30 -2
- data/schemas/integrations.json +30 -2
- data/schemas/me.json +2 -2
- data/schemas/mePatch.json +0 -1
- data/schemas/org.json +2 -2
- data/schemas/orgs.json +2 -2
- data/schemas/paletteResponse.json +785 -0
- data/schemas/userCredentials.json +13 -1
- data/schemas/userPost.json +13 -2
- metadata +13 -2
data/schemas/instanceOrgs.json
CHANGED
@@ -9,6 +9,14 @@
|
|
9
9
|
"description": "Schema for the body of an Organization owned by an instance",
|
10
10
|
"type": "object",
|
11
11
|
"properties": {
|
12
|
+
"creationDate": {
|
13
|
+
"type": "string",
|
14
|
+
"format": "date-time"
|
15
|
+
},
|
16
|
+
"lastUpdated": {
|
17
|
+
"type": "string",
|
18
|
+
"format": "date-time"
|
19
|
+
},
|
12
20
|
"name": {
|
13
21
|
"type": "string",
|
14
22
|
"minLength": 1,
|
data/schemas/integration.json
CHANGED
@@ -25,11 +25,12 @@
|
|
25
25
|
"name": {
|
26
26
|
"type": "string",
|
27
27
|
"minLength": 1,
|
28
|
-
"maxLength":
|
28
|
+
"maxLength": 255
|
29
29
|
},
|
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",
|
@@ -5,11 +5,12 @@
|
|
5
5
|
"name": {
|
6
6
|
"type": "string",
|
7
7
|
"minLength": 1,
|
8
|
-
"maxLength":
|
8
|
+
"maxLength": 255
|
9
9
|
},
|
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",
|
@@ -5,11 +5,12 @@
|
|
5
5
|
"name": {
|
6
6
|
"type": "string",
|
7
7
|
"minLength": 1,
|
8
|
-
"maxLength":
|
8
|
+
"maxLength": 255
|
9
9
|
},
|
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
@@ -32,11 +32,12 @@
|
|
32
32
|
"name": {
|
33
33
|
"type": "string",
|
34
34
|
"minLength": 1,
|
35
|
-
"maxLength":
|
35
|
+
"maxLength": 255
|
36
36
|
},
|
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
@@ -34,7 +34,6 @@
|
|
34
34
|
},
|
35
35
|
"lastName": {
|
36
36
|
"type": "string",
|
37
|
-
"minLength": 1,
|
38
37
|
"maxLength": 1024
|
39
38
|
},
|
40
39
|
"companyName": {
|
@@ -78,7 +77,8 @@
|
|
78
77
|
},
|
79
78
|
"avatarUrl": {
|
80
79
|
"type": "string",
|
81
|
-
"format": "
|
80
|
+
"format": "uri",
|
81
|
+
"maxLength": 1024
|
82
82
|
},
|
83
83
|
"limits": {
|
84
84
|
"type": "object",
|
data/schemas/mePatch.json
CHANGED
data/schemas/org.json
CHANGED
@@ -43,7 +43,6 @@
|
|
43
43
|
},
|
44
44
|
"lastName": {
|
45
45
|
"type": "string",
|
46
|
-
"minLength": 1,
|
47
46
|
"maxLength": 1024
|
48
47
|
},
|
49
48
|
"email": {
|
@@ -53,7 +52,8 @@
|
|
53
52
|
},
|
54
53
|
"avatarUrl": {
|
55
54
|
"type": "string",
|
56
|
-
"format": "
|
55
|
+
"format": "uri",
|
56
|
+
"maxLength": 1024
|
57
57
|
},
|
58
58
|
"role": {
|
59
59
|
"type": "string",
|
data/schemas/orgs.json
CHANGED
@@ -50,7 +50,6 @@
|
|
50
50
|
},
|
51
51
|
"lastName": {
|
52
52
|
"type": "string",
|
53
|
-
"minLength": 1,
|
54
53
|
"maxLength": 1024
|
55
54
|
},
|
56
55
|
"email": {
|
@@ -60,7 +59,8 @@
|
|
60
59
|
},
|
61
60
|
"avatarUrl": {
|
62
61
|
"type": "string",
|
63
|
-
"format": "
|
62
|
+
"format": "uri",
|
63
|
+
"maxLength": 1024
|
64
64
|
},
|
65
65
|
"role": {
|
66
66
|
"type": "string",
|