losant_rest 1.10.4 → 1.13.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/README.md +2 -2
- data/docs/_schemas.md +35272 -19039
- data/docs/application.md +45 -4
- data/docs/applicationApiTokens.md +2 -2
- data/docs/applicationCertificateAuthorities.md +1 -1
- data/docs/applicationCertificates.md +1 -1
- data/docs/applicationDashboard.md +133 -0
- data/docs/applicationDashboards.md +93 -0
- data/docs/applicationKeys.md +4 -3
- data/docs/applicationTemplates.md +1 -1
- data/docs/applications.md +2 -2
- data/docs/auditLogs.md +1 -1
- data/docs/dashboards.md +1 -1
- data/docs/dataTable.md +1 -1
- data/docs/dataTableRows.md +1 -1
- data/docs/dataTables.md +2 -2
- data/docs/deviceRecipes.md +1 -1
- data/docs/devices.md +127 -3
- data/docs/edgeDeployments.md +1 -1
- data/docs/events.md +4 -4
- data/docs/experience.md +1 -1
- data/docs/experienceDomains.md +1 -1
- data/docs/experienceEndpoint.md +1 -0
- data/docs/experienceGroup.md +2 -0
- data/docs/experienceGroups.md +1 -1
- data/docs/experienceSlugs.md +1 -1
- data/docs/experienceUsers.md +1 -1
- data/docs/experienceVersion.md +3 -3
- data/docs/experienceVersions.md +3 -3
- data/docs/experienceView.md +4 -4
- data/docs/experienceViews.md +3 -3
- data/docs/file.md +5 -5
- data/docs/files.md +3 -3
- data/docs/flow.md +41 -0
- data/docs/flowVersions.md +46 -1
- data/docs/flows.md +5 -2
- data/docs/instance.md +166 -0
- data/docs/instanceApiToken.md +133 -0
- data/docs/instanceApiTokens.md +91 -0
- data/docs/instanceMember.md +133 -0
- data/docs/instanceMembers.md +91 -0
- data/docs/instanceOrg.md +133 -0
- data/docs/instanceOrgMember.md +139 -0
- data/docs/instanceOrgMembers.md +96 -0
- data/docs/instanceOrgs.md +91 -0
- data/docs/instances.md +50 -0
- data/docs/integration.md +1 -0
- data/docs/integrations.md +1 -1
- data/docs/notebooks.md +1 -1
- data/docs/orgs.md +1 -1
- data/docs/userApiToken.md +125 -0
- data/docs/userApiTokens.md +87 -0
- data/docs/webhook.md +1 -0
- data/docs/webhooks.md +1 -1
- data/lib/losant_rest.rb +15 -1
- data/lib/losant_rest/application.rb +53 -6
- data/lib/losant_rest/application_api_token.rb +1 -1
- data/lib/losant_rest/application_api_tokens.rb +2 -2
- 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 +176 -0
- data/lib/losant_rest/application_dashboards.rb +138 -0
- data/lib/losant_rest/application_key.rb +1 -1
- data/lib/losant_rest/application_keys.rb +4 -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 +2 -2
- 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 +59 -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 +2 -2
- data/lib/losant_rest/data_table_row.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +2 -2
- data/lib/losant_rest/data_tables.rb +2 -2
- 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 +155 -3
- data/lib/losant_rest/edge_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 +4 -4
- data/lib/losant_rest/experience.rb +2 -2
- data/lib/losant_rest/experience_domain.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +2 -2
- data/lib/losant_rest/experience_endpoint.rb +3 -1
- data/lib/losant_rest/experience_endpoints.rb +1 -1
- data/lib/losant_rest/experience_group.rb +5 -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 +2 -2
- 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 +4 -4
- data/lib/losant_rest/experience_versions.rb +3 -3
- data/lib/losant_rest/experience_view.rb +5 -5
- data/lib/losant_rest/experience_views.rb +3 -3
- data/lib/losant_rest/file.rb +5 -5
- data/lib/losant_rest/files.rb +3 -3
- data/lib/losant_rest/flow.rb +47 -1
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +54 -1
- data/lib/losant_rest/flows.rb +9 -1
- data/lib/losant_rest/instance.rb +226 -0
- data/lib/losant_rest/instance_api_token.rb +176 -0
- data/lib/losant_rest/instance_api_tokens.rb +136 -0
- data/lib/losant_rest/instance_member.rb +176 -0
- data/lib/losant_rest/instance_members.rb +134 -0
- data/lib/losant_rest/instance_org.rb +176 -0
- data/lib/losant_rest/instance_org_member.rb +182 -0
- data/lib/losant_rest/instance_org_members.rb +138 -0
- data/lib/losant_rest/instance_orgs.rb +139 -0
- data/lib/losant_rest/instances.rb +88 -0
- data/lib/losant_rest/integration.rb +3 -1
- data/lib/losant_rest/integrations.rb +1 -1
- data/lib/losant_rest/me.rb +2 -2
- data/lib/losant_rest/notebook.rb +1 -1
- data/lib/losant_rest/notebooks.rb +1 -1
- data/lib/losant_rest/org.rb +2 -2
- 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 +170 -0
- data/lib/losant_rest/user_api_tokens.rb +132 -0
- data/lib/losant_rest/utils.rb +1 -1
- data/lib/losant_rest/version.rb +2 -2
- data/lib/losant_rest/webhook.rb +3 -1
- data/lib/losant_rest/webhooks.rb +1 -1
- data/schemas/advancedApplicationKeyQuery.json +1082 -0
- data/schemas/advancedDeviceQuery.json +309 -0
- data/schemas/advancedFlowByVersionQuery.json +665 -0
- data/schemas/advancedFlowQuery.json +883 -0
- data/schemas/advancedFlowVersionQuery.json +925 -0
- data/schemas/apiToken.json +2 -1
- data/schemas/apiTokenPost.json +420 -0
- data/schemas/apiTokens.json +4 -2
- data/schemas/applicationApiTokenPost.json +11 -0
- data/schemas/applicationDashboardPost.json +5687 -0
- data/schemas/applicationGlobalPatch.json +33 -0
- data/schemas/attributeNamesResponse.json +14 -0
- data/schemas/auditLog.json +4 -0
- data/schemas/auditLogFilter.json +4 -0
- data/schemas/auditLogs.json +4 -0
- data/schemas/authedUser.json +3 -0
- data/schemas/bulkDeleteResponse.json +12 -0
- data/schemas/changePassword.json +1 -1
- data/schemas/dashboard.json +72 -17
- data/schemas/dashboardPatch.json +72 -17
- data/schemas/dashboardPost.json +72 -17
- data/schemas/dashboardSendReport.json +4 -0
- data/schemas/dashboards.json +72 -17
- data/schemas/deviceAttributeDataTypeFilter.json +29 -0
- data/schemas/deviceClassFilter.json +1 -2
- data/schemas/devicesDeletePost.json +309 -0
- data/schemas/devicesExportPost.json +309 -0
- data/schemas/devicesPatch.json +309 -0
- data/schemas/devicesRemoveDataPost.json +309 -0
- data/schemas/experienceGroup.json +6 -0
- data/schemas/experienceGroups.json +6 -0
- data/schemas/experienceLinkedResources.json +57 -0
- data/schemas/experienceVersion.json +9 -0
- data/schemas/experienceVersionPatch.json +9 -0
- data/schemas/experienceVersions.json +9 -0
- data/schemas/filePost.json +8 -2
- data/schemas/files.json +3 -0
- data/schemas/flow.json +19 -0
- data/schemas/flowPatch.json +19 -0
- data/schemas/flowPost.json +19 -0
- data/schemas/flowStorageMetadata.json +13 -0
- data/schemas/flowVersion.json +38 -0
- data/schemas/flowVersionPost.json +19 -0
- data/schemas/flowVersions.json +38 -0
- data/schemas/flowVersionsDeletePost.json +941 -0
- data/schemas/flows.json +19 -0
- data/schemas/flowsImportPost.json +38 -0
- data/schemas/flowsImportResult.json +57 -0
- data/schemas/githubLogin.json +64 -1
- data/schemas/historicalSummaries.json +43 -0
- data/schemas/historicalSummary.json +458 -0
- data/schemas/instance.json +192 -0
- data/schemas/instanceMember.json +37 -0
- data/schemas/instanceMemberPatch.json +17 -0
- data/schemas/instanceMemberPost.json +22 -0
- data/schemas/instanceMembers.json +69 -0
- data/schemas/instanceOrg.json +133 -0
- data/schemas/instanceOrgMember.json +37 -0
- data/schemas/instanceOrgMemberPatch.json +69 -0
- data/schemas/instanceOrgMemberPost.json +161 -0
- data/schemas/instanceOrgMembers.json +34 -0
- data/schemas/instanceOrgPatch.json +122 -0
- data/schemas/instanceOrgPost.json +291 -0
- data/schemas/instanceOrgs.json +174 -0
- data/schemas/instancePatch.json +67 -0
- data/schemas/instanceReportOptionsPost.json +41 -0
- data/schemas/instances.json +43 -0
- data/schemas/integration.json +3 -0
- data/schemas/integrationPatch.json +3 -0
- data/schemas/integrationPost.json +3 -0
- data/schemas/integrations.json +3 -0
- data/schemas/me.json +3 -0
- data/schemas/mePatch.json +1 -1
- data/schemas/multiDeviceCommand.json +309 -0
- data/schemas/notebook.json +22 -0
- data/schemas/notebookExecutionLogs.json +7 -0
- data/schemas/notebookPatch.json +7 -0
- data/schemas/notebookPost.json +7 -0
- data/schemas/notebooks.json +22 -0
- data/schemas/orgPatch.json +0 -9
- data/schemas/passwordResetFinish.json +1 -1
- data/schemas/payloadStats.json +110 -0
- data/schemas/tagKeysResponse.json +14 -0
- data/schemas/tagValuesResponse.json +19 -0
- data/schemas/userCredentials.json +64 -1
- data/schemas/userPost.json +65 -2
- data/schemas/validateContextError.json +34 -0
- data/schemas/validateContextSuccess.json +34 -0
- metadata +64 -3
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type": "array",
|
4
|
+
"maxItems": 100,
|
5
|
+
"items": {
|
6
|
+
"type": "object",
|
7
|
+
"properties": {
|
8
|
+
"key": {
|
9
|
+
"type": "string",
|
10
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
11
|
+
},
|
12
|
+
"json": {
|
13
|
+
"type": [
|
14
|
+
"string",
|
15
|
+
"null"
|
16
|
+
],
|
17
|
+
"minLength": 1,
|
18
|
+
"maxLength": 32767
|
19
|
+
},
|
20
|
+
"cloudOnly": {
|
21
|
+
"type": "boolean"
|
22
|
+
},
|
23
|
+
"description": {
|
24
|
+
"type": "string",
|
25
|
+
"maxLength": 1024
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"additionalProperties": false,
|
29
|
+
"required": [
|
30
|
+
"key"
|
31
|
+
]
|
32
|
+
}
|
33
|
+
}
|
data/schemas/auditLog.json
CHANGED
@@ -42,7 +42,10 @@
|
|
42
42
|
"type": "string",
|
43
43
|
"enum": [
|
44
44
|
"ApiToken",
|
45
|
+
"ApplicationCertificateAuthority",
|
46
|
+
"ApplicationCertificate",
|
45
47
|
"ApplicationKey",
|
48
|
+
"Dashboard",
|
46
49
|
"DataTable",
|
47
50
|
"Device",
|
48
51
|
"DeviceRecipe",
|
@@ -57,6 +60,7 @@
|
|
57
60
|
"File",
|
58
61
|
"Flow",
|
59
62
|
"Integration",
|
63
|
+
"Notebook",
|
60
64
|
"Webhook"
|
61
65
|
]
|
62
66
|
},
|
data/schemas/auditLogFilter.json
CHANGED
@@ -40,7 +40,10 @@
|
|
40
40
|
"type": "string",
|
41
41
|
"enum": [
|
42
42
|
"ApiToken",
|
43
|
+
"ApplicationCertificateAuthority",
|
44
|
+
"ApplicationCertificate",
|
43
45
|
"ApplicationKey",
|
46
|
+
"Dashboard",
|
44
47
|
"DataTable",
|
45
48
|
"Device",
|
46
49
|
"DeviceRecipe",
|
@@ -55,6 +58,7 @@
|
|
55
58
|
"File",
|
56
59
|
"Flow",
|
57
60
|
"Integration",
|
61
|
+
"Notebook",
|
58
62
|
"Webhook"
|
59
63
|
]
|
60
64
|
},
|
data/schemas/auditLogs.json
CHANGED
@@ -49,7 +49,10 @@
|
|
49
49
|
"type": "string",
|
50
50
|
"enum": [
|
51
51
|
"ApiToken",
|
52
|
+
"ApplicationCertificateAuthority",
|
53
|
+
"ApplicationCertificate",
|
52
54
|
"ApplicationKey",
|
55
|
+
"Dashboard",
|
53
56
|
"DataTable",
|
54
57
|
"Device",
|
55
58
|
"DeviceRecipe",
|
@@ -64,6 +67,7 @@
|
|
64
67
|
"File",
|
65
68
|
"Flow",
|
66
69
|
"Integration",
|
70
|
+
"Notebook",
|
67
71
|
"Webhook"
|
68
72
|
]
|
69
73
|
},
|
data/schemas/authedUser.json
CHANGED
data/schemas/changePassword.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"type": "string",
|
16
16
|
"minLength": 12,
|
17
17
|
"maxLength": 2048,
|
18
|
-
"pattern": "^(?=.*[A-Z])(?=.*[^A-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
|
18
|
+
"pattern": "^(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
|
19
19
|
},
|
20
20
|
"invalidateExistingTokens": {
|
21
21
|
"type": "boolean"
|
data/schemas/dashboard.json
CHANGED
@@ -116,6 +116,10 @@
|
|
116
116
|
"timezone": {
|
117
117
|
"type": "string",
|
118
118
|
"maxLength": 255
|
119
|
+
},
|
120
|
+
"locale": {
|
121
|
+
"type": "string",
|
122
|
+
"maxLength": 5
|
119
123
|
}
|
120
124
|
},
|
121
125
|
"additionalProperties": false,
|
@@ -248,7 +252,7 @@
|
|
248
252
|
},
|
249
253
|
{
|
250
254
|
"type": "string",
|
251
|
-
"maxLength":
|
255
|
+
"maxLength": 128
|
252
256
|
}
|
253
257
|
]
|
254
258
|
},
|
@@ -259,7 +263,7 @@
|
|
259
263
|
},
|
260
264
|
{
|
261
265
|
"type": "string",
|
262
|
-
"maxLength":
|
266
|
+
"maxLength": 128
|
263
267
|
}
|
264
268
|
]
|
265
269
|
},
|
@@ -1034,6 +1038,42 @@
|
|
1034
1038
|
"$and",
|
1035
1039
|
"advanced"
|
1036
1040
|
]
|
1041
|
+
},
|
1042
|
+
"columns": {
|
1043
|
+
"type": "array",
|
1044
|
+
"maxItems": 100,
|
1045
|
+
"items": {
|
1046
|
+
"type": "object",
|
1047
|
+
"properties": {
|
1048
|
+
"id": {
|
1049
|
+
"type": "string",
|
1050
|
+
"maxLength": 48
|
1051
|
+
},
|
1052
|
+
"type": {
|
1053
|
+
"oneOf": [
|
1054
|
+
{
|
1055
|
+
"type": "string",
|
1056
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
1057
|
+
},
|
1058
|
+
{
|
1059
|
+
"type": "string",
|
1060
|
+
"enum": [
|
1061
|
+
"$custom"
|
1062
|
+
]
|
1063
|
+
}
|
1064
|
+
]
|
1065
|
+
},
|
1066
|
+
"headerTemplate": {
|
1067
|
+
"type": "string",
|
1068
|
+
"maxLength": 1024
|
1069
|
+
},
|
1070
|
+
"rowTemplate": {
|
1071
|
+
"type": "string",
|
1072
|
+
"maxLength": 32767
|
1073
|
+
}
|
1074
|
+
},
|
1075
|
+
"additionalProperties": false
|
1076
|
+
}
|
1037
1077
|
}
|
1038
1078
|
},
|
1039
1079
|
"additionalProperties": false
|
@@ -1301,6 +1341,9 @@
|
|
1301
1341
|
"type": "string",
|
1302
1342
|
"maxLength": 255
|
1303
1343
|
}
|
1344
|
+
},
|
1345
|
+
"includeDeviceInfo": {
|
1346
|
+
"type": "boolean"
|
1304
1347
|
}
|
1305
1348
|
},
|
1306
1349
|
"additionalProperties": false
|
@@ -1575,8 +1618,17 @@
|
|
1575
1618
|
"state",
|
1576
1619
|
"tag",
|
1577
1620
|
"deviceName",
|
1578
|
-
"sourceId"
|
1621
|
+
"sourceId",
|
1622
|
+
"custom"
|
1579
1623
|
]
|
1624
|
+
},
|
1625
|
+
"headerTemplate": {
|
1626
|
+
"type": "string",
|
1627
|
+
"maxLength": 1024
|
1628
|
+
},
|
1629
|
+
"rowTemplate": {
|
1630
|
+
"type": "string",
|
1631
|
+
"maxLength": 32767
|
1580
1632
|
}
|
1581
1633
|
},
|
1582
1634
|
"additionalProperties": false
|
@@ -1652,7 +1704,7 @@
|
|
1652
1704
|
},
|
1653
1705
|
{
|
1654
1706
|
"type": "string",
|
1655
|
-
"maxLength":
|
1707
|
+
"maxLength": 128
|
1656
1708
|
}
|
1657
1709
|
]
|
1658
1710
|
},
|
@@ -1663,7 +1715,7 @@
|
|
1663
1715
|
},
|
1664
1716
|
{
|
1665
1717
|
"type": "string",
|
1666
|
-
"maxLength":
|
1718
|
+
"maxLength": 128
|
1667
1719
|
}
|
1668
1720
|
]
|
1669
1721
|
},
|
@@ -1684,7 +1736,7 @@
|
|
1684
1736
|
},
|
1685
1737
|
{
|
1686
1738
|
"type": "string",
|
1687
|
-
"maxLength":
|
1739
|
+
"maxLength": 128
|
1688
1740
|
}
|
1689
1741
|
]
|
1690
1742
|
},
|
@@ -2147,7 +2199,7 @@
|
|
2147
2199
|
},
|
2148
2200
|
{
|
2149
2201
|
"type": "string",
|
2150
|
-
"maxLength":
|
2202
|
+
"maxLength": 128
|
2151
2203
|
}
|
2152
2204
|
]
|
2153
2205
|
},
|
@@ -2158,7 +2210,7 @@
|
|
2158
2210
|
},
|
2159
2211
|
{
|
2160
2212
|
"type": "string",
|
2161
|
-
"maxLength":
|
2213
|
+
"maxLength": 128
|
2162
2214
|
}
|
2163
2215
|
]
|
2164
2216
|
},
|
@@ -2305,7 +2357,7 @@
|
|
2305
2357
|
},
|
2306
2358
|
{
|
2307
2359
|
"type": "string",
|
2308
|
-
"maxLength":
|
2360
|
+
"maxLength": 128
|
2309
2361
|
}
|
2310
2362
|
]
|
2311
2363
|
},
|
@@ -3080,7 +3132,7 @@
|
|
3080
3132
|
},
|
3081
3133
|
{
|
3082
3134
|
"type": "string",
|
3083
|
-
"maxLength":
|
3135
|
+
"maxLength": 128
|
3084
3136
|
}
|
3085
3137
|
]
|
3086
3138
|
},
|
@@ -3091,7 +3143,7 @@
|
|
3091
3143
|
},
|
3092
3144
|
{
|
3093
3145
|
"type": "string",
|
3094
|
-
"maxLength":
|
3146
|
+
"maxLength": 128
|
3095
3147
|
}
|
3096
3148
|
]
|
3097
3149
|
},
|
@@ -3699,7 +3751,7 @@
|
|
3699
3751
|
},
|
3700
3752
|
{
|
3701
3753
|
"type": "string",
|
3702
|
-
"maxLength":
|
3754
|
+
"maxLength": 128
|
3703
3755
|
}
|
3704
3756
|
]
|
3705
3757
|
},
|
@@ -3710,7 +3762,7 @@
|
|
3710
3762
|
},
|
3711
3763
|
{
|
3712
3764
|
"type": "string",
|
3713
|
-
"maxLength":
|
3765
|
+
"maxLength": 128
|
3714
3766
|
}
|
3715
3767
|
]
|
3716
3768
|
},
|
@@ -3721,7 +3773,7 @@
|
|
3721
3773
|
},
|
3722
3774
|
{
|
3723
3775
|
"type": "string",
|
3724
|
-
"maxLength":
|
3776
|
+
"maxLength": 128
|
3725
3777
|
}
|
3726
3778
|
]
|
3727
3779
|
},
|
@@ -3732,7 +3784,7 @@
|
|
3732
3784
|
},
|
3733
3785
|
{
|
3734
3786
|
"type": "string",
|
3735
|
-
"maxLength":
|
3787
|
+
"maxLength": 128
|
3736
3788
|
}
|
3737
3789
|
]
|
3738
3790
|
}
|
@@ -3928,6 +3980,9 @@
|
|
3928
3980
|
},
|
3929
3981
|
"defaultValue": {
|
3930
3982
|
"type": "boolean"
|
3983
|
+
},
|
3984
|
+
"includeLabel": {
|
3985
|
+
"type": "boolean"
|
3931
3986
|
}
|
3932
3987
|
},
|
3933
3988
|
"additionalProperties": false
|
@@ -4576,7 +4631,7 @@
|
|
4576
4631
|
},
|
4577
4632
|
{
|
4578
4633
|
"type": "string",
|
4579
|
-
"maxLength":
|
4634
|
+
"maxLength": 128
|
4580
4635
|
}
|
4581
4636
|
]
|
4582
4637
|
},
|
@@ -5087,7 +5142,7 @@
|
|
5087
5142
|
},
|
5088
5143
|
{
|
5089
5144
|
"type": "string",
|
5090
|
-
"maxLength":
|
5145
|
+
"maxLength": 128
|
5091
5146
|
}
|
5092
5147
|
]
|
5093
5148
|
},
|
data/schemas/dashboardPatch.json
CHANGED
@@ -130,7 +130,7 @@
|
|
130
130
|
},
|
131
131
|
{
|
132
132
|
"type": "string",
|
133
|
-
"maxLength":
|
133
|
+
"maxLength": 128
|
134
134
|
}
|
135
135
|
]
|
136
136
|
},
|
@@ -141,7 +141,7 @@
|
|
141
141
|
},
|
142
142
|
{
|
143
143
|
"type": "string",
|
144
|
-
"maxLength":
|
144
|
+
"maxLength": 128
|
145
145
|
}
|
146
146
|
]
|
147
147
|
},
|
@@ -916,6 +916,42 @@
|
|
916
916
|
"$and",
|
917
917
|
"advanced"
|
918
918
|
]
|
919
|
+
},
|
920
|
+
"columns": {
|
921
|
+
"type": "array",
|
922
|
+
"maxItems": 100,
|
923
|
+
"items": {
|
924
|
+
"type": "object",
|
925
|
+
"properties": {
|
926
|
+
"id": {
|
927
|
+
"type": "string",
|
928
|
+
"maxLength": 48
|
929
|
+
},
|
930
|
+
"type": {
|
931
|
+
"oneOf": [
|
932
|
+
{
|
933
|
+
"type": "string",
|
934
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
935
|
+
},
|
936
|
+
{
|
937
|
+
"type": "string",
|
938
|
+
"enum": [
|
939
|
+
"$custom"
|
940
|
+
]
|
941
|
+
}
|
942
|
+
]
|
943
|
+
},
|
944
|
+
"headerTemplate": {
|
945
|
+
"type": "string",
|
946
|
+
"maxLength": 1024
|
947
|
+
},
|
948
|
+
"rowTemplate": {
|
949
|
+
"type": "string",
|
950
|
+
"maxLength": 32767
|
951
|
+
}
|
952
|
+
},
|
953
|
+
"additionalProperties": false
|
954
|
+
}
|
919
955
|
}
|
920
956
|
},
|
921
957
|
"additionalProperties": false
|
@@ -1183,6 +1219,9 @@
|
|
1183
1219
|
"type": "string",
|
1184
1220
|
"maxLength": 255
|
1185
1221
|
}
|
1222
|
+
},
|
1223
|
+
"includeDeviceInfo": {
|
1224
|
+
"type": "boolean"
|
1186
1225
|
}
|
1187
1226
|
},
|
1188
1227
|
"additionalProperties": false
|
@@ -1457,8 +1496,17 @@
|
|
1457
1496
|
"state",
|
1458
1497
|
"tag",
|
1459
1498
|
"deviceName",
|
1460
|
-
"sourceId"
|
1499
|
+
"sourceId",
|
1500
|
+
"custom"
|
1461
1501
|
]
|
1502
|
+
},
|
1503
|
+
"headerTemplate": {
|
1504
|
+
"type": "string",
|
1505
|
+
"maxLength": 1024
|
1506
|
+
},
|
1507
|
+
"rowTemplate": {
|
1508
|
+
"type": "string",
|
1509
|
+
"maxLength": 32767
|
1462
1510
|
}
|
1463
1511
|
},
|
1464
1512
|
"additionalProperties": false
|
@@ -1534,7 +1582,7 @@
|
|
1534
1582
|
},
|
1535
1583
|
{
|
1536
1584
|
"type": "string",
|
1537
|
-
"maxLength":
|
1585
|
+
"maxLength": 128
|
1538
1586
|
}
|
1539
1587
|
]
|
1540
1588
|
},
|
@@ -1545,7 +1593,7 @@
|
|
1545
1593
|
},
|
1546
1594
|
{
|
1547
1595
|
"type": "string",
|
1548
|
-
"maxLength":
|
1596
|
+
"maxLength": 128
|
1549
1597
|
}
|
1550
1598
|
]
|
1551
1599
|
},
|
@@ -1566,7 +1614,7 @@
|
|
1566
1614
|
},
|
1567
1615
|
{
|
1568
1616
|
"type": "string",
|
1569
|
-
"maxLength":
|
1617
|
+
"maxLength": 128
|
1570
1618
|
}
|
1571
1619
|
]
|
1572
1620
|
},
|
@@ -2029,7 +2077,7 @@
|
|
2029
2077
|
},
|
2030
2078
|
{
|
2031
2079
|
"type": "string",
|
2032
|
-
"maxLength":
|
2080
|
+
"maxLength": 128
|
2033
2081
|
}
|
2034
2082
|
]
|
2035
2083
|
},
|
@@ -2040,7 +2088,7 @@
|
|
2040
2088
|
},
|
2041
2089
|
{
|
2042
2090
|
"type": "string",
|
2043
|
-
"maxLength":
|
2091
|
+
"maxLength": 128
|
2044
2092
|
}
|
2045
2093
|
]
|
2046
2094
|
},
|
@@ -2187,7 +2235,7 @@
|
|
2187
2235
|
},
|
2188
2236
|
{
|
2189
2237
|
"type": "string",
|
2190
|
-
"maxLength":
|
2238
|
+
"maxLength": 128
|
2191
2239
|
}
|
2192
2240
|
]
|
2193
2241
|
},
|
@@ -2962,7 +3010,7 @@
|
|
2962
3010
|
},
|
2963
3011
|
{
|
2964
3012
|
"type": "string",
|
2965
|
-
"maxLength":
|
3013
|
+
"maxLength": 128
|
2966
3014
|
}
|
2967
3015
|
]
|
2968
3016
|
},
|
@@ -2973,7 +3021,7 @@
|
|
2973
3021
|
},
|
2974
3022
|
{
|
2975
3023
|
"type": "string",
|
2976
|
-
"maxLength":
|
3024
|
+
"maxLength": 128
|
2977
3025
|
}
|
2978
3026
|
]
|
2979
3027
|
},
|
@@ -3581,7 +3629,7 @@
|
|
3581
3629
|
},
|
3582
3630
|
{
|
3583
3631
|
"type": "string",
|
3584
|
-
"maxLength":
|
3632
|
+
"maxLength": 128
|
3585
3633
|
}
|
3586
3634
|
]
|
3587
3635
|
},
|
@@ -3592,7 +3640,7 @@
|
|
3592
3640
|
},
|
3593
3641
|
{
|
3594
3642
|
"type": "string",
|
3595
|
-
"maxLength":
|
3643
|
+
"maxLength": 128
|
3596
3644
|
}
|
3597
3645
|
]
|
3598
3646
|
},
|
@@ -3603,7 +3651,7 @@
|
|
3603
3651
|
},
|
3604
3652
|
{
|
3605
3653
|
"type": "string",
|
3606
|
-
"maxLength":
|
3654
|
+
"maxLength": 128
|
3607
3655
|
}
|
3608
3656
|
]
|
3609
3657
|
},
|
@@ -3614,7 +3662,7 @@
|
|
3614
3662
|
},
|
3615
3663
|
{
|
3616
3664
|
"type": "string",
|
3617
|
-
"maxLength":
|
3665
|
+
"maxLength": 128
|
3618
3666
|
}
|
3619
3667
|
]
|
3620
3668
|
}
|
@@ -3810,6 +3858,9 @@
|
|
3810
3858
|
},
|
3811
3859
|
"defaultValue": {
|
3812
3860
|
"type": "boolean"
|
3861
|
+
},
|
3862
|
+
"includeLabel": {
|
3863
|
+
"type": "boolean"
|
3813
3864
|
}
|
3814
3865
|
},
|
3815
3866
|
"additionalProperties": false
|
@@ -4458,7 +4509,7 @@
|
|
4458
4509
|
},
|
4459
4510
|
{
|
4460
4511
|
"type": "string",
|
4461
|
-
"maxLength":
|
4512
|
+
"maxLength": 128
|
4462
4513
|
}
|
4463
4514
|
]
|
4464
4515
|
},
|
@@ -4969,7 +5020,7 @@
|
|
4969
5020
|
},
|
4970
5021
|
{
|
4971
5022
|
"type": "string",
|
4972
|
-
"maxLength":
|
5023
|
+
"maxLength": 128
|
4973
5024
|
}
|
4974
5025
|
]
|
4975
5026
|
},
|
@@ -5266,6 +5317,10 @@
|
|
5266
5317
|
"timezone": {
|
5267
5318
|
"type": "string",
|
5268
5319
|
"maxLength": 255
|
5320
|
+
},
|
5321
|
+
"locale": {
|
5322
|
+
"type": "string",
|
5323
|
+
"maxLength": 5
|
5269
5324
|
}
|
5270
5325
|
},
|
5271
5326
|
"additionalProperties": false,
|