losant_rest 1.14.0 → 1.15.2
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/docs/_schemas.md +10590 -3153
- data/docs/devices.md +40 -0
- data/docs/embeddedDeployment.md +49 -0
- data/docs/embeddedDeployments.md +215 -0
- data/docs/flow.md +2 -2
- data/docs/flows.md +2 -2
- data/docs/instance.md +4 -2
- data/lib/losant_rest/application.rb +1 -1
- data/lib/losant_rest/application_api_token.rb +1 -1
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- 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 +1 -1
- data/lib/losant_rest/application_dashboards.rb +1 -1
- data/lib/losant_rest/application_key.rb +1 -1
- data/lib/losant_rest/application_keys.rb +1 -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 +1 -1
- 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 +11 -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 +1 -1
- data/lib/losant_rest/data_table_row.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 +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 +50 -1
- data/lib/losant_rest/edge_deployment.rb +1 -1
- data/lib/losant_rest/edge_deployments.rb +1 -1
- data/lib/losant_rest/embedded_deployment.rb +81 -0
- data/lib/losant_rest/embedded_deployments.rb +280 -0
- data/lib/losant_rest/error.rb +1 -1
- data/lib/losant_rest/event.rb +1 -1
- data/lib/losant_rest/events.rb +1 -1
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domain.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_endpoint.rb +1 -1
- data/lib/losant_rest/experience_endpoints.rb +1 -1
- data/lib/losant_rest/experience_group.rb +1 -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 +1 -1
- 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 +1 -1
- data/lib/losant_rest/experience_versions.rb +1 -1
- data/lib/losant_rest/experience_view.rb +1 -1
- data/lib/losant_rest/experience_views.rb +1 -1
- data/lib/losant_rest/file.rb +1 -1
- data/lib/losant_rest/files.rb +1 -1
- data/lib/losant_rest/flow.rb +3 -3
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +1 -1
- data/lib/losant_rest/flows.rb +3 -3
- data/lib/losant_rest/instance.rb +2 -1
- data/lib/losant_rest/instance_api_token.rb +1 -1
- data/lib/losant_rest/instance_api_tokens.rb +1 -1
- data/lib/losant_rest/instance_member.rb +1 -1
- data/lib/losant_rest/instance_members.rb +1 -1
- data/lib/losant_rest/instance_org.rb +1 -1
- data/lib/losant_rest/instance_org_invite.rb +1 -1
- data/lib/losant_rest/instance_org_invites.rb +1 -1
- data/lib/losant_rest/instance_org_member.rb +1 -1
- data/lib/losant_rest/instance_org_members.rb +1 -1
- data/lib/losant_rest/instance_orgs.rb +1 -1
- data/lib/losant_rest/instances.rb +1 -1
- data/lib/losant_rest/integration.rb +1 -1
- data/lib/losant_rest/integrations.rb +1 -1
- data/lib/losant_rest/me.rb +1 -1
- data/lib/losant_rest/notebook.rb +1 -1
- data/lib/losant_rest/notebooks.rb +1 -1
- data/lib/losant_rest/org.rb +1 -1
- 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 +1 -1
- data/lib/losant_rest/user_api_tokens.rb +1 -1
- data/lib/losant_rest/utils.rb +1 -1
- data/lib/losant_rest/version.rb +2 -2
- data/lib/losant_rest/webhook.rb +1 -1
- data/lib/losant_rest/webhooks.rb +1 -1
- data/lib/losant_rest.rb +3 -1
- data/schemas/apiTokenPost.json +9 -0
- data/schemas/application.json +32 -32
- data/schemas/applicationCreationByTemplateResult.json +32 -32
- data/schemas/applicationDashboardPost.json +8 -5
- 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/authedDevice.json +2 -1
- data/schemas/dashboard.json +8 -5
- data/schemas/dashboardPatch.json +8 -5
- data/schemas/dashboardPost.json +8 -5
- data/schemas/dashboardSendReport.json +6 -6
- data/schemas/dashboards.json +8 -5
- data/schemas/dataTableRowsDelete.json +1 -1
- data/schemas/device.json +2 -1
- data/schemas/deviceClassFilter.json +4 -2
- data/schemas/deviceNamesResponse.json +36 -0
- data/schemas/devicePatch.json +2 -1
- 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/devicesPatch.json +4 -2
- data/schemas/edgeDeployment.json +4 -0
- data/schemas/edgeDeployments.json +4 -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/eventsExport.json +4 -0
- 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/experienceLinkedResources.json +1292 -167
- data/schemas/flow.json +391 -15
- data/schemas/flowPatch.json +390 -15
- data/schemas/flowPost.json +391 -15
- data/schemas/flowVersion.json +821 -71
- data/schemas/flowVersionPost.json +390 -15
- data/schemas/flowVersions.json +821 -71
- data/schemas/flows.json +392 -15
- data/schemas/flowsImportPost.json +821 -70
- data/schemas/flowsImportResult.json +1392 -266
- data/schemas/githubLogin.json +9 -0
- data/schemas/historicalSummary.json +87 -74
- data/schemas/instance.json +92 -79
- data/schemas/instanceMember.json +6 -1
- data/schemas/instanceMembers.json +6 -1
- data/schemas/instanceOrg.json +87 -74
- data/schemas/instanceOrgMember.json +6 -1
- data/schemas/instanceOrgPatch.json +64 -26
- data/schemas/instanceOrgPost.json +65 -27
- data/schemas/instanceOrgs.json +87 -74
- data/schemas/instancePatch.json +2 -2
- data/schemas/integration.json +1 -1
- data/schemas/integrationPatch.json +1 -1
- data/schemas/integrationPost.json +1 -1
- data/schemas/integrations.json +1 -1
- data/schemas/me.json +104 -92
- data/schemas/mePatch.json +0 -1
- data/schemas/notebook.json +2 -1
- data/schemas/notebookExecutionLogs.json +2 -1
- data/schemas/notebookPatch.json +2 -1
- data/schemas/notebookPost.json +2 -1
- data/schemas/notebooks.json +2 -1
- data/schemas/org.json +115 -97
- data/schemas/orgs.json +115 -97
- data/schemas/userCredentials.json +9 -0
- data/schemas/userPost.json +9 -1
- metadata +17 -6
data/schemas/flowPatch.json
CHANGED
@@ -62,7 +62,6 @@
|
|
62
62
|
"onBoot",
|
63
63
|
"onConnect",
|
64
64
|
"onDisconnect",
|
65
|
-
"request",
|
66
65
|
"udp",
|
67
66
|
"webhook"
|
68
67
|
]
|
@@ -87,6 +86,7 @@
|
|
87
86
|
"deviceCommand",
|
88
87
|
"deviceIdsTagsConnect",
|
89
88
|
"deviceIdsTagsDisconnect",
|
89
|
+
"eeaInit",
|
90
90
|
"flowError",
|
91
91
|
"googlePubSub",
|
92
92
|
"meridian",
|
@@ -96,7 +96,6 @@
|
|
96
96
|
"onConnect",
|
97
97
|
"onDisconnect",
|
98
98
|
"particle",
|
99
|
-
"request",
|
100
99
|
"udp",
|
101
100
|
"webhook"
|
102
101
|
]
|
@@ -151,7 +150,8 @@
|
|
151
150
|
"type": "array",
|
152
151
|
"items": {
|
153
152
|
"type": "string",
|
154
|
-
"maxLength":
|
153
|
+
"maxLength": 48,
|
154
|
+
"minLength": 1
|
155
155
|
},
|
156
156
|
"maxItems": 100
|
157
157
|
},
|
@@ -255,7 +255,8 @@
|
|
255
255
|
"type": "array",
|
256
256
|
"items": {
|
257
257
|
"type": "string",
|
258
|
-
"maxLength":
|
258
|
+
"maxLength": 48,
|
259
|
+
"minLength": 1
|
259
260
|
},
|
260
261
|
"maxItems": 100
|
261
262
|
},
|
@@ -399,7 +400,8 @@
|
|
399
400
|
"type": "array",
|
400
401
|
"items": {
|
401
402
|
"type": "string",
|
402
|
-
"maxLength":
|
403
|
+
"maxLength": 48,
|
404
|
+
"minLength": 1
|
403
405
|
},
|
404
406
|
"maxItems": 100
|
405
407
|
},
|
@@ -495,8 +497,101 @@
|
|
495
497
|
"type": "array",
|
496
498
|
"items": {
|
497
499
|
"type": "string",
|
500
|
+
"maxLength": 48,
|
501
|
+
"minLength": 1
|
502
|
+
},
|
503
|
+
"maxItems": 100
|
504
|
+
},
|
505
|
+
"maxItems": 100
|
506
|
+
}
|
507
|
+
},
|
508
|
+
"required": [
|
509
|
+
"type"
|
510
|
+
],
|
511
|
+
"additionalProperties": false
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"type": "object",
|
515
|
+
"properties": {
|
516
|
+
"key": {
|
517
|
+
"type": "string",
|
518
|
+
"maxLength": 1024
|
519
|
+
},
|
520
|
+
"type": {
|
521
|
+
"type": "string",
|
522
|
+
"enum": [
|
523
|
+
"direct"
|
524
|
+
]
|
525
|
+
},
|
526
|
+
"config": {
|
527
|
+
"type": "object",
|
528
|
+
"properties": {},
|
529
|
+
"additionalProperties": false
|
530
|
+
},
|
531
|
+
"meta": {
|
532
|
+
"type": "object",
|
533
|
+
"properties": {
|
534
|
+
"category": {
|
535
|
+
"type": "string",
|
536
|
+
"enum": [
|
537
|
+
"trigger"
|
538
|
+
]
|
539
|
+
},
|
540
|
+
"name": {
|
541
|
+
"type": "string",
|
542
|
+
"enum": [
|
543
|
+
"direct"
|
544
|
+
]
|
545
|
+
},
|
546
|
+
"label": {
|
547
|
+
"type": "string",
|
548
|
+
"minLength": 1,
|
498
549
|
"maxLength": 255
|
499
550
|
},
|
551
|
+
"x": {
|
552
|
+
"type": "number"
|
553
|
+
},
|
554
|
+
"y": {
|
555
|
+
"type": "number"
|
556
|
+
},
|
557
|
+
"uiId": {
|
558
|
+
"type": "string",
|
559
|
+
"maxLength": 48
|
560
|
+
},
|
561
|
+
"description": {
|
562
|
+
"type": "string",
|
563
|
+
"maxLength": 32767
|
564
|
+
},
|
565
|
+
"icon": {
|
566
|
+
"type": "string",
|
567
|
+
"maxLength": 1024
|
568
|
+
},
|
569
|
+
"color": {
|
570
|
+
"type": "string",
|
571
|
+
"maxLength": 1024
|
572
|
+
},
|
573
|
+
"inputCount": {
|
574
|
+
"type": "number"
|
575
|
+
},
|
576
|
+
"outputCount": {
|
577
|
+
"type": "number"
|
578
|
+
},
|
579
|
+
"id": {
|
580
|
+
"type": "string",
|
581
|
+
"maxLength": 48
|
582
|
+
}
|
583
|
+
},
|
584
|
+
"additionalProperties": false
|
585
|
+
},
|
586
|
+
"outputIds": {
|
587
|
+
"type": "array",
|
588
|
+
"items": {
|
589
|
+
"type": "array",
|
590
|
+
"items": {
|
591
|
+
"type": "string",
|
592
|
+
"maxLength": 48,
|
593
|
+
"minLength": 1
|
594
|
+
},
|
500
595
|
"maxItems": 100
|
501
596
|
},
|
502
597
|
"maxItems": 100
|
@@ -592,7 +687,8 @@
|
|
592
687
|
"type": "array",
|
593
688
|
"items": {
|
594
689
|
"type": "string",
|
595
|
-
"maxLength":
|
690
|
+
"maxLength": 48,
|
691
|
+
"minLength": 1
|
596
692
|
},
|
597
693
|
"maxItems": 100
|
598
694
|
},
|
@@ -697,7 +793,8 @@
|
|
697
793
|
"type": "array",
|
698
794
|
"items": {
|
699
795
|
"type": "string",
|
700
|
-
"maxLength":
|
796
|
+
"maxLength": 48,
|
797
|
+
"minLength": 1
|
701
798
|
},
|
702
799
|
"maxItems": 100
|
703
800
|
},
|
@@ -805,7 +902,8 @@
|
|
805
902
|
"type": "array",
|
806
903
|
"items": {
|
807
904
|
"type": "string",
|
808
|
-
"maxLength":
|
905
|
+
"maxLength": 48,
|
906
|
+
"minLength": 1
|
809
907
|
},
|
810
908
|
"maxItems": 100
|
811
909
|
},
|
@@ -916,7 +1014,8 @@
|
|
916
1014
|
"type": "array",
|
917
1015
|
"items": {
|
918
1016
|
"type": "string",
|
919
|
-
"maxLength":
|
1017
|
+
"maxLength": 48,
|
1018
|
+
"minLength": 1
|
920
1019
|
},
|
921
1020
|
"maxItems": 100
|
922
1021
|
},
|
@@ -1017,7 +1116,8 @@
|
|
1017
1116
|
"type": "array",
|
1018
1117
|
"items": {
|
1019
1118
|
"type": "string",
|
1020
|
-
"maxLength":
|
1119
|
+
"maxLength": 48,
|
1120
|
+
"minLength": 1
|
1021
1121
|
},
|
1022
1122
|
"maxItems": 100
|
1023
1123
|
},
|
@@ -1120,7 +1220,8 @@
|
|
1120
1220
|
"type": "array",
|
1121
1221
|
"items": {
|
1122
1222
|
"type": "string",
|
1123
|
-
"maxLength":
|
1223
|
+
"maxLength": 48,
|
1224
|
+
"minLength": 1
|
1124
1225
|
},
|
1125
1226
|
"maxItems": 100
|
1126
1227
|
},
|
@@ -1260,7 +1361,8 @@
|
|
1260
1361
|
"type": "array",
|
1261
1362
|
"items": {
|
1262
1363
|
"type": "string",
|
1263
|
-
"maxLength":
|
1364
|
+
"maxLength": 48,
|
1365
|
+
"minLength": 1
|
1264
1366
|
},
|
1265
1367
|
"maxItems": 100
|
1266
1368
|
},
|
@@ -1383,8 +1485,122 @@
|
|
1383
1485
|
"type": "array",
|
1384
1486
|
"items": {
|
1385
1487
|
"type": "string",
|
1488
|
+
"maxLength": 48,
|
1489
|
+
"minLength": 1
|
1490
|
+
},
|
1491
|
+
"maxItems": 100
|
1492
|
+
},
|
1493
|
+
"maxItems": 100
|
1494
|
+
}
|
1495
|
+
},
|
1496
|
+
"required": [
|
1497
|
+
"type"
|
1498
|
+
],
|
1499
|
+
"additionalProperties": false
|
1500
|
+
},
|
1501
|
+
{
|
1502
|
+
"type": "object",
|
1503
|
+
"properties": {
|
1504
|
+
"key": {
|
1505
|
+
"type": "string",
|
1506
|
+
"maxLength": 1024
|
1507
|
+
},
|
1508
|
+
"type": {
|
1509
|
+
"type": "string",
|
1510
|
+
"enum": [
|
1511
|
+
"request"
|
1512
|
+
]
|
1513
|
+
},
|
1514
|
+
"config": {
|
1515
|
+
"type": "object",
|
1516
|
+
"properties": {
|
1517
|
+
"method": {
|
1518
|
+
"type": "string",
|
1519
|
+
"enum": [
|
1520
|
+
"*",
|
1521
|
+
"delete",
|
1522
|
+
"get",
|
1523
|
+
"options",
|
1524
|
+
"patch",
|
1525
|
+
"post",
|
1526
|
+
"put"
|
1527
|
+
]
|
1528
|
+
},
|
1529
|
+
"route": {
|
1530
|
+
"type": "string",
|
1531
|
+
"maxLength": 1024
|
1532
|
+
}
|
1533
|
+
},
|
1534
|
+
"additionalProperties": false
|
1535
|
+
},
|
1536
|
+
"meta": {
|
1537
|
+
"type": "object",
|
1538
|
+
"properties": {
|
1539
|
+
"category": {
|
1540
|
+
"type": "string",
|
1541
|
+
"enum": [
|
1542
|
+
"trigger"
|
1543
|
+
]
|
1544
|
+
},
|
1545
|
+
"name": {
|
1546
|
+
"type": "string",
|
1547
|
+
"enum": [
|
1548
|
+
"request"
|
1549
|
+
]
|
1550
|
+
},
|
1551
|
+
"label": {
|
1552
|
+
"type": "string",
|
1553
|
+
"minLength": 1,
|
1386
1554
|
"maxLength": 255
|
1387
1555
|
},
|
1556
|
+
"x": {
|
1557
|
+
"type": "number"
|
1558
|
+
},
|
1559
|
+
"y": {
|
1560
|
+
"type": "number"
|
1561
|
+
},
|
1562
|
+
"uiId": {
|
1563
|
+
"type": "string",
|
1564
|
+
"maxLength": 48
|
1565
|
+
},
|
1566
|
+
"description": {
|
1567
|
+
"type": "string",
|
1568
|
+
"maxLength": 32767
|
1569
|
+
},
|
1570
|
+
"icon": {
|
1571
|
+
"type": "string",
|
1572
|
+
"maxLength": 1024
|
1573
|
+
},
|
1574
|
+
"color": {
|
1575
|
+
"type": "string",
|
1576
|
+
"maxLength": 1024
|
1577
|
+
},
|
1578
|
+
"inputCount": {
|
1579
|
+
"type": "number"
|
1580
|
+
},
|
1581
|
+
"outputCount": {
|
1582
|
+
"type": "number"
|
1583
|
+
},
|
1584
|
+
"triggerId": {
|
1585
|
+
"type": "string",
|
1586
|
+
"maxLength": 48
|
1587
|
+
},
|
1588
|
+
"id": {
|
1589
|
+
"type": "string",
|
1590
|
+
"maxLength": 48
|
1591
|
+
}
|
1592
|
+
},
|
1593
|
+
"additionalProperties": false
|
1594
|
+
},
|
1595
|
+
"outputIds": {
|
1596
|
+
"type": "array",
|
1597
|
+
"items": {
|
1598
|
+
"type": "array",
|
1599
|
+
"items": {
|
1600
|
+
"type": "string",
|
1601
|
+
"maxLength": 48,
|
1602
|
+
"minLength": 1
|
1603
|
+
},
|
1388
1604
|
"maxItems": 100
|
1389
1605
|
},
|
1390
1606
|
"maxItems": 100
|
@@ -1526,8 +1742,164 @@
|
|
1526
1742
|
"type": "array",
|
1527
1743
|
"items": {
|
1528
1744
|
"type": "string",
|
1745
|
+
"maxLength": 48,
|
1746
|
+
"minLength": 1
|
1747
|
+
},
|
1748
|
+
"maxItems": 100
|
1749
|
+
},
|
1750
|
+
"maxItems": 100
|
1751
|
+
}
|
1752
|
+
},
|
1753
|
+
"required": [
|
1754
|
+
"type"
|
1755
|
+
],
|
1756
|
+
"additionalProperties": false
|
1757
|
+
},
|
1758
|
+
{
|
1759
|
+
"type": "object",
|
1760
|
+
"properties": {
|
1761
|
+
"key": {
|
1762
|
+
"type": "string",
|
1763
|
+
"maxLength": 1024
|
1764
|
+
},
|
1765
|
+
"type": {
|
1766
|
+
"type": "string",
|
1767
|
+
"enum": [
|
1768
|
+
"snmpTrap"
|
1769
|
+
]
|
1770
|
+
},
|
1771
|
+
"config": {
|
1772
|
+
"type": "object",
|
1773
|
+
"properties": {
|
1774
|
+
"udpPort": {
|
1775
|
+
"type": "string",
|
1776
|
+
"maxLength": 5
|
1777
|
+
},
|
1778
|
+
"snmpTrapConfig": {
|
1779
|
+
"type": "object",
|
1780
|
+
"properties": {
|
1781
|
+
"community": {
|
1782
|
+
"type": "string",
|
1783
|
+
"maxLength": 1024
|
1784
|
+
},
|
1785
|
+
"user": {
|
1786
|
+
"type": "object",
|
1787
|
+
"properties": {
|
1788
|
+
"name": {
|
1789
|
+
"type": "string",
|
1790
|
+
"maxLength": 1024
|
1791
|
+
},
|
1792
|
+
"securityLevel": {
|
1793
|
+
"type": "string",
|
1794
|
+
"enum": [
|
1795
|
+
"none",
|
1796
|
+
"auth",
|
1797
|
+
"authAndEncrypt"
|
1798
|
+
]
|
1799
|
+
},
|
1800
|
+
"authMethod": {
|
1801
|
+
"type": "string",
|
1802
|
+
"enum": [
|
1803
|
+
"sha",
|
1804
|
+
"md5"
|
1805
|
+
]
|
1806
|
+
},
|
1807
|
+
"authKey": {
|
1808
|
+
"type": "string",
|
1809
|
+
"maxLength": 1024
|
1810
|
+
},
|
1811
|
+
"encryptionMethod": {
|
1812
|
+
"type": "string",
|
1813
|
+
"enum": [
|
1814
|
+
"aes",
|
1815
|
+
"des"
|
1816
|
+
]
|
1817
|
+
},
|
1818
|
+
"encryptionKey": {
|
1819
|
+
"type": "string",
|
1820
|
+
"maxLength": 1024
|
1821
|
+
}
|
1822
|
+
},
|
1823
|
+
"required": [
|
1824
|
+
"name",
|
1825
|
+
"securityLevel"
|
1826
|
+
],
|
1827
|
+
"additionalProperties": false
|
1828
|
+
}
|
1829
|
+
},
|
1830
|
+
"additionalProperties": false
|
1831
|
+
}
|
1832
|
+
},
|
1833
|
+
"required": [
|
1834
|
+
"udpPort",
|
1835
|
+
"snmpTrapConfig"
|
1836
|
+
],
|
1837
|
+
"additionalProperties": false
|
1838
|
+
},
|
1839
|
+
"meta": {
|
1840
|
+
"type": "object",
|
1841
|
+
"properties": {
|
1842
|
+
"category": {
|
1843
|
+
"type": "string",
|
1844
|
+
"enum": [
|
1845
|
+
"trigger"
|
1846
|
+
]
|
1847
|
+
},
|
1848
|
+
"name": {
|
1849
|
+
"type": "string",
|
1850
|
+
"enum": [
|
1851
|
+
"snmpTrap"
|
1852
|
+
]
|
1853
|
+
},
|
1854
|
+
"label": {
|
1855
|
+
"type": "string",
|
1856
|
+
"minLength": 1,
|
1529
1857
|
"maxLength": 255
|
1530
1858
|
},
|
1859
|
+
"x": {
|
1860
|
+
"type": "number"
|
1861
|
+
},
|
1862
|
+
"y": {
|
1863
|
+
"type": "number"
|
1864
|
+
},
|
1865
|
+
"uiId": {
|
1866
|
+
"type": "string",
|
1867
|
+
"maxLength": 48
|
1868
|
+
},
|
1869
|
+
"description": {
|
1870
|
+
"type": "string",
|
1871
|
+
"maxLength": 32767
|
1872
|
+
},
|
1873
|
+
"icon": {
|
1874
|
+
"type": "string",
|
1875
|
+
"maxLength": 1024
|
1876
|
+
},
|
1877
|
+
"color": {
|
1878
|
+
"type": "string",
|
1879
|
+
"maxLength": 1024
|
1880
|
+
},
|
1881
|
+
"inputCount": {
|
1882
|
+
"type": "number"
|
1883
|
+
},
|
1884
|
+
"outputCount": {
|
1885
|
+
"type": "number"
|
1886
|
+
},
|
1887
|
+
"id": {
|
1888
|
+
"type": "string",
|
1889
|
+
"maxLength": 48
|
1890
|
+
}
|
1891
|
+
},
|
1892
|
+
"additionalProperties": false
|
1893
|
+
},
|
1894
|
+
"outputIds": {
|
1895
|
+
"type": "array",
|
1896
|
+
"items": {
|
1897
|
+
"type": "array",
|
1898
|
+
"items": {
|
1899
|
+
"type": "string",
|
1900
|
+
"maxLength": 48,
|
1901
|
+
"minLength": 1
|
1902
|
+
},
|
1531
1903
|
"maxItems": 100
|
1532
1904
|
},
|
1533
1905
|
"maxItems": 100
|
@@ -1652,7 +2024,8 @@
|
|
1652
2024
|
"type": "array",
|
1653
2025
|
"items": {
|
1654
2026
|
"type": "string",
|
1655
|
-
"maxLength":
|
2027
|
+
"maxLength": 48,
|
2028
|
+
"minLength": 1
|
1656
2029
|
},
|
1657
2030
|
"maxItems": 100
|
1658
2031
|
},
|
@@ -1767,7 +2140,8 @@
|
|
1767
2140
|
"type": "array",
|
1768
2141
|
"items": {
|
1769
2142
|
"type": "string",
|
1770
|
-
"maxLength":
|
2143
|
+
"maxLength": 48,
|
2144
|
+
"minLength": 1
|
1771
2145
|
},
|
1772
2146
|
"maxItems": 100
|
1773
2147
|
},
|
@@ -1808,7 +2182,8 @@
|
|
1808
2182
|
"type": "array",
|
1809
2183
|
"items": {
|
1810
2184
|
"type": "string",
|
1811
|
-
"maxLength":
|
2185
|
+
"maxLength": 48,
|
2186
|
+
"minLength": 1
|
1812
2187
|
},
|
1813
2188
|
"maxItems": 100
|
1814
2189
|
},
|