losant_rest 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/_schemas.md +139101 -66992
- data/docs/application.md +6 -6
- data/docs/applicationCertificates.md +3 -2
- data/docs/applicationDashboard.md +1 -1
- data/docs/applications.md +1 -1
- data/docs/auth.md +1 -1
- data/docs/dashboard.md +1 -1
- data/docs/dashboards.md +1 -0
- data/docs/dataTableRow.md +1 -1
- data/docs/dataTableRows.md +3 -3
- data/docs/device.md +1 -1
- data/docs/edgeDeployments.md +3 -3
- data/docs/embeddedDeployments.md +3 -3
- data/docs/experience.md +1 -1
- data/docs/file.md +4 -4
- data/docs/files.md +1 -1
- data/docs/flowVersions.md +1 -1
- data/docs/instanceApiTokens.md +1 -1
- data/docs/instanceMember.md +1 -1
- data/docs/instanceOrg.md +1 -1
- data/docs/instanceOrgInvite.md +2 -2
- data/docs/instanceOrgInvites.md +1 -1
- data/docs/instanceOrgMembers.md +2 -1
- data/docs/instanceOrgs.md +1 -1
- data/docs/me.md +1 -1
- data/docs/notebook.md +1 -1
- data/docs/org.md +1 -1
- data/docs/privateFile.md +4 -4
- data/docs/privateFiles.md +1 -1
- data/docs/resourceJob.md +2 -2
- data/docs/userApiTokens.md +2 -2
- data/lib/platform_rest/application.rb +1 -1
- data/lib/platform_rest/application_certificates.rb +5 -2
- data/lib/platform_rest/application_dashboard.rb +1 -1
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/dashboard.rb +1 -1
- data/lib/platform_rest/dashboards.rb +1 -0
- data/lib/platform_rest/data_table_row.rb +1 -1
- data/lib/platform_rest/data_table_rows.rb +3 -3
- data/lib/platform_rest/device.rb +1 -1
- data/lib/platform_rest/edge_deployments.rb +3 -3
- data/lib/platform_rest/embedded_deployments.rb +3 -3
- data/lib/platform_rest/experience.rb +1 -1
- data/lib/platform_rest/file.rb +2 -2
- data/lib/platform_rest/instance_api_tokens.rb +1 -1
- data/lib/platform_rest/instance_member.rb +1 -1
- data/lib/platform_rest/instance_org.rb +1 -1
- data/lib/platform_rest/instance_org_invite.rb +2 -2
- data/lib/platform_rest/instance_org_invites.rb +2 -2
- data/lib/platform_rest/instance_org_members.rb +2 -1
- data/lib/platform_rest/instance_orgs.rb +1 -1
- data/lib/platform_rest/me.rb +1 -1
- data/lib/platform_rest/notebook.rb +1 -1
- data/lib/platform_rest/org.rb +1 -1
- data/lib/platform_rest/private_file.rb +2 -2
- data/lib/platform_rest/resource_job.rb +2 -2
- data/lib/platform_rest/user_api_tokens.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/advancedApplicationCertQuery.json +1885 -0
- data/schemas/advancedApplicationKeyQuery.json +763 -763
- data/schemas/apiToken.json +10 -1
- data/schemas/apiTokens.json +20 -2
- data/schemas/application.json +15 -2
- data/schemas/applicationCertificate.json +90 -58
- data/schemas/applicationCertificateAuthorities.json +24 -0
- data/schemas/applicationCertificateAuthority.json +24 -0
- data/schemas/applicationCertificatePatch.json +32 -4
- data/schemas/applicationCertificatePost.json +28 -30
- data/schemas/applicationCertificates.json +90 -58
- data/schemas/applicationCreationByTemplateResult.json +15 -2
- data/schemas/applicationDashboardPost.json +179 -128
- data/schemas/applicationImportExecutions.json +3 -5
- data/schemas/applicationImportResult.json +674 -0
- data/schemas/applicationJobLog.json +129 -123
- data/schemas/applicationJobLogs.json +129 -123
- data/schemas/applicationKey.json +41 -41
- data/schemas/applicationKeyPatch.json +4 -4
- data/schemas/applicationKeyPost.json +36 -29
- data/schemas/applicationKeys.json +41 -41
- data/schemas/applicationSearchResult.json +10 -10
- data/schemas/applicationTemplates.json +9 -2
- data/schemas/applications.json +15 -2
- data/schemas/auditLog.json +2 -6
- data/schemas/auditLogs.json +2 -6
- data/schemas/authedDevice.json +3 -0
- data/schemas/credential.json +7 -0
- data/schemas/credentialLinkedResources.json +19724 -344
- data/schemas/credentialPatch.json +3 -0
- data/schemas/credentialPost.json +3 -0
- data/schemas/credentials.json +7 -0
- data/schemas/dashboard.json +199 -128
- data/schemas/dashboardBlockSuggestCodePost.json +19 -0
- data/schemas/dashboardPatch.json +179 -128
- data/schemas/dashboardPost.json +179 -128
- data/schemas/dashboardUpdateEventsResult.json +266 -0
- data/schemas/dashboards.json +199 -128
- data/schemas/dataTable.json +11 -0
- data/schemas/dataTableRowPatch.json +16 -0
- data/schemas/dataTableRowPost.json +39 -0
- data/schemas/dataTableRowPostResult.json +54 -0
- data/schemas/dataTables.json +11 -0
- data/schemas/device.json +259 -107
- data/schemas/deviceConnectionStatus.json +4 -0
- data/schemas/deviceLog.json +3 -0
- data/schemas/deviceRecipe.json +259 -108
- data/schemas/deviceRecipes.json +259 -108
- data/schemas/devices.json +287 -116
- data/schemas/edgeDeploymentRelease.json +4252 -39
- data/schemas/edgeDeployments.json +28 -0
- data/schemas/embeddedDeploymentRelease.json +2073 -0
- data/schemas/embeddedDeployments.json +25 -0
- data/schemas/error.json +14 -0
- data/schemas/event.json +4 -1
- data/schemas/eventPlusNewCount.json +4 -1
- data/schemas/events.json +4 -1
- data/schemas/experienceDomains.json +19 -0
- data/schemas/experienceEndpoint.json +19 -0
- data/schemas/experienceEndpoints.json +24 -0
- data/schemas/experienceLinkedResources.json +19728 -313
- data/schemas/experienceSlugs.json +19 -0
- data/schemas/experienceUsers.json +16 -2
- data/schemas/experienceVersions.json +25 -0
- data/schemas/experienceView.json +5 -0
- data/schemas/experienceViews.json +10 -0
- data/schemas/fileUploadPostResponse.json +92 -103
- data/schemas/files.json +5 -1
- data/schemas/flow.json +211 -46
- data/schemas/flowPatch.json +199 -46
- data/schemas/flowPost.json +199 -46
- data/schemas/flowStorageMetadata.json +2 -2
- data/schemas/flowVersion.json +450 -101
- data/schemas/flowVersionPost.json +199 -46
- data/schemas/flowVersions.json +9903 -113
- data/schemas/flows.json +9637 -46
- data/schemas/flowsImportPost.json +398 -92
- data/schemas/flowsImportResult.json +661 -147
- data/schemas/historicalSummaries.json +3 -2
- data/schemas/historicalSummary.json +3 -2
- data/schemas/instanceAuditLog.json +2 -6
- data/schemas/instanceAuditLogs.json +90 -1
- data/schemas/instanceCustomNode.json +41 -2
- data/schemas/instanceCustomNodePatch.json +59 -6
- data/schemas/instanceCustomNodePost.json +59 -6
- data/schemas/instanceCustomNodes.json +41 -2
- data/schemas/instanceOrg.json +4 -1
- data/schemas/instanceOrgInvite.json +102 -0
- data/schemas/instanceOrgInviteSent.json +12 -0
- data/schemas/instanceOrgInvites.json +145 -0
- data/schemas/instanceOrgMember.json +52 -0
- data/schemas/instanceOrgMembers.json +105 -1
- data/schemas/instanceOrgPost.json +1 -1
- data/schemas/instanceOrgs.json +5 -2
- data/schemas/instanceSandbox.json +5 -1
- data/schemas/instanceSandboxes.json +9 -1
- data/schemas/integration.json +38 -39
- data/schemas/integrationPatch.json +8 -8
- data/schemas/integrationPost.json +8 -8
- data/schemas/integrations.json +38 -39
- data/schemas/jobEnqueuedResult.json +1 -1
- data/schemas/me.json +685 -88
- data/schemas/notebook.json +33 -21
- data/schemas/notebookExecutionLogs.json +20 -0
- data/schemas/notebookMinuteCounts.json +1 -1
- data/schemas/notebookPatch.json +29 -21
- data/schemas/notebookPost.json +29 -21
- data/schemas/notebooks.json +33 -21
- data/schemas/notificationRule.json +4 -0
- data/schemas/notificationRules.json +8 -0
- data/schemas/org.json +14 -1
- data/schemas/orgInvites.json +77 -82
- data/schemas/orgInvitesUser.json +44 -47
- data/schemas/orgs.json +14 -1
- data/schemas/paletteResponse.json +372 -364
- data/schemas/periodSummaries.json +1 -1
- data/schemas/recentItemList.json +226 -27
- data/schemas/resourceJob.json +33 -9
- data/schemas/resourceJobExecutionLogs.json +34 -20
- data/schemas/resourceJobExecutionOptions.json +1 -1
- data/schemas/resourceJobPatch.json +9 -9
- data/schemas/resourceJobPost.json +9 -9
- data/schemas/resourceJobs.json +33 -9
- data/schemas/tagValuesResponse.json +1 -2
- data/schemas/templateKeywords.json +1 -0
- data/schemas/timeSeriesData.json +36 -4
- data/schemas/userOauthToken.json +4 -1
- data/schemas/userOauthTokenPost.json +1 -1
- data/schemas/userOauthTokens.json +4 -1
- data/schemas/validateContextError.json +71 -24
- data/schemas/validateContextSuccess.json +71 -24
- metadata +10 -1
data/schemas/apiToken.json
CHANGED
|
@@ -18,9 +18,18 @@
|
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
20
|
"application",
|
|
21
|
-
"user"
|
|
21
|
+
"user",
|
|
22
|
+
"instance"
|
|
22
23
|
]
|
|
23
24
|
},
|
|
25
|
+
"applicationId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
28
|
+
},
|
|
29
|
+
"instanceId": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
32
|
+
},
|
|
24
33
|
"creatorId": {
|
|
25
34
|
"type": "string",
|
|
26
35
|
"pattern": "^[A-Fa-f\\d]{24}$"
|
data/schemas/apiTokens.json
CHANGED
|
@@ -25,9 +25,18 @@
|
|
|
25
25
|
"type": "string",
|
|
26
26
|
"enum": [
|
|
27
27
|
"application",
|
|
28
|
-
"user"
|
|
28
|
+
"user",
|
|
29
|
+
"instance"
|
|
29
30
|
]
|
|
30
31
|
},
|
|
32
|
+
"applicationId": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
35
|
+
},
|
|
36
|
+
"instanceId": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
39
|
+
},
|
|
31
40
|
"creatorId": {
|
|
32
41
|
"type": "string",
|
|
33
42
|
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
@@ -226,8 +235,17 @@
|
|
|
226
235
|
"type": "string",
|
|
227
236
|
"enum": [
|
|
228
237
|
"application",
|
|
229
|
-
"user"
|
|
238
|
+
"user",
|
|
239
|
+
"instance"
|
|
230
240
|
]
|
|
241
|
+
},
|
|
242
|
+
"applicationId": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
245
|
+
},
|
|
246
|
+
"instanceId": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
231
249
|
}
|
|
232
250
|
}
|
|
233
251
|
}
|
data/schemas/application.json
CHANGED
|
@@ -46,6 +46,15 @@
|
|
|
46
46
|
"type": "string",
|
|
47
47
|
"maxLength": 64
|
|
48
48
|
},
|
|
49
|
+
"_currentRole": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"enum": [
|
|
52
|
+
"admin",
|
|
53
|
+
"edit",
|
|
54
|
+
"collaborate",
|
|
55
|
+
"view"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
49
58
|
"name": {
|
|
50
59
|
"type": "string",
|
|
51
60
|
"minLength": 1,
|
|
@@ -356,7 +365,7 @@
|
|
|
356
365
|
"type": "integer"
|
|
357
366
|
},
|
|
358
367
|
"minutesThisPeriod": {
|
|
359
|
-
"type": "
|
|
368
|
+
"type": "number"
|
|
360
369
|
},
|
|
361
370
|
"runsThisPeriod": {
|
|
362
371
|
"type": "integer"
|
|
@@ -607,5 +616,9 @@
|
|
|
607
616
|
},
|
|
608
617
|
"additionalProperties": false
|
|
609
618
|
}
|
|
610
|
-
}
|
|
619
|
+
},
|
|
620
|
+
"required": [
|
|
621
|
+
"id",
|
|
622
|
+
"name"
|
|
623
|
+
]
|
|
611
624
|
}
|
|
@@ -6,10 +6,6 @@
|
|
|
6
6
|
"type": "string",
|
|
7
7
|
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
8
8
|
},
|
|
9
|
-
"applicationCertificateId": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
12
|
-
},
|
|
13
9
|
"applicationId": {
|
|
14
10
|
"type": "string",
|
|
15
11
|
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
@@ -22,6 +18,30 @@
|
|
|
22
18
|
"type": "string",
|
|
23
19
|
"format": "date-time"
|
|
24
20
|
},
|
|
21
|
+
"createdById": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
24
|
+
},
|
|
25
|
+
"createdByType": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"flow",
|
|
29
|
+
"user",
|
|
30
|
+
"apiToken"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"lastUpdatedById": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
36
|
+
},
|
|
37
|
+
"lastUpdatedByType": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"enum": [
|
|
40
|
+
"flow",
|
|
41
|
+
"user",
|
|
42
|
+
"apiToken"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
25
45
|
"status": {
|
|
26
46
|
"type": "string",
|
|
27
47
|
"enum": [
|
|
@@ -33,32 +53,73 @@
|
|
|
33
53
|
"type": "string",
|
|
34
54
|
"maxLength": 32767
|
|
35
55
|
},
|
|
36
|
-
"
|
|
56
|
+
"name": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"minLength": 1,
|
|
59
|
+
"maxLength": 255
|
|
60
|
+
},
|
|
61
|
+
"filterType": {
|
|
62
|
+
"oneOf": [
|
|
63
|
+
{
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": [
|
|
66
|
+
"all",
|
|
67
|
+
"whitelist",
|
|
68
|
+
"blacklist"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "string",
|
|
73
|
+
"enum": [
|
|
74
|
+
"none"
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"pubTopics": {
|
|
37
80
|
"type": "array",
|
|
38
81
|
"items": {
|
|
39
82
|
"type": "string",
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
83
|
+
"minLength": 1,
|
|
84
|
+
"maxLength": 1024
|
|
85
|
+
}
|
|
43
86
|
},
|
|
44
|
-
"
|
|
87
|
+
"subTopics": {
|
|
45
88
|
"type": "array",
|
|
46
89
|
"items": {
|
|
47
|
-
"type": "
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
90
|
+
"type": "string",
|
|
91
|
+
"minLength": 1,
|
|
92
|
+
"maxLength": 1024
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"addressFilterType": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"enum": [
|
|
98
|
+
"all",
|
|
99
|
+
"whitelist",
|
|
100
|
+
"blacklist"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"addresses": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"maxItems": 100,
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"maxLength": 48
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"applicationCertificateId": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
114
|
+
},
|
|
115
|
+
"deviceId": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
118
|
+
},
|
|
119
|
+
"deviceName": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"minLength": 1,
|
|
122
|
+
"maxLength": 255
|
|
62
123
|
},
|
|
63
124
|
"certificateInfo": {
|
|
64
125
|
"type": "object",
|
|
@@ -88,6 +149,11 @@
|
|
|
88
149
|
"notValidAfter": {
|
|
89
150
|
"type": "string",
|
|
90
151
|
"format": "date-time"
|
|
152
|
+
},
|
|
153
|
+
"issuerSerialNumber": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"minLength": 1,
|
|
156
|
+
"maxLength": 1024
|
|
91
157
|
}
|
|
92
158
|
}
|
|
93
159
|
},
|
|
@@ -95,40 +161,6 @@
|
|
|
95
161
|
"type": "string",
|
|
96
162
|
"maxLength": 32767,
|
|
97
163
|
"minLength": 50
|
|
98
|
-
},
|
|
99
|
-
"filterType": {
|
|
100
|
-
"oneOf": [
|
|
101
|
-
{
|
|
102
|
-
"type": "string",
|
|
103
|
-
"enum": [
|
|
104
|
-
"all",
|
|
105
|
-
"whitelist",
|
|
106
|
-
"blacklist"
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"type": "string",
|
|
111
|
-
"enum": [
|
|
112
|
-
"none"
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
"pubTopics": {
|
|
118
|
-
"type": "array",
|
|
119
|
-
"items": {
|
|
120
|
-
"type": "string",
|
|
121
|
-
"minLength": 1,
|
|
122
|
-
"maxLength": 1024
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"subTopics": {
|
|
126
|
-
"type": "array",
|
|
127
|
-
"items": {
|
|
128
|
-
"type": "string",
|
|
129
|
-
"minLength": 1,
|
|
130
|
-
"maxLength": 1024
|
|
131
|
-
}
|
|
132
164
|
}
|
|
133
165
|
}
|
|
134
166
|
}
|
|
@@ -29,6 +29,30 @@
|
|
|
29
29
|
"type": "string",
|
|
30
30
|
"format": "date-time"
|
|
31
31
|
},
|
|
32
|
+
"createdById": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
35
|
+
},
|
|
36
|
+
"createdByType": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": [
|
|
39
|
+
"flow",
|
|
40
|
+
"user",
|
|
41
|
+
"apiToken"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"lastUpdatedById": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
47
|
+
},
|
|
48
|
+
"lastUpdatedByType": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"flow",
|
|
52
|
+
"user",
|
|
53
|
+
"apiToken"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
32
56
|
"status": {
|
|
33
57
|
"type": "string",
|
|
34
58
|
"enum": [
|
|
@@ -22,6 +22,30 @@
|
|
|
22
22
|
"type": "string",
|
|
23
23
|
"format": "date-time"
|
|
24
24
|
},
|
|
25
|
+
"createdById": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
28
|
+
},
|
|
29
|
+
"createdByType": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": [
|
|
32
|
+
"flow",
|
|
33
|
+
"user",
|
|
34
|
+
"apiToken"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"lastUpdatedById": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
40
|
+
},
|
|
41
|
+
"lastUpdatedByType": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"flow",
|
|
45
|
+
"user",
|
|
46
|
+
"apiToken"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
25
49
|
"status": {
|
|
26
50
|
"type": "string",
|
|
27
51
|
"enum": [
|
|
@@ -13,10 +13,13 @@
|
|
|
13
13
|
"type": "string",
|
|
14
14
|
"maxLength": 32767
|
|
15
15
|
},
|
|
16
|
-
"
|
|
17
|
-
"type":
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
"name": {
|
|
17
|
+
"type": [
|
|
18
|
+
"string",
|
|
19
|
+
"null"
|
|
20
|
+
],
|
|
21
|
+
"minLength": 1,
|
|
22
|
+
"maxLength": 255
|
|
20
23
|
},
|
|
21
24
|
"filterType": {
|
|
22
25
|
"oneOf": [
|
|
@@ -51,6 +54,31 @@
|
|
|
51
54
|
"minLength": 1,
|
|
52
55
|
"maxLength": 1024
|
|
53
56
|
}
|
|
57
|
+
},
|
|
58
|
+
"addressFilterType": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"enum": [
|
|
61
|
+
"all",
|
|
62
|
+
"whitelist",
|
|
63
|
+
"blacklist"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"addresses": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"maxItems": 100,
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"maxLength": 48
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"deviceId": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
77
|
+
},
|
|
78
|
+
"certificate": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"maxLength": 32767,
|
|
81
|
+
"minLength": 50
|
|
54
82
|
}
|
|
55
83
|
},
|
|
56
84
|
"additionalProperties": false
|
|
@@ -13,37 +13,10 @@
|
|
|
13
13
|
"type": "string",
|
|
14
14
|
"maxLength": 32767
|
|
15
15
|
},
|
|
16
|
-
"
|
|
17
|
-
"type": "array",
|
|
18
|
-
"items": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
21
|
-
},
|
|
22
|
-
"maxItems": 1000
|
|
23
|
-
},
|
|
24
|
-
"deviceTags": {
|
|
25
|
-
"type": "array",
|
|
26
|
-
"items": {
|
|
27
|
-
"type": "object",
|
|
28
|
-
"properties": {
|
|
29
|
-
"key": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
|
32
|
-
},
|
|
33
|
-
"value": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"minLength": 1,
|
|
36
|
-
"maxLength": 255
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"additionalProperties": false
|
|
40
|
-
},
|
|
41
|
-
"maxItems": 100
|
|
42
|
-
},
|
|
43
|
-
"certificate": {
|
|
16
|
+
"name": {
|
|
44
17
|
"type": "string",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
18
|
+
"minLength": 1,
|
|
19
|
+
"maxLength": 255
|
|
47
20
|
},
|
|
48
21
|
"filterType": {
|
|
49
22
|
"oneOf": [
|
|
@@ -78,6 +51,31 @@
|
|
|
78
51
|
"minLength": 1,
|
|
79
52
|
"maxLength": 1024
|
|
80
53
|
}
|
|
54
|
+
},
|
|
55
|
+
"addressFilterType": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": [
|
|
58
|
+
"all",
|
|
59
|
+
"whitelist",
|
|
60
|
+
"blacklist"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"addresses": {
|
|
64
|
+
"type": "array",
|
|
65
|
+
"maxItems": 100,
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"maxLength": 48
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"deviceId": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
74
|
+
},
|
|
75
|
+
"certificate": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"maxLength": 32767,
|
|
78
|
+
"minLength": 50
|
|
81
79
|
}
|
|
82
80
|
},
|
|
83
81
|
"required": [
|
|
@@ -13,10 +13,6 @@
|
|
|
13
13
|
"type": "string",
|
|
14
14
|
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
15
15
|
},
|
|
16
|
-
"applicationCertificateId": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
19
|
-
},
|
|
20
16
|
"applicationId": {
|
|
21
17
|
"type": "string",
|
|
22
18
|
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
@@ -29,6 +25,30 @@
|
|
|
29
25
|
"type": "string",
|
|
30
26
|
"format": "date-time"
|
|
31
27
|
},
|
|
28
|
+
"createdById": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
31
|
+
},
|
|
32
|
+
"createdByType": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": [
|
|
35
|
+
"flow",
|
|
36
|
+
"user",
|
|
37
|
+
"apiToken"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"lastUpdatedById": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
43
|
+
},
|
|
44
|
+
"lastUpdatedByType": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": [
|
|
47
|
+
"flow",
|
|
48
|
+
"user",
|
|
49
|
+
"apiToken"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
32
52
|
"status": {
|
|
33
53
|
"type": "string",
|
|
34
54
|
"enum": [
|
|
@@ -40,32 +60,73 @@
|
|
|
40
60
|
"type": "string",
|
|
41
61
|
"maxLength": 32767
|
|
42
62
|
},
|
|
43
|
-
"
|
|
63
|
+
"name": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"minLength": 1,
|
|
66
|
+
"maxLength": 255
|
|
67
|
+
},
|
|
68
|
+
"filterType": {
|
|
69
|
+
"oneOf": [
|
|
70
|
+
{
|
|
71
|
+
"type": "string",
|
|
72
|
+
"enum": [
|
|
73
|
+
"all",
|
|
74
|
+
"whitelist",
|
|
75
|
+
"blacklist"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "string",
|
|
80
|
+
"enum": [
|
|
81
|
+
"none"
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"pubTopics": {
|
|
44
87
|
"type": "array",
|
|
45
88
|
"items": {
|
|
46
89
|
"type": "string",
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
90
|
+
"minLength": 1,
|
|
91
|
+
"maxLength": 1024
|
|
92
|
+
}
|
|
50
93
|
},
|
|
51
|
-
"
|
|
94
|
+
"subTopics": {
|
|
52
95
|
"type": "array",
|
|
53
96
|
"items": {
|
|
54
|
-
"type": "
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
97
|
+
"type": "string",
|
|
98
|
+
"minLength": 1,
|
|
99
|
+
"maxLength": 1024
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"addressFilterType": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"enum": [
|
|
105
|
+
"all",
|
|
106
|
+
"whitelist",
|
|
107
|
+
"blacklist"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"addresses": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"maxItems": 100,
|
|
113
|
+
"items": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"maxLength": 48
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"applicationCertificateId": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
121
|
+
},
|
|
122
|
+
"deviceId": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
125
|
+
},
|
|
126
|
+
"deviceName": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"minLength": 1,
|
|
129
|
+
"maxLength": 255
|
|
69
130
|
},
|
|
70
131
|
"certificateInfo": {
|
|
71
132
|
"type": "object",
|
|
@@ -95,6 +156,11 @@
|
|
|
95
156
|
"notValidAfter": {
|
|
96
157
|
"type": "string",
|
|
97
158
|
"format": "date-time"
|
|
159
|
+
},
|
|
160
|
+
"issuerSerialNumber": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"minLength": 1,
|
|
163
|
+
"maxLength": 1024
|
|
98
164
|
}
|
|
99
165
|
}
|
|
100
166
|
},
|
|
@@ -102,40 +168,6 @@
|
|
|
102
168
|
"type": "string",
|
|
103
169
|
"maxLength": 32767,
|
|
104
170
|
"minLength": 50
|
|
105
|
-
},
|
|
106
|
-
"filterType": {
|
|
107
|
-
"oneOf": [
|
|
108
|
-
{
|
|
109
|
-
"type": "string",
|
|
110
|
-
"enum": [
|
|
111
|
-
"all",
|
|
112
|
-
"whitelist",
|
|
113
|
-
"blacklist"
|
|
114
|
-
]
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"type": "string",
|
|
118
|
-
"enum": [
|
|
119
|
-
"none"
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"pubTopics": {
|
|
125
|
-
"type": "array",
|
|
126
|
-
"items": {
|
|
127
|
-
"type": "string",
|
|
128
|
-
"minLength": 1,
|
|
129
|
-
"maxLength": 1024
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"subTopics": {
|
|
133
|
-
"type": "array",
|
|
134
|
-
"items": {
|
|
135
|
-
"type": "string",
|
|
136
|
-
"minLength": 1,
|
|
137
|
-
"maxLength": 1024
|
|
138
|
-
}
|
|
139
171
|
}
|
|
140
172
|
}
|
|
141
173
|
}
|
|
@@ -51,6 +51,15 @@
|
|
|
51
51
|
"type": "string",
|
|
52
52
|
"maxLength": 64
|
|
53
53
|
},
|
|
54
|
+
"_currentRole": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"enum": [
|
|
57
|
+
"admin",
|
|
58
|
+
"edit",
|
|
59
|
+
"collaborate",
|
|
60
|
+
"view"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
54
63
|
"name": {
|
|
55
64
|
"type": "string",
|
|
56
65
|
"minLength": 1,
|
|
@@ -361,7 +370,7 @@
|
|
|
361
370
|
"type": "integer"
|
|
362
371
|
},
|
|
363
372
|
"minutesThisPeriod": {
|
|
364
|
-
"type": "
|
|
373
|
+
"type": "number"
|
|
365
374
|
},
|
|
366
375
|
"runsThisPeriod": {
|
|
367
376
|
"type": "integer"
|
|
@@ -612,7 +621,11 @@
|
|
|
612
621
|
},
|
|
613
622
|
"additionalProperties": false
|
|
614
623
|
}
|
|
615
|
-
}
|
|
624
|
+
},
|
|
625
|
+
"required": [
|
|
626
|
+
"id",
|
|
627
|
+
"name"
|
|
628
|
+
]
|
|
616
629
|
},
|
|
617
630
|
"validationErrors": {
|
|
618
631
|
"type": "array",
|