losant_rest 1.16.3 → 1.16.6
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 +1706 -407
- data/docs/dashboard.md +2 -0
- data/docs/dataTableRows.md +1 -1
- data/docs/device.md +4 -0
- data/docs/deviceRecipe.md +4 -0
- data/docs/deviceRecipes.md +4 -0
- data/docs/devices.md +4 -0
- data/docs/embeddedDeployments.md +1 -1
- data/docs/me.md +36 -0
- data/docs/notebook.md +44 -1
- data/docs/notebooks.md +1 -1
- data/lib/losant_rest/client.rb +2 -2
- data/lib/losant_rest/dashboard.rb +4 -0
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/device.rb +8 -0
- data/lib/losant_rest/device_recipe.rb +8 -0
- data/lib/losant_rest/device_recipes.rb +8 -0
- data/lib/losant_rest/devices.rb +8 -0
- data/lib/losant_rest/embedded_deployments.rb +1 -1
- data/lib/losant_rest/me.rb +41 -0
- data/lib/losant_rest/notebook.rb +50 -1
- data/lib/losant_rest/notebooks.rb +1 -1
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/advancedApplicationKeyQuery.json +1 -1
- data/schemas/advancedDeviceQuery.json +1 -1
- data/schemas/advancedEventQuery.json +1 -1
- data/schemas/advancedFlowByVersionQuery.json +1 -1
- data/schemas/advancedFlowQuery.json +1 -1
- data/schemas/advancedFlowVersionQuery.json +1 -1
- data/schemas/advancedQuery.json +1 -1
- data/schemas/apiToken.json +1 -1
- data/schemas/apiTokenPatch.json +1 -1
- data/schemas/apiTokenPost.json +2 -1
- data/schemas/apiTokens.json +1 -1
- data/schemas/application.json +1 -1
- data/schemas/applicationApplyTemplatePatch.json +1 -1
- data/schemas/applicationCertificate.json +1 -1
- data/schemas/applicationCertificateAuthorities.json +1 -1
- data/schemas/applicationCertificateAuthority.json +1 -1
- data/schemas/applicationCertificateAuthorityPatch.json +1 -1
- data/schemas/applicationCertificateAuthorityPost.json +1 -1
- data/schemas/applicationCertificatePatch.json +1 -1
- data/schemas/applicationCertificatePost.json +1 -1
- data/schemas/applicationCertificates.json +1 -1
- data/schemas/applicationCloneDryRunResult.json +1 -1
- data/schemas/applicationClonePost.json +5 -1
- data/schemas/applicationCreationByTemplateResult.json +1 -1
- data/schemas/applicationDashboardPost.json +185 -26
- data/schemas/applicationExportPost.json +1 -1
- data/schemas/applicationExportResult.json +1 -1
- data/schemas/applicationGlobalPatch.json +1 -1
- data/schemas/applicationKey.json +1 -1
- data/schemas/applicationKeyPatch.json +1 -1
- data/schemas/applicationKeyPost.json +1 -1
- data/schemas/applicationKeyPostResponse.json +1 -1
- data/schemas/applicationKeys.json +1 -1
- data/schemas/applicationPatch.json +1 -1
- data/schemas/applicationPost.json +1 -1
- data/schemas/applicationReadme.json +1 -1
- data/schemas/applicationReadmePatch.json +1 -1
- data/schemas/applicationSearchResult.json +1 -1
- data/schemas/applicationTemplate.json +1 -1
- data/schemas/applicationTemplateCategories.json +1 -1
- data/schemas/applicationTemplateCategory.json +1 -1
- data/schemas/applicationTemplates.json +1 -1
- data/schemas/applications.json +1 -1
- data/schemas/attributeNamesResponse.json +1 -1
- data/schemas/auditLog.json +1 -1
- data/schemas/auditLogFilter.json +1 -1
- data/schemas/auditLogs.json +1 -1
- data/schemas/authedDevice.json +1 -1
- data/schemas/authedUser.json +1 -1
- data/schemas/bulkDeleteResponse.json +1 -1
- data/schemas/changePassword.json +1 -1
- data/schemas/compositeDeviceState.json +1 -1
- data/schemas/dashboard.json +185 -26
- data/schemas/dashboardContextInstance.json +1 -1
- data/schemas/dashboardPatch.json +185 -26
- data/schemas/dashboardPost.json +185 -26
- data/schemas/dashboardSendReport.json +33 -2
- data/schemas/dashboardUpdateEvents.json +1 -1
- data/schemas/dashboards.json +185 -26
- data/schemas/dataExport.json +1 -1
- data/schemas/dataTable.json +1 -1
- data/schemas/dataTableColumn.json +1 -1
- data/schemas/dataTablePatch.json +1 -1
- data/schemas/dataTablePost.json +1 -1
- data/schemas/dataTableRow.json +1 -1
- data/schemas/dataTableRowInMultiple.json +1 -1
- data/schemas/dataTableRowInsert.json +1 -1
- data/schemas/dataTableRowInsertResult.json +1 -1
- data/schemas/dataTableRowInsertUpdate.json +1 -1
- data/schemas/dataTableRows.json +1 -1
- data/schemas/dataTableRowsDelete.json +1 -1
- data/schemas/dataTableRowsExport.json +1 -1
- data/schemas/dataTables.json +1 -1
- data/schemas/device.json +1 -1
- data/schemas/deviceAttributeDataTypeFilter.json +1 -1
- data/schemas/deviceClassFilter.json +1 -1
- data/schemas/deviceCommand.json +1 -1
- data/schemas/deviceCommands.json +1 -1
- data/schemas/deviceConnectionStatus.json +1 -1
- data/schemas/deviceCredentials.json +1 -1
- data/schemas/deviceLog.json +1 -1
- data/schemas/deviceNamesResponse.json +1 -1
- data/schemas/devicePatch.json +1 -1
- data/schemas/devicePayloadCounts.json +1 -1
- data/schemas/devicePost.json +1 -1
- data/schemas/deviceRecipe.json +1 -1
- data/schemas/deviceRecipeBulkCreate.json +1 -1
- data/schemas/deviceRecipeBulkCreateEnqueued.json +5 -1
- data/schemas/deviceRecipeBulkCreatePost.json +1 -1
- data/schemas/deviceRecipePatch.json +1 -1
- data/schemas/deviceRecipePost.json +1 -1
- data/schemas/deviceRecipes.json +1 -1
- data/schemas/deviceState.json +1 -1
- data/schemas/deviceStateOrStates.json +1 -1
- data/schemas/deviceStates.json +1 -1
- data/schemas/deviceTagFilter.json +1 -1
- data/schemas/devices.json +1 -1
- data/schemas/devicesDataRemoved.json +1 -1
- data/schemas/devicesDeletePost.json +1 -1
- data/schemas/devicesExportPayloadCountPost.json +1 -1
- data/schemas/devicesExportPost.json +1 -1
- data/schemas/devicesPatch.json +1 -1
- data/schemas/devicesRemoveDataPost.json +1 -1
- data/schemas/devicesUpdated.json +1 -1
- data/schemas/disableTwoFactorAuth.json +1 -1
- data/schemas/edgeDeployment.json +1 -1
- data/schemas/edgeDeploymentRelease.json +1 -1
- data/schemas/edgeDeploymentRemove.json +1 -1
- data/schemas/edgeDeploymentReplace.json +1 -1
- data/schemas/edgeDeployments.json +1 -1
- data/schemas/emailVerificationVerify.json +1 -1
- data/schemas/embeddedDeployment.json +1 -1
- data/schemas/embeddedDeploymentExport.json +1 -1
- data/schemas/embeddedDeploymentRelease.json +1 -1
- data/schemas/embeddedDeploymentRemove.json +1 -1
- data/schemas/embeddedDeploymentReplace.json +1 -1
- data/schemas/embeddedDeployments.json +1 -1
- data/schemas/enableTwoFactorAuth.json +6 -2
- data/schemas/error.json +1 -1
- data/schemas/event.json +1 -1
- data/schemas/eventPatch.json +1 -1
- data/schemas/eventPost.json +1 -1
- data/schemas/eventTagsSummary.json +1 -1
- data/schemas/events.json +1 -1
- data/schemas/eventsDeleted.json +1 -1
- data/schemas/eventsExport.json +1 -1
- data/schemas/experienceBootstrapOptions.json +1 -1
- data/schemas/experienceBootstrapResult.json +1 -1
- data/schemas/experienceDomain.json +1 -1
- data/schemas/experienceDomainPatch.json +1 -1
- data/schemas/experienceDomainPost.json +1 -1
- data/schemas/experienceDomains.json +1 -1
- data/schemas/experienceEndpoint.json +1 -1
- data/schemas/experienceEndpointPatch.json +1 -1
- data/schemas/experienceEndpointPost.json +1 -1
- data/schemas/experienceEndpointStats.json +1 -1
- data/schemas/experienceEndpoints.json +1 -1
- data/schemas/experienceGroup.json +1 -1
- data/schemas/experienceGroupPatch.json +1 -1
- data/schemas/experienceGroupPost.json +1 -1
- data/schemas/experienceGroups.json +1 -1
- data/schemas/experienceLinkedResources.json +4 -1
- 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 +1 -1
- data/schemas/experienceUserPatch.json +1 -1
- data/schemas/experienceUserPost.json +1 -1
- data/schemas/experienceUsers.json +1 -1
- data/schemas/experienceVersion.json +28 -1
- data/schemas/experienceVersionPatch.json +28 -1
- data/schemas/experienceVersionPost.json +40 -1
- data/schemas/experienceVersions.json +28 -1
- data/schemas/experienceView.json +1 -1
- data/schemas/experienceViewPatch.json +1 -1
- data/schemas/experienceViewPost.json +1 -1
- data/schemas/experienceViews.json +1 -1
- data/schemas/file.json +1 -1
- data/schemas/filePatch.json +1 -1
- data/schemas/filePost.json +1 -1
- data/schemas/fileUploadPostResponse.json +1 -1
- data/schemas/files.json +1 -1
- data/schemas/flow.json +2 -1
- data/schemas/flowErrors.json +1 -1
- data/schemas/flowLog.json +1 -1
- data/schemas/flowPatch.json +2 -1
- data/schemas/flowPost.json +2 -1
- data/schemas/flowStats.json +1 -1
- data/schemas/flowStorageEntries.json +1 -1
- data/schemas/flowStorageEntry.json +1 -1
- data/schemas/flowStorageMetadata.json +1 -1
- data/schemas/flowTriggerFilter.json +1 -1
- data/schemas/flowVersion.json +3 -1
- data/schemas/flowVersionPatch.json +1 -1
- data/schemas/flowVersionPost.json +2 -1
- data/schemas/flowVersions.json +3 -1
- data/schemas/flowVersionsDeletePost.json +1 -1
- data/schemas/flows.json +2 -1
- data/schemas/flowsImportPost.json +3 -1
- data/schemas/flowsImportResult.json +4 -1
- data/schemas/githubLogin.json +2 -1
- data/schemas/historicalSummaries.json +1 -1
- data/schemas/historicalSummary.json +1 -1
- data/schemas/importIntoApplicationOptions.json +9 -2
- data/schemas/importNewApplicationOptions.json +2 -1
- data/schemas/instance.json +1 -1
- data/schemas/instanceCustomNode.json +1 -1
- data/schemas/instanceCustomNodePatch.json +2 -1
- data/schemas/instanceCustomNodePost.json +2 -1
- data/schemas/instanceCustomNodes.json +1 -1
- data/schemas/instanceMember.json +1 -1
- data/schemas/instanceMemberPatch.json +1 -1
- data/schemas/instanceMemberPost.json +1 -1
- data/schemas/instanceMembers.json +1 -1
- data/schemas/instanceOrg.json +1 -1
- data/schemas/instanceOrgMember.json +1 -1
- data/schemas/instanceOrgMemberPatch.json +1 -1
- data/schemas/instanceOrgMemberPost.json +1 -1
- data/schemas/instanceOrgMembers.json +1 -1
- data/schemas/instanceOrgPatch.json +3 -2
- data/schemas/instanceOrgPost.json +3 -2
- data/schemas/instanceOrgs.json +1 -1
- data/schemas/instancePatch.json +1 -1
- data/schemas/instanceReportOptionsPost.json +1 -1
- data/schemas/instanceSandbox.json +1 -1
- data/schemas/instanceSandboxes.json +1 -1
- data/schemas/instances.json +1 -1
- data/schemas/integration.json +35 -2
- data/schemas/integrationPatch.json +35 -2
- data/schemas/integrationPost.json +35 -2
- data/schemas/integrations.json +35 -2
- data/schemas/jobEnqueuedResult.json +5 -1
- data/schemas/lastValueData.json +1 -1
- data/schemas/lastValueQuery.json +1 -1
- data/schemas/me.json +1 -1
- data/schemas/mePatch.json +1 -1
- data/schemas/mqttPublishBody.json +1 -1
- data/schemas/multiDeviceCommand.json +1 -1
- data/schemas/notebook.json +1 -1
- data/schemas/notebookDataExportOptions.json +1 -1
- data/schemas/notebookExecutionLogs.json +1 -1
- data/schemas/notebookExecutionOptions.json +1 -1
- data/schemas/notebookPatch.json +1 -1
- data/schemas/notebookPost.json +1 -1
- data/schemas/notebooks.json +1 -1
- data/schemas/org.json +1 -1
- data/schemas/orgInvite.json +1 -1
- data/schemas/orgInviteAction.json +1 -1
- data/schemas/orgInviteCollection.json +1 -1
- data/schemas/orgInviteInfo.json +1 -1
- data/schemas/orgInvitePost.json +1 -1
- data/schemas/orgInviteResult.json +1 -1
- data/schemas/orgInvites.json +1 -1
- data/schemas/orgMemberPatch.json +1 -1
- data/schemas/orgPatch.json +1 -1
- data/schemas/orgPost.json +1 -1
- data/schemas/orgRoleInfo.json +1 -1
- data/schemas/orgs.json +1 -1
- data/schemas/paletteResponse.json +1 -1
- data/schemas/passwordResetFinish.json +1 -1
- data/schemas/passwordResetInput.json +1 -1
- data/schemas/passwordResetResponse.json +1 -1
- data/schemas/payloadStats.json +1 -1
- data/schemas/recentItem.json +1 -1
- data/schemas/recentItemList.json +1 -1
- data/schemas/resourceTransfer.json +1 -1
- data/schemas/samlResponse.json +2 -1
- data/schemas/ssoRequest.json +1 -1
- data/schemas/success.json +1 -1
- data/schemas/successWithExecutionId.json +16 -0
- data/schemas/successWithJobId.json +16 -0
- data/schemas/tagKeysResponse.json +1 -1
- data/schemas/tagValuesResponse.json +1 -1
- data/schemas/templateKeywords.json +1 -1
- data/schemas/timeSeriesData.json +1 -1
- data/schemas/timeSeriesQuery.json +1 -1
- data/schemas/twoFactorAuthInfo.json +15 -0
- data/schemas/userCredentials.json +2 -1
- data/schemas/userPost.json +2 -1
- data/schemas/validateContextError.json +28 -1
- data/schemas/validateContextSuccess.json +28 -1
- data/schemas/validationErrors.json +1 -1
- data/schemas/virtualButtonPress.json +1 -1
- data/schemas/webhook.json +1 -1
- data/schemas/webhookPatch.json +1 -1
- data/schemas/webhookPost.json +1 -1
- data/schemas/webhooks.json +1 -1
- metadata +5 -2
data/schemas/apiTokenPost.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"$schema": "http://json-schema.org/draft-
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
3
|
"type": "object",
|
4
4
|
"properties": {
|
5
5
|
"name": {
|
@@ -426,6 +426,7 @@
|
|
426
426
|
"me.delete",
|
427
427
|
"me.verifyEmail",
|
428
428
|
"me.changePassword",
|
429
|
+
"me.generateTwoFactorAuth",
|
429
430
|
"me.enableTwoFactorAuth",
|
430
431
|
"me.disableTwoFactorAuth",
|
431
432
|
"me.disconnectGithub",
|
data/schemas/apiTokens.json
CHANGED
data/schemas/application.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"$schema": "http://json-schema.org/draft-
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
3
|
"type": "object",
|
4
4
|
"properties": {
|
5
5
|
"dryRun": {
|
@@ -45,6 +45,10 @@
|
|
45
45
|
"type": "string",
|
46
46
|
"format": "uri",
|
47
47
|
"maxLength": 1024
|
48
|
+
},
|
49
|
+
"forceJob": {
|
50
|
+
"type": "boolean",
|
51
|
+
"default": false
|
48
52
|
}
|
49
53
|
},
|
50
54
|
"additionalProperties": false
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"$schema": "http://json-schema.org/draft-
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
3
|
"type": "object",
|
4
4
|
"properties": {
|
5
5
|
"name": {
|
@@ -112,8 +112,18 @@
|
|
112
112
|
"type": "boolean"
|
113
113
|
},
|
114
114
|
"duration": {
|
115
|
-
"
|
116
|
-
|
115
|
+
"oneOf": [
|
116
|
+
{
|
117
|
+
"type": "integer",
|
118
|
+
"minimum": 0
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"type": "string",
|
122
|
+
"enum": [
|
123
|
+
"{{dashboard.duration}}"
|
124
|
+
]
|
125
|
+
}
|
126
|
+
]
|
117
127
|
},
|
118
128
|
"xAxisFormat": {
|
119
129
|
"type": "string",
|
@@ -554,8 +564,18 @@
|
|
554
564
|
}
|
555
565
|
},
|
556
566
|
"duration": {
|
557
|
-
"
|
558
|
-
|
567
|
+
"oneOf": [
|
568
|
+
{
|
569
|
+
"type": "integer",
|
570
|
+
"minimum": 0
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"type": "string",
|
574
|
+
"enum": [
|
575
|
+
"{{dashboard.duration}}"
|
576
|
+
]
|
577
|
+
}
|
578
|
+
]
|
559
579
|
},
|
560
580
|
"resolution": {
|
561
581
|
"oneOf": [
|
@@ -727,8 +747,18 @@
|
|
727
747
|
}
|
728
748
|
},
|
729
749
|
"duration": {
|
730
|
-
"
|
731
|
-
|
750
|
+
"oneOf": [
|
751
|
+
{
|
752
|
+
"type": "integer",
|
753
|
+
"minimum": 0
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"type": "string",
|
757
|
+
"enum": [
|
758
|
+
"{{dashboard.duration}}"
|
759
|
+
]
|
760
|
+
}
|
761
|
+
]
|
732
762
|
}
|
733
763
|
},
|
734
764
|
"additionalProperties": false
|
@@ -1463,8 +1493,18 @@
|
|
1463
1493
|
}
|
1464
1494
|
},
|
1465
1495
|
"duration": {
|
1466
|
-
"
|
1467
|
-
|
1496
|
+
"oneOf": [
|
1497
|
+
{
|
1498
|
+
"type": "integer",
|
1499
|
+
"minimum": 0
|
1500
|
+
},
|
1501
|
+
{
|
1502
|
+
"type": "string",
|
1503
|
+
"enum": [
|
1504
|
+
"{{dashboard.duration}}"
|
1505
|
+
]
|
1506
|
+
}
|
1507
|
+
]
|
1468
1508
|
},
|
1469
1509
|
"sortDirection": {
|
1470
1510
|
"type": "integer",
|
@@ -1713,8 +1753,18 @@
|
|
1713
1753
|
"type": "boolean"
|
1714
1754
|
},
|
1715
1755
|
"duration": {
|
1716
|
-
"
|
1717
|
-
|
1756
|
+
"oneOf": [
|
1757
|
+
{
|
1758
|
+
"type": "integer",
|
1759
|
+
"minimum": 0
|
1760
|
+
},
|
1761
|
+
{
|
1762
|
+
"type": "string",
|
1763
|
+
"enum": [
|
1764
|
+
"{{dashboard.duration}}"
|
1765
|
+
]
|
1766
|
+
}
|
1767
|
+
]
|
1718
1768
|
},
|
1719
1769
|
"gaugeMax": {
|
1720
1770
|
"oneOf": [
|
@@ -2035,8 +2085,18 @@
|
|
2035
2085
|
"type": "boolean"
|
2036
2086
|
},
|
2037
2087
|
"duration": {
|
2038
|
-
"
|
2039
|
-
|
2088
|
+
"oneOf": [
|
2089
|
+
{
|
2090
|
+
"type": "integer",
|
2091
|
+
"minimum": 0
|
2092
|
+
},
|
2093
|
+
{
|
2094
|
+
"type": "string",
|
2095
|
+
"enum": [
|
2096
|
+
"{{dashboard.duration}}"
|
2097
|
+
]
|
2098
|
+
}
|
2099
|
+
]
|
2040
2100
|
},
|
2041
2101
|
"resolution": {
|
2042
2102
|
"oneOf": [
|
@@ -2411,8 +2471,18 @@
|
|
2411
2471
|
}
|
2412
2472
|
},
|
2413
2473
|
"duration": {
|
2414
|
-
"
|
2415
|
-
|
2474
|
+
"oneOf": [
|
2475
|
+
{
|
2476
|
+
"type": "integer",
|
2477
|
+
"minimum": 0
|
2478
|
+
},
|
2479
|
+
{
|
2480
|
+
"type": "string",
|
2481
|
+
"enum": [
|
2482
|
+
"{{dashboard.duration}}"
|
2483
|
+
]
|
2484
|
+
}
|
2485
|
+
]
|
2416
2486
|
},
|
2417
2487
|
"locationTagKey": {
|
2418
2488
|
"oneOf": [
|
@@ -2800,8 +2870,18 @@
|
|
2800
2870
|
}
|
2801
2871
|
},
|
2802
2872
|
"duration": {
|
2803
|
-
"
|
2804
|
-
|
2873
|
+
"oneOf": [
|
2874
|
+
{
|
2875
|
+
"type": "integer",
|
2876
|
+
"minimum": 0
|
2877
|
+
},
|
2878
|
+
{
|
2879
|
+
"type": "string",
|
2880
|
+
"enum": [
|
2881
|
+
"{{dashboard.duration}}"
|
2882
|
+
]
|
2883
|
+
}
|
2884
|
+
]
|
2805
2885
|
}
|
2806
2886
|
},
|
2807
2887
|
"additionalProperties": false
|
@@ -3256,8 +3336,18 @@
|
|
3256
3336
|
"type": "boolean"
|
3257
3337
|
},
|
3258
3338
|
"duration": {
|
3259
|
-
"
|
3260
|
-
|
3339
|
+
"oneOf": [
|
3340
|
+
{
|
3341
|
+
"type": "integer",
|
3342
|
+
"minimum": 0
|
3343
|
+
},
|
3344
|
+
{
|
3345
|
+
"type": "string",
|
3346
|
+
"enum": [
|
3347
|
+
"{{dashboard.duration}}"
|
3348
|
+
]
|
3349
|
+
}
|
3350
|
+
]
|
3261
3351
|
},
|
3262
3352
|
"segments": {
|
3263
3353
|
"type": "array",
|
@@ -4685,8 +4775,18 @@
|
|
4685
4775
|
}
|
4686
4776
|
},
|
4687
4777
|
"duration": {
|
4688
|
-
"
|
4689
|
-
|
4778
|
+
"oneOf": [
|
4779
|
+
{
|
4780
|
+
"type": "integer",
|
4781
|
+
"minimum": 0
|
4782
|
+
},
|
4783
|
+
{
|
4784
|
+
"type": "string",
|
4785
|
+
"enum": [
|
4786
|
+
"{{dashboard.duration}}"
|
4787
|
+
]
|
4788
|
+
}
|
4789
|
+
]
|
4690
4790
|
},
|
4691
4791
|
"endColor": {
|
4692
4792
|
"type": "string",
|
@@ -4881,8 +4981,18 @@
|
|
4881
4981
|
"type": "boolean"
|
4882
4982
|
},
|
4883
4983
|
"duration": {
|
4884
|
-
"
|
4885
|
-
|
4984
|
+
"oneOf": [
|
4985
|
+
{
|
4986
|
+
"type": "integer",
|
4987
|
+
"minimum": 0
|
4988
|
+
},
|
4989
|
+
{
|
4990
|
+
"type": "string",
|
4991
|
+
"enum": [
|
4992
|
+
"{{dashboard.duration}}"
|
4993
|
+
]
|
4994
|
+
}
|
4995
|
+
]
|
4886
4996
|
},
|
4887
4997
|
"percentFormat": {
|
4888
4998
|
"type": "string",
|
@@ -5196,8 +5306,18 @@
|
|
5196
5306
|
}
|
5197
5307
|
},
|
5198
5308
|
"duration": {
|
5199
|
-
"
|
5200
|
-
|
5309
|
+
"oneOf": [
|
5310
|
+
{
|
5311
|
+
"type": "integer",
|
5312
|
+
"minimum": 0
|
5313
|
+
},
|
5314
|
+
{
|
5315
|
+
"type": "string",
|
5316
|
+
"enum": [
|
5317
|
+
"{{dashboard.duration}}"
|
5318
|
+
]
|
5319
|
+
}
|
5320
|
+
]
|
5201
5321
|
},
|
5202
5322
|
"endColor": {
|
5203
5323
|
"type": "string",
|
@@ -5428,6 +5548,14 @@
|
|
5428
5548
|
"minimum": 5,
|
5429
5549
|
"maximum": 600
|
5430
5550
|
},
|
5551
|
+
"duration": {
|
5552
|
+
"type": "integer",
|
5553
|
+
"minimum": 1
|
5554
|
+
},
|
5555
|
+
"resolution": {
|
5556
|
+
"type": "integer",
|
5557
|
+
"minimum": 1
|
5558
|
+
},
|
5431
5559
|
"defaultTheme": {
|
5432
5560
|
"type": "string",
|
5433
5561
|
"enum": [
|
@@ -5488,7 +5616,38 @@
|
|
5488
5616
|
"maxLength": 5
|
5489
5617
|
},
|
5490
5618
|
"ctx": {
|
5491
|
-
"
|
5619
|
+
"title": "Dashboard Context Instance",
|
5620
|
+
"description": "Schema for a dashboard context instance",
|
5621
|
+
"type": "object",
|
5622
|
+
"patternProperties": {
|
5623
|
+
"^[0-9a-zA-Z_-]{1,255}$": {
|
5624
|
+
"oneOf": [
|
5625
|
+
{
|
5626
|
+
"type": "string",
|
5627
|
+
"maxLength": 32767
|
5628
|
+
},
|
5629
|
+
{
|
5630
|
+
"type": "number"
|
5631
|
+
},
|
5632
|
+
{
|
5633
|
+
"type": "object",
|
5634
|
+
"properties": {
|
5635
|
+
"key": {
|
5636
|
+
"type": "string",
|
5637
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
5638
|
+
},
|
5639
|
+
"value": {
|
5640
|
+
"type": "string",
|
5641
|
+
"minLength": 1,
|
5642
|
+
"maxLength": 255
|
5643
|
+
}
|
5644
|
+
},
|
5645
|
+
"additionalProperties": false
|
5646
|
+
}
|
5647
|
+
]
|
5648
|
+
}
|
5649
|
+
},
|
5650
|
+
"additionalProperties": false
|
5492
5651
|
},
|
5493
5652
|
"branded": {
|
5494
5653
|
"type": "boolean"
|
data/schemas/applicationKey.json
CHANGED
data/schemas/applications.json
CHANGED
data/schemas/auditLog.json
CHANGED
data/schemas/auditLogFilter.json
CHANGED
data/schemas/auditLogs.json
CHANGED
data/schemas/authedDevice.json
CHANGED
data/schemas/authedUser.json
CHANGED