losant_rest 1.19.4 → 1.19.6
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/README.md +9 -9
- data/docs/_schemas.md +1142 -63
- data/docs/instanceAuditLog.md +49 -0
- data/docs/instanceAuditLogs.md +53 -0
- data/examples/auth.rb +1 -1
- data/examples/list_devices.rb +1 -1
- data/lib/platform_rest/application.rb +1 -1
- data/lib/platform_rest/application_api_token.rb +1 -1
- data/lib/platform_rest/application_api_tokens.rb +1 -1
- data/lib/platform_rest/application_certificate.rb +1 -1
- data/lib/platform_rest/application_certificate_authorities.rb +1 -1
- data/lib/platform_rest/application_certificate_authority.rb +1 -1
- data/lib/platform_rest/application_certificates.rb +1 -1
- data/lib/platform_rest/application_dashboard.rb +1 -1
- data/lib/platform_rest/application_dashboards.rb +1 -1
- data/lib/platform_rest/application_key.rb +1 -1
- data/lib/platform_rest/application_keys.rb +1 -1
- data/lib/platform_rest/application_template.rb +1 -1
- data/lib/platform_rest/application_templates.rb +1 -1
- data/lib/platform_rest/applications.rb +1 -1
- data/lib/platform_rest/audit_log.rb +1 -1
- data/lib/platform_rest/audit_logs.rb +1 -1
- data/lib/platform_rest/auth.rb +1 -1
- data/lib/platform_rest/client.rb +11 -3
- data/lib/platform_rest/credential.rb +1 -1
- data/lib/platform_rest/credentials.rb +1 -1
- data/lib/platform_rest/dashboard.rb +1 -1
- data/lib/platform_rest/dashboards.rb +1 -1
- data/lib/platform_rest/data.rb +1 -1
- data/lib/platform_rest/data_table.rb +1 -1
- data/lib/platform_rest/data_table_row.rb +1 -1
- data/lib/platform_rest/data_table_rows.rb +1 -1
- data/lib/platform_rest/data_tables.rb +1 -1
- data/lib/platform_rest/device.rb +1 -1
- data/lib/platform_rest/device_recipe.rb +1 -1
- data/lib/platform_rest/device_recipes.rb +1 -1
- data/lib/platform_rest/devices.rb +1 -1
- data/lib/platform_rest/edge_deployment.rb +1 -1
- data/lib/platform_rest/edge_deployments.rb +1 -1
- data/lib/platform_rest/embedded_deployment.rb +1 -1
- data/lib/platform_rest/embedded_deployments.rb +1 -1
- data/lib/platform_rest/error.rb +1 -1
- data/lib/platform_rest/event.rb +1 -1
- data/lib/platform_rest/events.rb +1 -1
- data/lib/platform_rest/experience.rb +1 -1
- data/lib/platform_rest/experience_domain.rb +1 -1
- data/lib/platform_rest/experience_domains.rb +1 -1
- data/lib/platform_rest/experience_endpoint.rb +1 -1
- data/lib/platform_rest/experience_endpoints.rb +1 -1
- data/lib/platform_rest/experience_group.rb +1 -1
- data/lib/platform_rest/experience_groups.rb +1 -1
- data/lib/platform_rest/experience_slug.rb +1 -1
- data/lib/platform_rest/experience_slugs.rb +1 -1
- data/lib/platform_rest/experience_user.rb +1 -1
- data/lib/platform_rest/experience_users.rb +1 -1
- data/lib/platform_rest/experience_version.rb +1 -1
- data/lib/platform_rest/experience_versions.rb +1 -1
- data/lib/platform_rest/experience_view.rb +1 -1
- data/lib/platform_rest/experience_views.rb +1 -1
- data/lib/platform_rest/file.rb +1 -1
- data/lib/platform_rest/files.rb +1 -1
- data/lib/platform_rest/flow.rb +1 -1
- data/lib/platform_rest/flow_version.rb +1 -1
- data/lib/platform_rest/flow_versions.rb +1 -1
- data/lib/platform_rest/flows.rb +1 -1
- data/lib/platform_rest/instance.rb +1 -1
- data/lib/platform_rest/instance_api_token.rb +1 -1
- data/lib/platform_rest/instance_api_tokens.rb +1 -1
- data/lib/{losant_rest/application_template.rb → platform_rest/instance_audit_log.rb} +13 -11
- data/lib/{losant_rest/audit_logs.rb → platform_rest/instance_audit_logs.rb} +12 -12
- data/lib/platform_rest/instance_custom_node.rb +1 -1
- data/lib/platform_rest/instance_custom_nodes.rb +1 -1
- data/lib/platform_rest/instance_member.rb +1 -1
- data/lib/platform_rest/instance_members.rb +1 -1
- data/lib/platform_rest/instance_org.rb +1 -1
- data/lib/platform_rest/instance_org_invite.rb +1 -1
- data/lib/platform_rest/instance_org_invites.rb +1 -1
- data/lib/platform_rest/instance_org_member.rb +1 -1
- data/lib/platform_rest/instance_org_members.rb +1 -1
- data/lib/platform_rest/instance_orgs.rb +1 -1
- data/lib/platform_rest/instance_sandbox.rb +1 -1
- data/lib/platform_rest/instance_sandboxes.rb +1 -1
- data/lib/platform_rest/instances.rb +1 -1
- data/lib/platform_rest/integration.rb +1 -1
- data/lib/platform_rest/integrations.rb +1 -1
- data/lib/platform_rest/me.rb +1 -1
- data/lib/platform_rest/notebook.rb +1 -1
- data/lib/platform_rest/notebooks.rb +1 -1
- data/lib/platform_rest/org.rb +1 -1
- data/lib/platform_rest/org_invites.rb +1 -1
- data/lib/platform_rest/orgs.rb +1 -1
- data/lib/platform_rest/resource_job.rb +1 -1
- data/lib/platform_rest/resource_jobs.rb +1 -1
- data/lib/platform_rest/user_api_token.rb +1 -1
- data/lib/platform_rest/user_api_tokens.rb +1 -1
- data/lib/platform_rest/utils.rb +1 -1
- data/lib/{losant_rest → platform_rest}/version.rb +3 -3
- data/lib/platform_rest/webhook.rb +1 -1
- data/lib/platform_rest/webhooks.rb +1 -1
- data/lib/platform_rest.rb +3 -1
- data/losant_rest.gemspec +2 -2
- data/schemas/apiTokenPost.json +9 -1
- data/schemas/auditLog.json +3 -2
- data/schemas/auditLogFilter.json +3 -2
- data/schemas/auditLogs.json +3 -2
- data/schemas/credential.json +50 -1
- data/schemas/credentialLinkedResources.json +81 -4
- data/schemas/credentialPatch.json +56 -0
- data/schemas/credentialPost.json +71 -1
- data/schemas/credentials.json +50 -1
- data/schemas/deviceConnectionStatus.json +6 -2
- data/schemas/devicesHistoricalImportPost.json +25 -0
- data/schemas/experienceLinkedResources.json +7 -5
- data/schemas/experienceView.json +1 -2
- data/schemas/experienceViewPatch.json +1 -2
- data/schemas/experienceViewPost.json +2 -4
- data/schemas/experienceViews.json +1 -2
- data/schemas/flow.json +2 -1
- data/schemas/flowPatch.json +2 -1
- data/schemas/flowPost.json +2 -1
- data/schemas/flowVersion.json +4 -2
- data/schemas/flowVersionPost.json +2 -1
- data/schemas/flowVersions.json +4 -2
- data/schemas/flows.json +2 -1
- data/schemas/flowsImportPost.json +4 -2
- data/schemas/flowsImportResult.json +6 -3
- data/schemas/githubLogin.json +9 -1
- data/schemas/instance.json +1 -4
- data/schemas/instanceAuditLog.json +94 -0
- data/schemas/instanceAuditLogFilter.json +106 -0
- data/schemas/instanceAuditLogs.json +41 -0
- data/schemas/instanceCustomNodePatch.json +2 -1
- data/schemas/instanceCustomNodePost.json +2 -1
- data/schemas/instanceOrgMember.json +4 -1
- data/schemas/instances.json +1 -4
- data/schemas/integration.json +75 -1
- data/schemas/integrationPatch.json +73 -0
- data/schemas/integrationPost.json +75 -1
- data/schemas/integrations.json +75 -1
- data/schemas/mePatch.json +18 -0
- data/schemas/samlResponse.json +9 -1
- data/schemas/userCredentials.json +9 -1
- data/schemas/userPost.json +9 -1
- data/test/basic_test.rb +6 -6
- data/test/test_helper.rb +1 -1
- metadata +11 -94
- data/lib/losant_rest/application.rb +0 -932
- data/lib/losant_rest/application_api_token.rb +0 -176
- data/lib/losant_rest/application_api_tokens.rb +0 -136
- data/lib/losant_rest/application_certificate.rb +0 -176
- data/lib/losant_rest/application_certificate_authorities.rb +0 -138
- data/lib/losant_rest/application_certificate_authority.rb +0 -176
- data/lib/losant_rest/application_certificates.rb +0 -138
- data/lib/losant_rest/application_dashboard.rb +0 -225
- data/lib/losant_rest/application_dashboards.rb +0 -138
- data/lib/losant_rest/application_key.rb +0 -176
- data/lib/losant_rest/application_keys.rb +0 -141
- data/lib/losant_rest/application_templates.rb +0 -176
- data/lib/losant_rest/applications.rb +0 -142
- data/lib/losant_rest/audit_log.rb +0 -81
- data/lib/losant_rest/auth.rb +0 -245
- data/lib/losant_rest/client.rb +0 -410
- data/lib/losant_rest/credential.rb +0 -224
- data/lib/losant_rest/credentials.rb +0 -138
- data/lib/losant_rest/dashboard.rb +0 -268
- data/lib/losant_rest/dashboards.rb +0 -136
- data/lib/losant_rest/data.rb +0 -176
- data/lib/losant_rest/data_table.rb +0 -274
- data/lib/losant_rest/data_table_row.rb +0 -182
- data/lib/losant_rest/data_table_rows.rb +0 -343
- data/lib/losant_rest/data_tables.rb +0 -138
- data/lib/losant_rest/device.rb +0 -749
- data/lib/losant_rest/device_recipe.rb +0 -234
- data/lib/losant_rest/device_recipes.rb +0 -146
- data/lib/losant_rest/devices.rb +0 -707
- data/lib/losant_rest/edge_deployment.rb +0 -81
- data/lib/losant_rest/edge_deployments.rb +0 -236
- data/lib/losant_rest/embedded_deployment.rb +0 -81
- data/lib/losant_rest/embedded_deployments.rb +0 -280
- data/lib/losant_rest/error.rb +0 -34
- data/lib/losant_rest/event.rb +0 -176
- data/lib/losant_rest/events.rb +0 -341
- data/lib/losant_rest/experience.rb +0 -142
- data/lib/losant_rest/experience_domain.rb +0 -176
- data/lib/losant_rest/experience_domains.rb +0 -126
- data/lib/losant_rest/experience_endpoint.rb +0 -230
- data/lib/losant_rest/experience_endpoints.rb +0 -200
- data/lib/losant_rest/experience_group.rb +0 -180
- data/lib/losant_rest/experience_groups.rb +0 -141
- data/lib/losant_rest/experience_slug.rb +0 -176
- data/lib/losant_rest/experience_slugs.rb +0 -126
- data/lib/losant_rest/experience_user.rb +0 -176
- data/lib/losant_rest/experience_users.rb +0 -142
- data/lib/losant_rest/experience_version.rb +0 -176
- data/lib/losant_rest/experience_versions.rb +0 -138
- data/lib/losant_rest/experience_view.rb +0 -228
- data/lib/losant_rest/experience_views.rb +0 -142
- data/lib/losant_rest/file.rb +0 -226
- data/lib/losant_rest/files.rb +0 -144
- data/lib/losant_rest/flow.rb +0 -580
- data/lib/losant_rest/flow_version.rb +0 -352
- data/lib/losant_rest/flow_versions.rb +0 -201
- data/lib/losant_rest/flows.rb +0 -310
- data/lib/losant_rest/instance.rb +0 -377
- data/lib/losant_rest/instance_api_token.rb +0 -176
- data/lib/losant_rest/instance_api_tokens.rb +0 -136
- data/lib/losant_rest/instance_custom_node.rb +0 -282
- data/lib/losant_rest/instance_custom_nodes.rb +0 -136
- data/lib/losant_rest/instance_member.rb +0 -176
- data/lib/losant_rest/instance_members.rb +0 -134
- data/lib/losant_rest/instance_org.rb +0 -336
- data/lib/losant_rest/instance_org_invite.rb +0 -182
- data/lib/losant_rest/instance_org_invites.rb +0 -138
- data/lib/losant_rest/instance_org_member.rb +0 -182
- data/lib/losant_rest/instance_org_members.rb +0 -138
- data/lib/losant_rest/instance_orgs.rb +0 -139
- data/lib/losant_rest/instance_sandbox.rb +0 -181
- data/lib/losant_rest/instance_sandboxes.rb +0 -98
- data/lib/losant_rest/instances.rb +0 -88
- data/lib/losant_rest/integration.rb +0 -178
- data/lib/losant_rest/integrations.rb +0 -138
- data/lib/losant_rest/me.rb +0 -790
- data/lib/losant_rest/notebook.rb +0 -423
- data/lib/losant_rest/notebooks.rb +0 -138
- data/lib/losant_rest/org.rb +0 -663
- data/lib/losant_rest/org_invites.rb +0 -124
- data/lib/losant_rest/orgs.rb +0 -140
- data/lib/losant_rest/resource_job.rb +0 -326
- data/lib/losant_rest/resource_jobs.rb +0 -138
- data/lib/losant_rest/user_api_token.rb +0 -170
- data/lib/losant_rest/user_api_tokens.rb +0 -132
- data/lib/losant_rest/utils.rb +0 -44
- data/lib/losant_rest/webhook.rb +0 -178
- data/lib/losant_rest/webhooks.rb +0 -138
- data/lib/losant_rest.rb +0 -129
@@ -174,7 +174,8 @@
|
|
174
174
|
"webhook",
|
175
175
|
"resourceJobIteration",
|
176
176
|
"resourceJobIterationTimeout",
|
177
|
-
"resourceJobComplete"
|
177
|
+
"resourceJobComplete",
|
178
|
+
"websocket"
|
178
179
|
]
|
179
180
|
},
|
180
181
|
"label": {
|
@@ -2898,7 +2899,8 @@
|
|
2898
2899
|
"webhook",
|
2899
2900
|
"resourceJobIteration",
|
2900
2901
|
"resourceJobIterationTimeout",
|
2901
|
-
"resourceJobComplete"
|
2902
|
+
"resourceJobComplete",
|
2903
|
+
"websocket"
|
2902
2904
|
]
|
2903
2905
|
},
|
2904
2906
|
"label": {
|
@@ -5582,7 +5584,8 @@
|
|
5582
5584
|
"webhook",
|
5583
5585
|
"resourceJobIteration",
|
5584
5586
|
"resourceJobIterationTimeout",
|
5585
|
-
"resourceJobComplete"
|
5587
|
+
"resourceJobComplete",
|
5588
|
+
"websocket"
|
5586
5589
|
]
|
5587
5590
|
},
|
5588
5591
|
"label": {
|
data/schemas/githubLogin.json
CHANGED
@@ -150,6 +150,7 @@
|
|
150
150
|
"dataTableRows.truncate",
|
151
151
|
"dataTables.get",
|
152
152
|
"dataTables.post",
|
153
|
+
"device.agentLogs",
|
153
154
|
"device.commandStream",
|
154
155
|
"device.debug",
|
155
156
|
"device.delete",
|
@@ -182,6 +183,7 @@
|
|
182
183
|
"devices.export",
|
183
184
|
"devices.get",
|
184
185
|
"devices.getCompositeState",
|
186
|
+
"devices.historicalImport",
|
185
187
|
"devices.payloadCounts",
|
186
188
|
"devices.post",
|
187
189
|
"devices.sendCommand",
|
@@ -202,6 +204,7 @@
|
|
202
204
|
"event.get",
|
203
205
|
"event.patch",
|
204
206
|
"events.delete",
|
207
|
+
"events.detailedSummary",
|
205
208
|
"events.get",
|
206
209
|
"events.mostRecentBySeverity",
|
207
210
|
"events.patch",
|
@@ -277,6 +280,7 @@
|
|
277
280
|
"flows.palette",
|
278
281
|
"flows.post",
|
279
282
|
"flowVersion.delete",
|
283
|
+
"flowVersion.debug",
|
280
284
|
"flowVersion.errors",
|
281
285
|
"flowVersion.get",
|
282
286
|
"flowVersion.log",
|
@@ -423,7 +427,11 @@
|
|
423
427
|
"instanceSandbox.delete",
|
424
428
|
"instanceSandbox.undelete",
|
425
429
|
"instanceSandboxes.*",
|
426
|
-
"instanceSandboxes.get"
|
430
|
+
"instanceSandboxes.get",
|
431
|
+
"instanceAuditLog.*",
|
432
|
+
"instanceAuditLog.get",
|
433
|
+
"instanceAuditLogs.*",
|
434
|
+
"instanceAuditLogs.get"
|
427
435
|
]
|
428
436
|
},
|
429
437
|
{
|
data/schemas/instance.json
CHANGED
@@ -0,0 +1,94 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"id": {
|
6
|
+
"type": "string",
|
7
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
8
|
+
},
|
9
|
+
"instanceAuditLogId": {
|
10
|
+
"type": "string",
|
11
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
12
|
+
},
|
13
|
+
"creationDate": {
|
14
|
+
"type": "string",
|
15
|
+
"format": "date-time"
|
16
|
+
},
|
17
|
+
"instanceId": {
|
18
|
+
"type": "string",
|
19
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
20
|
+
},
|
21
|
+
"primaryTargetId": {
|
22
|
+
"type": "string",
|
23
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
24
|
+
},
|
25
|
+
"primaryTargetType": {
|
26
|
+
"type": "string",
|
27
|
+
"enum": [
|
28
|
+
"Organization",
|
29
|
+
"ApiToken",
|
30
|
+
"User",
|
31
|
+
"InstanceCustomNode"
|
32
|
+
]
|
33
|
+
},
|
34
|
+
"primaryTargetName": {
|
35
|
+
"type": "string",
|
36
|
+
"maxLength": 1024
|
37
|
+
},
|
38
|
+
"secondaryTargetId": {
|
39
|
+
"type": "string",
|
40
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
41
|
+
},
|
42
|
+
"secondaryTargetType": {
|
43
|
+
"type": "string",
|
44
|
+
"enum": [
|
45
|
+
"OrgInvite",
|
46
|
+
"ApiToken"
|
47
|
+
]
|
48
|
+
},
|
49
|
+
"secondaryTargetName": {
|
50
|
+
"type": "string",
|
51
|
+
"maxLength": 1024
|
52
|
+
},
|
53
|
+
"actorId": {
|
54
|
+
"type": "string",
|
55
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
56
|
+
},
|
57
|
+
"actorType": {
|
58
|
+
"type": "string",
|
59
|
+
"enum": [
|
60
|
+
"User",
|
61
|
+
"ApiToken"
|
62
|
+
]
|
63
|
+
},
|
64
|
+
"actorName": {
|
65
|
+
"type": "string",
|
66
|
+
"maxLength": 1024
|
67
|
+
},
|
68
|
+
"requestResource": {
|
69
|
+
"type": "string",
|
70
|
+
"maxLength": 1024
|
71
|
+
},
|
72
|
+
"requestAction": {
|
73
|
+
"type": "string",
|
74
|
+
"maxLength": 1024
|
75
|
+
},
|
76
|
+
"requestQueryParams": {
|
77
|
+
"type": "object"
|
78
|
+
},
|
79
|
+
"requestBody": {
|
80
|
+
"type": "object"
|
81
|
+
},
|
82
|
+
"requestPathParams": {
|
83
|
+
"type": "object"
|
84
|
+
},
|
85
|
+
"responseBody": {
|
86
|
+
"type": "object"
|
87
|
+
},
|
88
|
+
"responseStatus": {
|
89
|
+
"type": "integer",
|
90
|
+
"minimum": 100,
|
91
|
+
"maximum": 599
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"primaryTarget": {
|
6
|
+
"type": "array",
|
7
|
+
"items": {
|
8
|
+
"type": "object",
|
9
|
+
"properties": {
|
10
|
+
"id": {
|
11
|
+
"type": "string",
|
12
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
13
|
+
},
|
14
|
+
"type": {
|
15
|
+
"type": "string",
|
16
|
+
"enum": [
|
17
|
+
"Organization",
|
18
|
+
"ApiToken",
|
19
|
+
"User",
|
20
|
+
"InstanceCustomNode"
|
21
|
+
]
|
22
|
+
},
|
23
|
+
"name": {
|
24
|
+
"type": "string",
|
25
|
+
"maxLength": 1024
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"additionalProperties": false
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"secondaryTarget": {
|
32
|
+
"type": "array",
|
33
|
+
"items": {
|
34
|
+
"type": "object",
|
35
|
+
"properties": {
|
36
|
+
"id": {
|
37
|
+
"type": "string",
|
38
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
39
|
+
},
|
40
|
+
"type": {
|
41
|
+
"type": "string",
|
42
|
+
"enum": [
|
43
|
+
"OrgInvite",
|
44
|
+
"ApiToken"
|
45
|
+
]
|
46
|
+
},
|
47
|
+
"name": {
|
48
|
+
"type": "string",
|
49
|
+
"maxLength": 1024
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"additionalProperties": false
|
53
|
+
}
|
54
|
+
},
|
55
|
+
"actor": {
|
56
|
+
"type": "array",
|
57
|
+
"items": {
|
58
|
+
"type": "object",
|
59
|
+
"properties": {
|
60
|
+
"id": {
|
61
|
+
"type": "string",
|
62
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
63
|
+
},
|
64
|
+
"type": {
|
65
|
+
"type": "string",
|
66
|
+
"enum": [
|
67
|
+
"User",
|
68
|
+
"ApiToken"
|
69
|
+
]
|
70
|
+
},
|
71
|
+
"name": {
|
72
|
+
"type": "string",
|
73
|
+
"maxLength": 1024
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"additionalProperties": false
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"request": {
|
80
|
+
"type": "array",
|
81
|
+
"items": {
|
82
|
+
"type": "object",
|
83
|
+
"properties": {
|
84
|
+
"resource": {
|
85
|
+
"type": "string",
|
86
|
+
"maxLength": 1024
|
87
|
+
},
|
88
|
+
"action": {
|
89
|
+
"type": "string",
|
90
|
+
"maxLength": 1024
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"additionalProperties": false
|
94
|
+
}
|
95
|
+
},
|
96
|
+
"responseCode": {
|
97
|
+
"type": "array",
|
98
|
+
"items": {
|
99
|
+
"type": "integer",
|
100
|
+
"minimum": 100,
|
101
|
+
"maximum": 599
|
102
|
+
}
|
103
|
+
}
|
104
|
+
},
|
105
|
+
"additionalProperties": false
|
106
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"items": {
|
6
|
+
"type": "array",
|
7
|
+
"items": {
|
8
|
+
"$ref": "#/definitions/instanceAuditLogs"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"count": {
|
12
|
+
"type": "integer"
|
13
|
+
},
|
14
|
+
"totalCount": {
|
15
|
+
"type": "integer"
|
16
|
+
},
|
17
|
+
"perPage": {
|
18
|
+
"type": "integer"
|
19
|
+
},
|
20
|
+
"page": {
|
21
|
+
"type": "integer"
|
22
|
+
},
|
23
|
+
"sortField": {
|
24
|
+
"type": "string"
|
25
|
+
},
|
26
|
+
"sortDirection": {
|
27
|
+
"type": "string",
|
28
|
+
"enum": [
|
29
|
+
"asc",
|
30
|
+
"desc",
|
31
|
+
"ASC",
|
32
|
+
"DESC",
|
33
|
+
""
|
34
|
+
]
|
35
|
+
},
|
36
|
+
"instanceId": {
|
37
|
+
"type": "string",
|
38
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
data/schemas/instances.json
CHANGED
data/schemas/integration.json
CHANGED
@@ -39,7 +39,8 @@
|
|
39
39
|
"googlePubSub",
|
40
40
|
"mqtt",
|
41
41
|
"particle",
|
42
|
-
"sqs"
|
42
|
+
"sqs",
|
43
|
+
"websocket"
|
43
44
|
]
|
44
45
|
},
|
45
46
|
"enabled": {
|
@@ -169,6 +170,13 @@
|
|
169
170
|
},
|
170
171
|
"disableSSLVerification": {
|
171
172
|
"type": "boolean"
|
173
|
+
},
|
174
|
+
"protocolVersion": {
|
175
|
+
"type": "string",
|
176
|
+
"enum": [
|
177
|
+
"3.1.1",
|
178
|
+
"5"
|
179
|
+
]
|
172
180
|
}
|
173
181
|
},
|
174
182
|
"additionalProperties": false,
|
@@ -236,6 +244,72 @@
|
|
236
244
|
"queueUrl"
|
237
245
|
]
|
238
246
|
},
|
247
|
+
"websocketConfig": {
|
248
|
+
"type": "object",
|
249
|
+
"properties": {
|
250
|
+
"url": {
|
251
|
+
"type": "string",
|
252
|
+
"minLength": 1,
|
253
|
+
"maxLength": 1024
|
254
|
+
},
|
255
|
+
"disableSSLVerification": {
|
256
|
+
"type": "boolean"
|
257
|
+
},
|
258
|
+
"username": {
|
259
|
+
"type": "string",
|
260
|
+
"minLength": 1,
|
261
|
+
"maxLength": 1024
|
262
|
+
},
|
263
|
+
"password": {
|
264
|
+
"type": "string",
|
265
|
+
"minLength": 1,
|
266
|
+
"maxLength": 1024
|
267
|
+
},
|
268
|
+
"privateKey": {
|
269
|
+
"type": "string",
|
270
|
+
"maxLength": 32767,
|
271
|
+
"minLength": 4
|
272
|
+
},
|
273
|
+
"certificate": {
|
274
|
+
"type": "string",
|
275
|
+
"maxLength": 32767,
|
276
|
+
"minLength": 4
|
277
|
+
},
|
278
|
+
"caCertificate": {
|
279
|
+
"type": "string",
|
280
|
+
"maxLength": 32767,
|
281
|
+
"minLength": 4
|
282
|
+
},
|
283
|
+
"headers": {
|
284
|
+
"type": "array",
|
285
|
+
"maxItems": 50,
|
286
|
+
"items": {
|
287
|
+
"type": "object",
|
288
|
+
"properties": {
|
289
|
+
"headerKey": {
|
290
|
+
"type": "string",
|
291
|
+
"minLength": 1,
|
292
|
+
"maxLength": 1024
|
293
|
+
},
|
294
|
+
"headerValue": {
|
295
|
+
"type": "string",
|
296
|
+
"minLength": 1,
|
297
|
+
"maxLength": 1024
|
298
|
+
}
|
299
|
+
},
|
300
|
+
"additionalProperties": false,
|
301
|
+
"required": [
|
302
|
+
"headerKey",
|
303
|
+
"headerValue"
|
304
|
+
]
|
305
|
+
}
|
306
|
+
}
|
307
|
+
},
|
308
|
+
"additionalProperties": false,
|
309
|
+
"required": [
|
310
|
+
"url"
|
311
|
+
]
|
312
|
+
},
|
239
313
|
"status": {
|
240
314
|
"lastKeepAlive": {
|
241
315
|
"type": [
|
@@ -146,6 +146,13 @@
|
|
146
146
|
},
|
147
147
|
"disableSSLVerification": {
|
148
148
|
"type": "boolean"
|
149
|
+
},
|
150
|
+
"protocolVersion": {
|
151
|
+
"type": "string",
|
152
|
+
"enum": [
|
153
|
+
"3.1.1",
|
154
|
+
"5"
|
155
|
+
]
|
149
156
|
}
|
150
157
|
},
|
151
158
|
"additionalProperties": false,
|
@@ -212,6 +219,72 @@
|
|
212
219
|
"required": [
|
213
220
|
"queueUrl"
|
214
221
|
]
|
222
|
+
},
|
223
|
+
"websocketConfig": {
|
224
|
+
"type": "object",
|
225
|
+
"properties": {
|
226
|
+
"url": {
|
227
|
+
"type": "string",
|
228
|
+
"minLength": 1,
|
229
|
+
"maxLength": 1024
|
230
|
+
},
|
231
|
+
"disableSSLVerification": {
|
232
|
+
"type": "boolean"
|
233
|
+
},
|
234
|
+
"username": {
|
235
|
+
"type": "string",
|
236
|
+
"minLength": 1,
|
237
|
+
"maxLength": 1024
|
238
|
+
},
|
239
|
+
"password": {
|
240
|
+
"type": "string",
|
241
|
+
"minLength": 1,
|
242
|
+
"maxLength": 1024
|
243
|
+
},
|
244
|
+
"privateKey": {
|
245
|
+
"type": "string",
|
246
|
+
"maxLength": 32767,
|
247
|
+
"minLength": 4
|
248
|
+
},
|
249
|
+
"certificate": {
|
250
|
+
"type": "string",
|
251
|
+
"maxLength": 32767,
|
252
|
+
"minLength": 4
|
253
|
+
},
|
254
|
+
"caCertificate": {
|
255
|
+
"type": "string",
|
256
|
+
"maxLength": 32767,
|
257
|
+
"minLength": 4
|
258
|
+
},
|
259
|
+
"headers": {
|
260
|
+
"type": "array",
|
261
|
+
"maxItems": 50,
|
262
|
+
"items": {
|
263
|
+
"type": "object",
|
264
|
+
"properties": {
|
265
|
+
"headerKey": {
|
266
|
+
"type": "string",
|
267
|
+
"minLength": 1,
|
268
|
+
"maxLength": 1024
|
269
|
+
},
|
270
|
+
"headerValue": {
|
271
|
+
"type": "string",
|
272
|
+
"minLength": 1,
|
273
|
+
"maxLength": 1024
|
274
|
+
}
|
275
|
+
},
|
276
|
+
"additionalProperties": false,
|
277
|
+
"required": [
|
278
|
+
"headerKey",
|
279
|
+
"headerValue"
|
280
|
+
]
|
281
|
+
}
|
282
|
+
}
|
283
|
+
},
|
284
|
+
"additionalProperties": false,
|
285
|
+
"required": [
|
286
|
+
"url"
|
287
|
+
]
|
215
288
|
}
|
216
289
|
},
|
217
290
|
"additionalProperties": false
|
@@ -14,7 +14,8 @@
|
|
14
14
|
"googlePubSub",
|
15
15
|
"mqtt",
|
16
16
|
"particle",
|
17
|
-
"sqs"
|
17
|
+
"sqs",
|
18
|
+
"websocket"
|
18
19
|
]
|
19
20
|
},
|
20
21
|
"enabled": {
|
@@ -149,6 +150,13 @@
|
|
149
150
|
},
|
150
151
|
"disableSSLVerification": {
|
151
152
|
"type": "boolean"
|
153
|
+
},
|
154
|
+
"protocolVersion": {
|
155
|
+
"type": "string",
|
156
|
+
"enum": [
|
157
|
+
"3.1.1",
|
158
|
+
"5"
|
159
|
+
]
|
152
160
|
}
|
153
161
|
},
|
154
162
|
"additionalProperties": false,
|
@@ -215,6 +223,72 @@
|
|
215
223
|
"required": [
|
216
224
|
"queueUrl"
|
217
225
|
]
|
226
|
+
},
|
227
|
+
"websocketConfig": {
|
228
|
+
"type": "object",
|
229
|
+
"properties": {
|
230
|
+
"url": {
|
231
|
+
"type": "string",
|
232
|
+
"minLength": 1,
|
233
|
+
"maxLength": 1024
|
234
|
+
},
|
235
|
+
"disableSSLVerification": {
|
236
|
+
"type": "boolean"
|
237
|
+
},
|
238
|
+
"username": {
|
239
|
+
"type": "string",
|
240
|
+
"minLength": 1,
|
241
|
+
"maxLength": 1024
|
242
|
+
},
|
243
|
+
"password": {
|
244
|
+
"type": "string",
|
245
|
+
"minLength": 1,
|
246
|
+
"maxLength": 1024
|
247
|
+
},
|
248
|
+
"privateKey": {
|
249
|
+
"type": "string",
|
250
|
+
"maxLength": 32767,
|
251
|
+
"minLength": 4
|
252
|
+
},
|
253
|
+
"certificate": {
|
254
|
+
"type": "string",
|
255
|
+
"maxLength": 32767,
|
256
|
+
"minLength": 4
|
257
|
+
},
|
258
|
+
"caCertificate": {
|
259
|
+
"type": "string",
|
260
|
+
"maxLength": 32767,
|
261
|
+
"minLength": 4
|
262
|
+
},
|
263
|
+
"headers": {
|
264
|
+
"type": "array",
|
265
|
+
"maxItems": 50,
|
266
|
+
"items": {
|
267
|
+
"type": "object",
|
268
|
+
"properties": {
|
269
|
+
"headerKey": {
|
270
|
+
"type": "string",
|
271
|
+
"minLength": 1,
|
272
|
+
"maxLength": 1024
|
273
|
+
},
|
274
|
+
"headerValue": {
|
275
|
+
"type": "string",
|
276
|
+
"minLength": 1,
|
277
|
+
"maxLength": 1024
|
278
|
+
}
|
279
|
+
},
|
280
|
+
"additionalProperties": false,
|
281
|
+
"required": [
|
282
|
+
"headerKey",
|
283
|
+
"headerValue"
|
284
|
+
]
|
285
|
+
}
|
286
|
+
}
|
287
|
+
},
|
288
|
+
"additionalProperties": false,
|
289
|
+
"required": [
|
290
|
+
"url"
|
291
|
+
]
|
218
292
|
}
|
219
293
|
},
|
220
294
|
"additionalProperties": false,
|