losant_rest 1.13.0 → 1.15.0
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 +19437 -10622
- data/docs/application.md +6 -6
- data/docs/applicationApiTokens.md +1 -1
- data/docs/applications.md +1 -1
- data/docs/dataTable.md +1 -1
- data/docs/dataTableRows.md +1 -1
- data/docs/dataTables.md +1 -1
- data/docs/device.md +43 -0
- data/docs/devices.md +41 -2
- data/docs/edgeDeployment.md +49 -0
- data/docs/embeddedDeployment.md +49 -0
- data/docs/embeddedDeployments.md +215 -0
- data/docs/experience.md +1 -1
- data/docs/experienceDomains.md +1 -1
- data/docs/experienceGroup.md +2 -0
- data/docs/experienceSlugs.md +1 -1
- data/docs/experienceVersion.md +3 -3
- data/docs/experienceVersions.md +2 -2
- data/docs/experienceView.md +4 -4
- data/docs/experienceViews.md +2 -2
- data/docs/file.md +5 -5
- data/docs/files.md +2 -2
- data/docs/flow.md +3 -3
- data/docs/flowVersions.md +44 -0
- data/docs/flows.md +2 -2
- data/docs/instance.md +40 -0
- data/docs/instanceApiToken.md +133 -0
- data/docs/instanceApiTokens.md +91 -0
- data/docs/instanceMembers.md +1 -1
- data/docs/instanceOrg.md +2 -0
- data/docs/instanceOrgInvite.md +139 -0
- data/docs/instanceOrgInvites.md +96 -0
- data/docs/instanceOrgMembers.md +3 -3
- data/docs/instanceOrgs.md +1 -1
- data/docs/me.md +1 -1
- data/docs/org.md +1 -1
- data/docs/userApiToken.md +125 -0
- data/docs/userApiTokens.md +87 -0
- data/lib/losant_rest/application.rb +5 -5
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/client.rb +38 -2
- data/lib/losant_rest/data_table.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/data_tables.rb +1 -1
- data/lib/losant_rest/device.rb +50 -0
- data/lib/losant_rest/devices.rb +48 -2
- data/lib/losant_rest/edge_deployment.rb +81 -0
- data/lib/losant_rest/embedded_deployment.rb +81 -0
- data/lib/losant_rest/embedded_deployments.rb +280 -0
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_group.rb +4 -0
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_version.rb +3 -3
- data/lib/losant_rest/experience_versions.rb +2 -2
- data/lib/losant_rest/experience_view.rb +4 -4
- data/lib/losant_rest/experience_views.rb +2 -2
- data/lib/losant_rest/file.rb +4 -4
- data/lib/losant_rest/files.rb +2 -2
- data/lib/losant_rest/flow.rb +3 -3
- data/lib/losant_rest/flow_versions.rb +50 -0
- data/lib/losant_rest/flows.rb +2 -2
- data/lib/losant_rest/instance.rb +47 -1
- 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 +1 -1
- data/lib/losant_rest/instance_members.rb +2 -2
- data/lib/losant_rest/instance_org.rb +5 -1
- data/lib/losant_rest/instance_org_invite.rb +182 -0
- data/lib/losant_rest/instance_org_invites.rb +138 -0
- data/lib/losant_rest/instance_org_member.rb +1 -1
- data/lib/losant_rest/instance_org_members.rb +4 -4
- data/lib/losant_rest/instance_orgs.rb +3 -3
- data/lib/losant_rest/instances.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/version.rb +1 -1
- data/lib/losant_rest.rb +9 -0
- data/schemas/apiToken.json +2 -1
- data/schemas/apiTokenPost.json +439 -0
- data/schemas/apiTokens.json +4 -2
- data/schemas/application.json +32 -32
- data/schemas/applicationCreationByTemplateResult.json +32 -32
- data/schemas/applicationDashboardPost.json +28 -21
- data/schemas/applicationPatch.json +13 -13
- data/schemas/applicationPost.json +13 -13
- data/schemas/applicationTemplate.json +16 -16
- data/schemas/applicationTemplates.json +16 -16
- data/schemas/applications.json +32 -32
- data/schemas/auditLog.json +4 -0
- data/schemas/auditLogFilter.json +4 -0
- data/schemas/auditLogs.json +4 -0
- data/schemas/authedDevice.json +2 -1
- data/schemas/bulkDeleteResponse.json +12 -0
- data/schemas/dashboard.json +28 -21
- data/schemas/dashboardPatch.json +28 -21
- data/schemas/dashboardPost.json +28 -21
- data/schemas/dashboardSendReport.json +9 -5
- data/schemas/dashboards.json +28 -21
- data/schemas/dataTableRowsDelete.json +1 -1
- data/schemas/device.json +2 -1
- data/schemas/deviceClassFilter.json +4 -2
- data/schemas/devicePatch.json +2 -1
- data/schemas/devicePayloadCounts.json +24 -0
- data/schemas/devicePost.json +2 -1
- data/schemas/deviceRecipe.json +2 -1
- data/schemas/deviceRecipePatch.json +2 -1
- data/schemas/deviceRecipePost.json +2 -1
- data/schemas/deviceRecipes.json +2 -1
- data/schemas/devices.json +4 -2
- data/schemas/devicesExportPayloadCountPost.json +1350 -0
- data/schemas/devicesPatch.json +4 -2
- data/schemas/edgeDeployment.json +20 -0
- data/schemas/edgeDeployments.json +20 -0
- data/schemas/embeddedDeployment.json +179 -0
- data/schemas/embeddedDeploymentExport.json +44 -0
- data/schemas/embeddedDeploymentRelease.json +58 -0
- data/schemas/embeddedDeploymentRemove.json +25 -0
- data/schemas/embeddedDeploymentReplace.json +29 -0
- data/schemas/embeddedDeployments.json +212 -0
- data/schemas/eventsDeleted.json +1 -1
- data/schemas/experienceEndpoint.json +6 -8
- data/schemas/experienceEndpointPatch.json +6 -8
- data/schemas/experienceEndpointPost.json +6 -8
- data/schemas/experienceEndpoints.json +6 -8
- data/schemas/experienceGroup.json +6 -0
- data/schemas/experienceGroups.json +6 -0
- data/schemas/experienceLinkedResources.json +790 -85
- data/schemas/flow.json +252 -16
- data/schemas/flowPatch.json +251 -16
- data/schemas/flowPost.json +252 -16
- data/schemas/flowVersion.json +503 -33
- data/schemas/flowVersionPost.json +251 -16
- data/schemas/flowVersions.json +503 -33
- data/schemas/flowVersionsDeletePost.json +941 -0
- data/schemas/flows.json +253 -16
- data/schemas/flowsImportPost.json +503 -32
- data/schemas/flowsImportResult.json +785 -79
- data/schemas/githubLogin.json +38 -1
- data/schemas/historicalSummary.json +150 -102
- data/schemas/instance.json +150 -77
- data/schemas/instanceMember.json +10 -0
- data/schemas/instanceMemberPost.json +18 -3
- data/schemas/instanceMembers.json +14 -0
- data/schemas/instanceOrg.json +87 -74
- data/schemas/instanceOrgMember.json +14 -0
- data/schemas/instanceOrgMembers.json +8 -0
- data/schemas/instanceOrgPatch.json +64 -26
- data/schemas/instanceOrgPost.json +229 -25
- data/schemas/instanceOrgs.json +91 -74
- data/schemas/instancePatch.json +67 -0
- data/schemas/instanceReportOptionsPost.json +1 -0
- data/schemas/me.json +134 -105
- data/schemas/notebook.json +45 -0
- data/schemas/notebookPatch.json +30 -0
- data/schemas/notebookPost.json +30 -0
- data/schemas/notebooks.json +45 -0
- data/schemas/org.json +145 -110
- data/schemas/orgInvite.json +90 -0
- data/schemas/orgInviteCollection.json +130 -0
- data/schemas/orgInvites.json +82 -77
- data/schemas/orgRoleInfo.json +69 -0
- data/schemas/orgs.json +145 -110
- data/schemas/payloadStats.json +28 -12
- data/schemas/userCredentials.json +38 -1
- data/schemas/userPost.json +38 -1
- data/schemas/validateContextError.json +34 -0
- data/schemas/validateContextSuccess.json +34 -0
- data/schemas/virtualButtonPress.json +4 -0
- metadata +39 -6
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
|
},
|
@@ -1582,7 +1582,7 @@
|
|
1582
1582
|
},
|
1583
1583
|
{
|
1584
1584
|
"type": "string",
|
1585
|
-
"maxLength":
|
1585
|
+
"maxLength": 128
|
1586
1586
|
}
|
1587
1587
|
]
|
1588
1588
|
},
|
@@ -1593,7 +1593,7 @@
|
|
1593
1593
|
},
|
1594
1594
|
{
|
1595
1595
|
"type": "string",
|
1596
|
-
"maxLength":
|
1596
|
+
"maxLength": 128
|
1597
1597
|
}
|
1598
1598
|
]
|
1599
1599
|
},
|
@@ -1614,7 +1614,7 @@
|
|
1614
1614
|
},
|
1615
1615
|
{
|
1616
1616
|
"type": "string",
|
1617
|
-
"maxLength":
|
1617
|
+
"maxLength": 128
|
1618
1618
|
}
|
1619
1619
|
]
|
1620
1620
|
},
|
@@ -2077,7 +2077,7 @@
|
|
2077
2077
|
},
|
2078
2078
|
{
|
2079
2079
|
"type": "string",
|
2080
|
-
"maxLength":
|
2080
|
+
"maxLength": 128
|
2081
2081
|
}
|
2082
2082
|
]
|
2083
2083
|
},
|
@@ -2088,7 +2088,7 @@
|
|
2088
2088
|
},
|
2089
2089
|
{
|
2090
2090
|
"type": "string",
|
2091
|
-
"maxLength":
|
2091
|
+
"maxLength": 128
|
2092
2092
|
}
|
2093
2093
|
]
|
2094
2094
|
},
|
@@ -2235,7 +2235,7 @@
|
|
2235
2235
|
},
|
2236
2236
|
{
|
2237
2237
|
"type": "string",
|
2238
|
-
"maxLength":
|
2238
|
+
"maxLength": 128
|
2239
2239
|
}
|
2240
2240
|
]
|
2241
2241
|
},
|
@@ -3010,7 +3010,7 @@
|
|
3010
3010
|
},
|
3011
3011
|
{
|
3012
3012
|
"type": "string",
|
3013
|
-
"maxLength":
|
3013
|
+
"maxLength": 128
|
3014
3014
|
}
|
3015
3015
|
]
|
3016
3016
|
},
|
@@ -3021,7 +3021,7 @@
|
|
3021
3021
|
},
|
3022
3022
|
{
|
3023
3023
|
"type": "string",
|
3024
|
-
"maxLength":
|
3024
|
+
"maxLength": 128
|
3025
3025
|
}
|
3026
3026
|
]
|
3027
3027
|
},
|
@@ -3035,8 +3035,8 @@
|
|
3035
3035
|
},
|
3036
3036
|
"length": {
|
3037
3037
|
"type": "integer",
|
3038
|
-
"
|
3039
|
-
"
|
3038
|
+
"minimum": 1,
|
3039
|
+
"maximum": 10
|
3040
3040
|
},
|
3041
3041
|
"orientation": {
|
3042
3042
|
"type": "string",
|
@@ -3629,7 +3629,7 @@
|
|
3629
3629
|
},
|
3630
3630
|
{
|
3631
3631
|
"type": "string",
|
3632
|
-
"maxLength":
|
3632
|
+
"maxLength": 128
|
3633
3633
|
}
|
3634
3634
|
]
|
3635
3635
|
},
|
@@ -3640,7 +3640,7 @@
|
|
3640
3640
|
},
|
3641
3641
|
{
|
3642
3642
|
"type": "string",
|
3643
|
-
"maxLength":
|
3643
|
+
"maxLength": 128
|
3644
3644
|
}
|
3645
3645
|
]
|
3646
3646
|
},
|
@@ -3651,7 +3651,7 @@
|
|
3651
3651
|
},
|
3652
3652
|
{
|
3653
3653
|
"type": "string",
|
3654
|
-
"maxLength":
|
3654
|
+
"maxLength": 128
|
3655
3655
|
}
|
3656
3656
|
]
|
3657
3657
|
},
|
@@ -3662,7 +3662,7 @@
|
|
3662
3662
|
},
|
3663
3663
|
{
|
3664
3664
|
"type": "string",
|
3665
|
-
"maxLength":
|
3665
|
+
"maxLength": 128
|
3666
3666
|
}
|
3667
3667
|
]
|
3668
3668
|
}
|
@@ -4509,7 +4509,7 @@
|
|
4509
4509
|
},
|
4510
4510
|
{
|
4511
4511
|
"type": "string",
|
4512
|
-
"maxLength":
|
4512
|
+
"maxLength": 128
|
4513
4513
|
}
|
4514
4514
|
]
|
4515
4515
|
},
|
@@ -5020,7 +5020,7 @@
|
|
5020
5020
|
},
|
5021
5021
|
{
|
5022
5022
|
"type": "string",
|
5023
|
-
"maxLength":
|
5023
|
+
"maxLength": 128
|
5024
5024
|
}
|
5025
5025
|
]
|
5026
5026
|
},
|
@@ -5251,6 +5251,9 @@
|
|
5251
5251
|
"includeEdge": {
|
5252
5252
|
"type": "boolean"
|
5253
5253
|
},
|
5254
|
+
"includeEmbedded": {
|
5255
|
+
"type": "boolean"
|
5256
|
+
},
|
5254
5257
|
"includeExperience": {
|
5255
5258
|
"type": "boolean"
|
5256
5259
|
},
|
@@ -5277,7 +5280,7 @@
|
|
5277
5280
|
},
|
5278
5281
|
"reportConfigs": {
|
5279
5282
|
"type": "array",
|
5280
|
-
"
|
5283
|
+
"maxItems": 10,
|
5281
5284
|
"items": {
|
5282
5285
|
"type": "object",
|
5283
5286
|
"properties": {
|
@@ -5291,8 +5294,8 @@
|
|
5291
5294
|
},
|
5292
5295
|
"toEmail": {
|
5293
5296
|
"type": "array",
|
5294
|
-
"
|
5295
|
-
"
|
5297
|
+
"minItems": 1,
|
5298
|
+
"maxItems": 10,
|
5296
5299
|
"items": {
|
5297
5300
|
"type": "string",
|
5298
5301
|
"format": "email",
|
@@ -5317,6 +5320,10 @@
|
|
5317
5320
|
"timezone": {
|
5318
5321
|
"type": "string",
|
5319
5322
|
"maxLength": 255
|
5323
|
+
},
|
5324
|
+
"locale": {
|
5325
|
+
"type": "string",
|
5326
|
+
"maxLength": 5
|
5320
5327
|
}
|
5321
5328
|
},
|
5322
5329
|
"additionalProperties": false,
|
data/schemas/dashboardPost.json
CHANGED
@@ -138,7 +138,7 @@
|
|
138
138
|
},
|
139
139
|
{
|
140
140
|
"type": "string",
|
141
|
-
"maxLength":
|
141
|
+
"maxLength": 128
|
142
142
|
}
|
143
143
|
]
|
144
144
|
},
|
@@ -149,7 +149,7 @@
|
|
149
149
|
},
|
150
150
|
{
|
151
151
|
"type": "string",
|
152
|
-
"maxLength":
|
152
|
+
"maxLength": 128
|
153
153
|
}
|
154
154
|
]
|
155
155
|
},
|
@@ -1590,7 +1590,7 @@
|
|
1590
1590
|
},
|
1591
1591
|
{
|
1592
1592
|
"type": "string",
|
1593
|
-
"maxLength":
|
1593
|
+
"maxLength": 128
|
1594
1594
|
}
|
1595
1595
|
]
|
1596
1596
|
},
|
@@ -1601,7 +1601,7 @@
|
|
1601
1601
|
},
|
1602
1602
|
{
|
1603
1603
|
"type": "string",
|
1604
|
-
"maxLength":
|
1604
|
+
"maxLength": 128
|
1605
1605
|
}
|
1606
1606
|
]
|
1607
1607
|
},
|
@@ -1622,7 +1622,7 @@
|
|
1622
1622
|
},
|
1623
1623
|
{
|
1624
1624
|
"type": "string",
|
1625
|
-
"maxLength":
|
1625
|
+
"maxLength": 128
|
1626
1626
|
}
|
1627
1627
|
]
|
1628
1628
|
},
|
@@ -2085,7 +2085,7 @@
|
|
2085
2085
|
},
|
2086
2086
|
{
|
2087
2087
|
"type": "string",
|
2088
|
-
"maxLength":
|
2088
|
+
"maxLength": 128
|
2089
2089
|
}
|
2090
2090
|
]
|
2091
2091
|
},
|
@@ -2096,7 +2096,7 @@
|
|
2096
2096
|
},
|
2097
2097
|
{
|
2098
2098
|
"type": "string",
|
2099
|
-
"maxLength":
|
2099
|
+
"maxLength": 128
|
2100
2100
|
}
|
2101
2101
|
]
|
2102
2102
|
},
|
@@ -2243,7 +2243,7 @@
|
|
2243
2243
|
},
|
2244
2244
|
{
|
2245
2245
|
"type": "string",
|
2246
|
-
"maxLength":
|
2246
|
+
"maxLength": 128
|
2247
2247
|
}
|
2248
2248
|
]
|
2249
2249
|
},
|
@@ -3018,7 +3018,7 @@
|
|
3018
3018
|
},
|
3019
3019
|
{
|
3020
3020
|
"type": "string",
|
3021
|
-
"maxLength":
|
3021
|
+
"maxLength": 128
|
3022
3022
|
}
|
3023
3023
|
]
|
3024
3024
|
},
|
@@ -3029,7 +3029,7 @@
|
|
3029
3029
|
},
|
3030
3030
|
{
|
3031
3031
|
"type": "string",
|
3032
|
-
"maxLength":
|
3032
|
+
"maxLength": 128
|
3033
3033
|
}
|
3034
3034
|
]
|
3035
3035
|
},
|
@@ -3043,8 +3043,8 @@
|
|
3043
3043
|
},
|
3044
3044
|
"length": {
|
3045
3045
|
"type": "integer",
|
3046
|
-
"
|
3047
|
-
"
|
3046
|
+
"minimum": 1,
|
3047
|
+
"maximum": 10
|
3048
3048
|
},
|
3049
3049
|
"orientation": {
|
3050
3050
|
"type": "string",
|
@@ -3637,7 +3637,7 @@
|
|
3637
3637
|
},
|
3638
3638
|
{
|
3639
3639
|
"type": "string",
|
3640
|
-
"maxLength":
|
3640
|
+
"maxLength": 128
|
3641
3641
|
}
|
3642
3642
|
]
|
3643
3643
|
},
|
@@ -3648,7 +3648,7 @@
|
|
3648
3648
|
},
|
3649
3649
|
{
|
3650
3650
|
"type": "string",
|
3651
|
-
"maxLength":
|
3651
|
+
"maxLength": 128
|
3652
3652
|
}
|
3653
3653
|
]
|
3654
3654
|
},
|
@@ -3659,7 +3659,7 @@
|
|
3659
3659
|
},
|
3660
3660
|
{
|
3661
3661
|
"type": "string",
|
3662
|
-
"maxLength":
|
3662
|
+
"maxLength": 128
|
3663
3663
|
}
|
3664
3664
|
]
|
3665
3665
|
},
|
@@ -3670,7 +3670,7 @@
|
|
3670
3670
|
},
|
3671
3671
|
{
|
3672
3672
|
"type": "string",
|
3673
|
-
"maxLength":
|
3673
|
+
"maxLength": 128
|
3674
3674
|
}
|
3675
3675
|
]
|
3676
3676
|
}
|
@@ -4517,7 +4517,7 @@
|
|
4517
4517
|
},
|
4518
4518
|
{
|
4519
4519
|
"type": "string",
|
4520
|
-
"maxLength":
|
4520
|
+
"maxLength": 128
|
4521
4521
|
}
|
4522
4522
|
]
|
4523
4523
|
},
|
@@ -5028,7 +5028,7 @@
|
|
5028
5028
|
},
|
5029
5029
|
{
|
5030
5030
|
"type": "string",
|
5031
|
-
"maxLength":
|
5031
|
+
"maxLength": 128
|
5032
5032
|
}
|
5033
5033
|
]
|
5034
5034
|
},
|
@@ -5259,6 +5259,9 @@
|
|
5259
5259
|
"includeEdge": {
|
5260
5260
|
"type": "boolean"
|
5261
5261
|
},
|
5262
|
+
"includeEmbedded": {
|
5263
|
+
"type": "boolean"
|
5264
|
+
},
|
5262
5265
|
"includeExperience": {
|
5263
5266
|
"type": "boolean"
|
5264
5267
|
},
|
@@ -5301,7 +5304,7 @@
|
|
5301
5304
|
},
|
5302
5305
|
"reportConfigs": {
|
5303
5306
|
"type": "array",
|
5304
|
-
"
|
5307
|
+
"maxItems": 10,
|
5305
5308
|
"items": {
|
5306
5309
|
"type": "object",
|
5307
5310
|
"properties": {
|
@@ -5315,8 +5318,8 @@
|
|
5315
5318
|
},
|
5316
5319
|
"toEmail": {
|
5317
5320
|
"type": "array",
|
5318
|
-
"
|
5319
|
-
"
|
5321
|
+
"minItems": 1,
|
5322
|
+
"maxItems": 10,
|
5320
5323
|
"items": {
|
5321
5324
|
"type": "string",
|
5322
5325
|
"format": "email",
|
@@ -5341,6 +5344,10 @@
|
|
5341
5344
|
"timezone": {
|
5342
5345
|
"type": "string",
|
5343
5346
|
"maxLength": 255
|
5347
|
+
},
|
5348
|
+
"locale": {
|
5349
|
+
"type": "string",
|
5350
|
+
"maxLength": 5
|
5344
5351
|
}
|
5345
5352
|
},
|
5346
5353
|
"additionalProperties": false,
|
@@ -7,8 +7,8 @@
|
|
7
7
|
"properties": {
|
8
8
|
"toEmail": {
|
9
9
|
"type": "array",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"minItems": 1,
|
11
|
+
"maxItems": 10,
|
12
12
|
"items": {
|
13
13
|
"type": "string",
|
14
14
|
"format": "email",
|
@@ -17,11 +17,11 @@
|
|
17
17
|
},
|
18
18
|
"subject": {
|
19
19
|
"type": "string",
|
20
|
-
"
|
20
|
+
"maxLength": 255
|
21
21
|
},
|
22
22
|
"message": {
|
23
23
|
"type": "string",
|
24
|
-
"
|
24
|
+
"maxLength": 32767
|
25
25
|
},
|
26
26
|
"theme": {
|
27
27
|
"type": "string",
|
@@ -35,7 +35,11 @@
|
|
35
35
|
},
|
36
36
|
"timezone": {
|
37
37
|
"type": "string",
|
38
|
-
"
|
38
|
+
"maxLength": 255
|
39
|
+
},
|
40
|
+
"locale": {
|
41
|
+
"type": "string",
|
42
|
+
"maxLength": 5
|
39
43
|
}
|
40
44
|
},
|
41
45
|
"additionalProperties": false
|
data/schemas/dashboards.json
CHANGED
@@ -83,7 +83,7 @@
|
|
83
83
|
},
|
84
84
|
"reportConfigs": {
|
85
85
|
"type": "array",
|
86
|
-
"
|
86
|
+
"maxItems": 10,
|
87
87
|
"items": {
|
88
88
|
"type": "object",
|
89
89
|
"properties": {
|
@@ -97,8 +97,8 @@
|
|
97
97
|
},
|
98
98
|
"toEmail": {
|
99
99
|
"type": "array",
|
100
|
-
"
|
101
|
-
"
|
100
|
+
"minItems": 1,
|
101
|
+
"maxItems": 10,
|
102
102
|
"items": {
|
103
103
|
"type": "string",
|
104
104
|
"format": "email",
|
@@ -123,6 +123,10 @@
|
|
123
123
|
"timezone": {
|
124
124
|
"type": "string",
|
125
125
|
"maxLength": 255
|
126
|
+
},
|
127
|
+
"locale": {
|
128
|
+
"type": "string",
|
129
|
+
"maxLength": 5
|
126
130
|
}
|
127
131
|
},
|
128
132
|
"additionalProperties": false,
|
@@ -255,7 +259,7 @@
|
|
255
259
|
},
|
256
260
|
{
|
257
261
|
"type": "string",
|
258
|
-
"maxLength":
|
262
|
+
"maxLength": 128
|
259
263
|
}
|
260
264
|
]
|
261
265
|
},
|
@@ -266,7 +270,7 @@
|
|
266
270
|
},
|
267
271
|
{
|
268
272
|
"type": "string",
|
269
|
-
"maxLength":
|
273
|
+
"maxLength": 128
|
270
274
|
}
|
271
275
|
]
|
272
276
|
},
|
@@ -1707,7 +1711,7 @@
|
|
1707
1711
|
},
|
1708
1712
|
{
|
1709
1713
|
"type": "string",
|
1710
|
-
"maxLength":
|
1714
|
+
"maxLength": 128
|
1711
1715
|
}
|
1712
1716
|
]
|
1713
1717
|
},
|
@@ -1718,7 +1722,7 @@
|
|
1718
1722
|
},
|
1719
1723
|
{
|
1720
1724
|
"type": "string",
|
1721
|
-
"maxLength":
|
1725
|
+
"maxLength": 128
|
1722
1726
|
}
|
1723
1727
|
]
|
1724
1728
|
},
|
@@ -1739,7 +1743,7 @@
|
|
1739
1743
|
},
|
1740
1744
|
{
|
1741
1745
|
"type": "string",
|
1742
|
-
"maxLength":
|
1746
|
+
"maxLength": 128
|
1743
1747
|
}
|
1744
1748
|
]
|
1745
1749
|
},
|
@@ -2202,7 +2206,7 @@
|
|
2202
2206
|
},
|
2203
2207
|
{
|
2204
2208
|
"type": "string",
|
2205
|
-
"maxLength":
|
2209
|
+
"maxLength": 128
|
2206
2210
|
}
|
2207
2211
|
]
|
2208
2212
|
},
|
@@ -2213,7 +2217,7 @@
|
|
2213
2217
|
},
|
2214
2218
|
{
|
2215
2219
|
"type": "string",
|
2216
|
-
"maxLength":
|
2220
|
+
"maxLength": 128
|
2217
2221
|
}
|
2218
2222
|
]
|
2219
2223
|
},
|
@@ -2360,7 +2364,7 @@
|
|
2360
2364
|
},
|
2361
2365
|
{
|
2362
2366
|
"type": "string",
|
2363
|
-
"maxLength":
|
2367
|
+
"maxLength": 128
|
2364
2368
|
}
|
2365
2369
|
]
|
2366
2370
|
},
|
@@ -3135,7 +3139,7 @@
|
|
3135
3139
|
},
|
3136
3140
|
{
|
3137
3141
|
"type": "string",
|
3138
|
-
"maxLength":
|
3142
|
+
"maxLength": 128
|
3139
3143
|
}
|
3140
3144
|
]
|
3141
3145
|
},
|
@@ -3146,7 +3150,7 @@
|
|
3146
3150
|
},
|
3147
3151
|
{
|
3148
3152
|
"type": "string",
|
3149
|
-
"maxLength":
|
3153
|
+
"maxLength": 128
|
3150
3154
|
}
|
3151
3155
|
]
|
3152
3156
|
},
|
@@ -3160,8 +3164,8 @@
|
|
3160
3164
|
},
|
3161
3165
|
"length": {
|
3162
3166
|
"type": "integer",
|
3163
|
-
"
|
3164
|
-
"
|
3167
|
+
"minimum": 1,
|
3168
|
+
"maximum": 10
|
3165
3169
|
},
|
3166
3170
|
"orientation": {
|
3167
3171
|
"type": "string",
|
@@ -3754,7 +3758,7 @@
|
|
3754
3758
|
},
|
3755
3759
|
{
|
3756
3760
|
"type": "string",
|
3757
|
-
"maxLength":
|
3761
|
+
"maxLength": 128
|
3758
3762
|
}
|
3759
3763
|
]
|
3760
3764
|
},
|
@@ -3765,7 +3769,7 @@
|
|
3765
3769
|
},
|
3766
3770
|
{
|
3767
3771
|
"type": "string",
|
3768
|
-
"maxLength":
|
3772
|
+
"maxLength": 128
|
3769
3773
|
}
|
3770
3774
|
]
|
3771
3775
|
},
|
@@ -3776,7 +3780,7 @@
|
|
3776
3780
|
},
|
3777
3781
|
{
|
3778
3782
|
"type": "string",
|
3779
|
-
"maxLength":
|
3783
|
+
"maxLength": 128
|
3780
3784
|
}
|
3781
3785
|
]
|
3782
3786
|
},
|
@@ -3787,7 +3791,7 @@
|
|
3787
3791
|
},
|
3788
3792
|
{
|
3789
3793
|
"type": "string",
|
3790
|
-
"maxLength":
|
3794
|
+
"maxLength": 128
|
3791
3795
|
}
|
3792
3796
|
]
|
3793
3797
|
}
|
@@ -4634,7 +4638,7 @@
|
|
4634
4638
|
},
|
4635
4639
|
{
|
4636
4640
|
"type": "string",
|
4637
|
-
"maxLength":
|
4641
|
+
"maxLength": 128
|
4638
4642
|
}
|
4639
4643
|
]
|
4640
4644
|
},
|
@@ -5145,7 +5149,7 @@
|
|
5145
5149
|
},
|
5146
5150
|
{
|
5147
5151
|
"type": "string",
|
5148
|
-
"maxLength":
|
5152
|
+
"maxLength": 128
|
5149
5153
|
}
|
5150
5154
|
]
|
5151
5155
|
},
|
@@ -5376,6 +5380,9 @@
|
|
5376
5380
|
"includeEdge": {
|
5377
5381
|
"type": "boolean"
|
5378
5382
|
},
|
5383
|
+
"includeEmbedded": {
|
5384
|
+
"type": "boolean"
|
5385
|
+
},
|
5379
5386
|
"includeExperience": {
|
5380
5387
|
"type": "boolean"
|
5381
5388
|
},
|
data/schemas/device.json
CHANGED
data/schemas/devicePatch.json
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"deviceCommand": {
|
6
|
+
"type": "number"
|
7
|
+
},
|
8
|
+
"deviceConnect": {
|
9
|
+
"type": "number"
|
10
|
+
},
|
11
|
+
"deviceDisconnect": {
|
12
|
+
"type": "number"
|
13
|
+
},
|
14
|
+
"deviceState": {
|
15
|
+
"type": "number"
|
16
|
+
},
|
17
|
+
"mqttIn": {
|
18
|
+
"type": "number"
|
19
|
+
},
|
20
|
+
"mqttOut": {
|
21
|
+
"type": "number"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|