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
@@ -39,7 +39,6 @@
|
|
39
39
|
"onBoot",
|
40
40
|
"onConnect",
|
41
41
|
"onDisconnect",
|
42
|
-
"request",
|
43
42
|
"udp",
|
44
43
|
"webhook"
|
45
44
|
]
|
@@ -64,6 +63,7 @@
|
|
64
63
|
"deviceCommand",
|
65
64
|
"deviceIdsTagsConnect",
|
66
65
|
"deviceIdsTagsDisconnect",
|
66
|
+
"eeaInit",
|
67
67
|
"flowError",
|
68
68
|
"googlePubSub",
|
69
69
|
"meridian",
|
@@ -73,7 +73,6 @@
|
|
73
73
|
"onConnect",
|
74
74
|
"onDisconnect",
|
75
75
|
"particle",
|
76
|
-
"request",
|
77
76
|
"udp",
|
78
77
|
"webhook"
|
79
78
|
]
|
@@ -128,7 +127,8 @@
|
|
128
127
|
"type": "array",
|
129
128
|
"items": {
|
130
129
|
"type": "string",
|
131
|
-
"maxLength":
|
130
|
+
"maxLength": 48,
|
131
|
+
"minLength": 1
|
132
132
|
},
|
133
133
|
"maxItems": 100
|
134
134
|
},
|
@@ -232,7 +232,8 @@
|
|
232
232
|
"type": "array",
|
233
233
|
"items": {
|
234
234
|
"type": "string",
|
235
|
-
"maxLength":
|
235
|
+
"maxLength": 48,
|
236
|
+
"minLength": 1
|
236
237
|
},
|
237
238
|
"maxItems": 100
|
238
239
|
},
|
@@ -376,7 +377,8 @@
|
|
376
377
|
"type": "array",
|
377
378
|
"items": {
|
378
379
|
"type": "string",
|
379
|
-
"maxLength":
|
380
|
+
"maxLength": 48,
|
381
|
+
"minLength": 1
|
380
382
|
},
|
381
383
|
"maxItems": 100
|
382
384
|
},
|
@@ -472,8 +474,101 @@
|
|
472
474
|
"type": "array",
|
473
475
|
"items": {
|
474
476
|
"type": "string",
|
477
|
+
"maxLength": 48,
|
478
|
+
"minLength": 1
|
479
|
+
},
|
480
|
+
"maxItems": 100
|
481
|
+
},
|
482
|
+
"maxItems": 100
|
483
|
+
}
|
484
|
+
},
|
485
|
+
"required": [
|
486
|
+
"type"
|
487
|
+
],
|
488
|
+
"additionalProperties": false
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"type": "object",
|
492
|
+
"properties": {
|
493
|
+
"key": {
|
494
|
+
"type": "string",
|
495
|
+
"maxLength": 1024
|
496
|
+
},
|
497
|
+
"type": {
|
498
|
+
"type": "string",
|
499
|
+
"enum": [
|
500
|
+
"direct"
|
501
|
+
]
|
502
|
+
},
|
503
|
+
"config": {
|
504
|
+
"type": "object",
|
505
|
+
"properties": {},
|
506
|
+
"additionalProperties": false
|
507
|
+
},
|
508
|
+
"meta": {
|
509
|
+
"type": "object",
|
510
|
+
"properties": {
|
511
|
+
"category": {
|
512
|
+
"type": "string",
|
513
|
+
"enum": [
|
514
|
+
"trigger"
|
515
|
+
]
|
516
|
+
},
|
517
|
+
"name": {
|
518
|
+
"type": "string",
|
519
|
+
"enum": [
|
520
|
+
"direct"
|
521
|
+
]
|
522
|
+
},
|
523
|
+
"label": {
|
524
|
+
"type": "string",
|
525
|
+
"minLength": 1,
|
475
526
|
"maxLength": 255
|
476
527
|
},
|
528
|
+
"x": {
|
529
|
+
"type": "number"
|
530
|
+
},
|
531
|
+
"y": {
|
532
|
+
"type": "number"
|
533
|
+
},
|
534
|
+
"uiId": {
|
535
|
+
"type": "string",
|
536
|
+
"maxLength": 48
|
537
|
+
},
|
538
|
+
"description": {
|
539
|
+
"type": "string",
|
540
|
+
"maxLength": 32767
|
541
|
+
},
|
542
|
+
"icon": {
|
543
|
+
"type": "string",
|
544
|
+
"maxLength": 1024
|
545
|
+
},
|
546
|
+
"color": {
|
547
|
+
"type": "string",
|
548
|
+
"maxLength": 1024
|
549
|
+
},
|
550
|
+
"inputCount": {
|
551
|
+
"type": "number"
|
552
|
+
},
|
553
|
+
"outputCount": {
|
554
|
+
"type": "number"
|
555
|
+
},
|
556
|
+
"id": {
|
557
|
+
"type": "string",
|
558
|
+
"maxLength": 48
|
559
|
+
}
|
560
|
+
},
|
561
|
+
"additionalProperties": false
|
562
|
+
},
|
563
|
+
"outputIds": {
|
564
|
+
"type": "array",
|
565
|
+
"items": {
|
566
|
+
"type": "array",
|
567
|
+
"items": {
|
568
|
+
"type": "string",
|
569
|
+
"maxLength": 48,
|
570
|
+
"minLength": 1
|
571
|
+
},
|
477
572
|
"maxItems": 100
|
478
573
|
},
|
479
574
|
"maxItems": 100
|
@@ -569,7 +664,8 @@
|
|
569
664
|
"type": "array",
|
570
665
|
"items": {
|
571
666
|
"type": "string",
|
572
|
-
"maxLength":
|
667
|
+
"maxLength": 48,
|
668
|
+
"minLength": 1
|
573
669
|
},
|
574
670
|
"maxItems": 100
|
575
671
|
},
|
@@ -674,7 +770,8 @@
|
|
674
770
|
"type": "array",
|
675
771
|
"items": {
|
676
772
|
"type": "string",
|
677
|
-
"maxLength":
|
773
|
+
"maxLength": 48,
|
774
|
+
"minLength": 1
|
678
775
|
},
|
679
776
|
"maxItems": 100
|
680
777
|
},
|
@@ -782,7 +879,8 @@
|
|
782
879
|
"type": "array",
|
783
880
|
"items": {
|
784
881
|
"type": "string",
|
785
|
-
"maxLength":
|
882
|
+
"maxLength": 48,
|
883
|
+
"minLength": 1
|
786
884
|
},
|
787
885
|
"maxItems": 100
|
788
886
|
},
|
@@ -893,7 +991,8 @@
|
|
893
991
|
"type": "array",
|
894
992
|
"items": {
|
895
993
|
"type": "string",
|
896
|
-
"maxLength":
|
994
|
+
"maxLength": 48,
|
995
|
+
"minLength": 1
|
897
996
|
},
|
898
997
|
"maxItems": 100
|
899
998
|
},
|
@@ -994,7 +1093,8 @@
|
|
994
1093
|
"type": "array",
|
995
1094
|
"items": {
|
996
1095
|
"type": "string",
|
997
|
-
"maxLength":
|
1096
|
+
"maxLength": 48,
|
1097
|
+
"minLength": 1
|
998
1098
|
},
|
999
1099
|
"maxItems": 100
|
1000
1100
|
},
|
@@ -1097,7 +1197,8 @@
|
|
1097
1197
|
"type": "array",
|
1098
1198
|
"items": {
|
1099
1199
|
"type": "string",
|
1100
|
-
"maxLength":
|
1200
|
+
"maxLength": 48,
|
1201
|
+
"minLength": 1
|
1101
1202
|
},
|
1102
1203
|
"maxItems": 100
|
1103
1204
|
},
|
@@ -1237,7 +1338,8 @@
|
|
1237
1338
|
"type": "array",
|
1238
1339
|
"items": {
|
1239
1340
|
"type": "string",
|
1240
|
-
"maxLength":
|
1341
|
+
"maxLength": 48,
|
1342
|
+
"minLength": 1
|
1241
1343
|
},
|
1242
1344
|
"maxItems": 100
|
1243
1345
|
},
|
@@ -1360,8 +1462,122 @@
|
|
1360
1462
|
"type": "array",
|
1361
1463
|
"items": {
|
1362
1464
|
"type": "string",
|
1465
|
+
"maxLength": 48,
|
1466
|
+
"minLength": 1
|
1467
|
+
},
|
1468
|
+
"maxItems": 100
|
1469
|
+
},
|
1470
|
+
"maxItems": 100
|
1471
|
+
}
|
1472
|
+
},
|
1473
|
+
"required": [
|
1474
|
+
"type"
|
1475
|
+
],
|
1476
|
+
"additionalProperties": false
|
1477
|
+
},
|
1478
|
+
{
|
1479
|
+
"type": "object",
|
1480
|
+
"properties": {
|
1481
|
+
"key": {
|
1482
|
+
"type": "string",
|
1483
|
+
"maxLength": 1024
|
1484
|
+
},
|
1485
|
+
"type": {
|
1486
|
+
"type": "string",
|
1487
|
+
"enum": [
|
1488
|
+
"request"
|
1489
|
+
]
|
1490
|
+
},
|
1491
|
+
"config": {
|
1492
|
+
"type": "object",
|
1493
|
+
"properties": {
|
1494
|
+
"method": {
|
1495
|
+
"type": "string",
|
1496
|
+
"enum": [
|
1497
|
+
"*",
|
1498
|
+
"delete",
|
1499
|
+
"get",
|
1500
|
+
"options",
|
1501
|
+
"patch",
|
1502
|
+
"post",
|
1503
|
+
"put"
|
1504
|
+
]
|
1505
|
+
},
|
1506
|
+
"route": {
|
1507
|
+
"type": "string",
|
1508
|
+
"maxLength": 1024
|
1509
|
+
}
|
1510
|
+
},
|
1511
|
+
"additionalProperties": false
|
1512
|
+
},
|
1513
|
+
"meta": {
|
1514
|
+
"type": "object",
|
1515
|
+
"properties": {
|
1516
|
+
"category": {
|
1517
|
+
"type": "string",
|
1518
|
+
"enum": [
|
1519
|
+
"trigger"
|
1520
|
+
]
|
1521
|
+
},
|
1522
|
+
"name": {
|
1523
|
+
"type": "string",
|
1524
|
+
"enum": [
|
1525
|
+
"request"
|
1526
|
+
]
|
1527
|
+
},
|
1528
|
+
"label": {
|
1529
|
+
"type": "string",
|
1530
|
+
"minLength": 1,
|
1363
1531
|
"maxLength": 255
|
1364
1532
|
},
|
1533
|
+
"x": {
|
1534
|
+
"type": "number"
|
1535
|
+
},
|
1536
|
+
"y": {
|
1537
|
+
"type": "number"
|
1538
|
+
},
|
1539
|
+
"uiId": {
|
1540
|
+
"type": "string",
|
1541
|
+
"maxLength": 48
|
1542
|
+
},
|
1543
|
+
"description": {
|
1544
|
+
"type": "string",
|
1545
|
+
"maxLength": 32767
|
1546
|
+
},
|
1547
|
+
"icon": {
|
1548
|
+
"type": "string",
|
1549
|
+
"maxLength": 1024
|
1550
|
+
},
|
1551
|
+
"color": {
|
1552
|
+
"type": "string",
|
1553
|
+
"maxLength": 1024
|
1554
|
+
},
|
1555
|
+
"inputCount": {
|
1556
|
+
"type": "number"
|
1557
|
+
},
|
1558
|
+
"outputCount": {
|
1559
|
+
"type": "number"
|
1560
|
+
},
|
1561
|
+
"triggerId": {
|
1562
|
+
"type": "string",
|
1563
|
+
"maxLength": 48
|
1564
|
+
},
|
1565
|
+
"id": {
|
1566
|
+
"type": "string",
|
1567
|
+
"maxLength": 48
|
1568
|
+
}
|
1569
|
+
},
|
1570
|
+
"additionalProperties": false
|
1571
|
+
},
|
1572
|
+
"outputIds": {
|
1573
|
+
"type": "array",
|
1574
|
+
"items": {
|
1575
|
+
"type": "array",
|
1576
|
+
"items": {
|
1577
|
+
"type": "string",
|
1578
|
+
"maxLength": 48,
|
1579
|
+
"minLength": 1
|
1580
|
+
},
|
1365
1581
|
"maxItems": 100
|
1366
1582
|
},
|
1367
1583
|
"maxItems": 100
|
@@ -1503,8 +1719,164 @@
|
|
1503
1719
|
"type": "array",
|
1504
1720
|
"items": {
|
1505
1721
|
"type": "string",
|
1722
|
+
"maxLength": 48,
|
1723
|
+
"minLength": 1
|
1724
|
+
},
|
1725
|
+
"maxItems": 100
|
1726
|
+
},
|
1727
|
+
"maxItems": 100
|
1728
|
+
}
|
1729
|
+
},
|
1730
|
+
"required": [
|
1731
|
+
"type"
|
1732
|
+
],
|
1733
|
+
"additionalProperties": false
|
1734
|
+
},
|
1735
|
+
{
|
1736
|
+
"type": "object",
|
1737
|
+
"properties": {
|
1738
|
+
"key": {
|
1739
|
+
"type": "string",
|
1740
|
+
"maxLength": 1024
|
1741
|
+
},
|
1742
|
+
"type": {
|
1743
|
+
"type": "string",
|
1744
|
+
"enum": [
|
1745
|
+
"snmpTrap"
|
1746
|
+
]
|
1747
|
+
},
|
1748
|
+
"config": {
|
1749
|
+
"type": "object",
|
1750
|
+
"properties": {
|
1751
|
+
"udpPort": {
|
1752
|
+
"type": "string",
|
1753
|
+
"maxLength": 5
|
1754
|
+
},
|
1755
|
+
"snmpTrapConfig": {
|
1756
|
+
"type": "object",
|
1757
|
+
"properties": {
|
1758
|
+
"community": {
|
1759
|
+
"type": "string",
|
1760
|
+
"maxLength": 1024
|
1761
|
+
},
|
1762
|
+
"user": {
|
1763
|
+
"type": "object",
|
1764
|
+
"properties": {
|
1765
|
+
"name": {
|
1766
|
+
"type": "string",
|
1767
|
+
"maxLength": 1024
|
1768
|
+
},
|
1769
|
+
"securityLevel": {
|
1770
|
+
"type": "string",
|
1771
|
+
"enum": [
|
1772
|
+
"none",
|
1773
|
+
"auth",
|
1774
|
+
"authAndEncrypt"
|
1775
|
+
]
|
1776
|
+
},
|
1777
|
+
"authMethod": {
|
1778
|
+
"type": "string",
|
1779
|
+
"enum": [
|
1780
|
+
"sha",
|
1781
|
+
"md5"
|
1782
|
+
]
|
1783
|
+
},
|
1784
|
+
"authKey": {
|
1785
|
+
"type": "string",
|
1786
|
+
"maxLength": 1024
|
1787
|
+
},
|
1788
|
+
"encryptionMethod": {
|
1789
|
+
"type": "string",
|
1790
|
+
"enum": [
|
1791
|
+
"aes",
|
1792
|
+
"des"
|
1793
|
+
]
|
1794
|
+
},
|
1795
|
+
"encryptionKey": {
|
1796
|
+
"type": "string",
|
1797
|
+
"maxLength": 1024
|
1798
|
+
}
|
1799
|
+
},
|
1800
|
+
"required": [
|
1801
|
+
"name",
|
1802
|
+
"securityLevel"
|
1803
|
+
],
|
1804
|
+
"additionalProperties": false
|
1805
|
+
}
|
1806
|
+
},
|
1807
|
+
"additionalProperties": false
|
1808
|
+
}
|
1809
|
+
},
|
1810
|
+
"required": [
|
1811
|
+
"udpPort",
|
1812
|
+
"snmpTrapConfig"
|
1813
|
+
],
|
1814
|
+
"additionalProperties": false
|
1815
|
+
},
|
1816
|
+
"meta": {
|
1817
|
+
"type": "object",
|
1818
|
+
"properties": {
|
1819
|
+
"category": {
|
1820
|
+
"type": "string",
|
1821
|
+
"enum": [
|
1822
|
+
"trigger"
|
1823
|
+
]
|
1824
|
+
},
|
1825
|
+
"name": {
|
1826
|
+
"type": "string",
|
1827
|
+
"enum": [
|
1828
|
+
"snmpTrap"
|
1829
|
+
]
|
1830
|
+
},
|
1831
|
+
"label": {
|
1832
|
+
"type": "string",
|
1833
|
+
"minLength": 1,
|
1506
1834
|
"maxLength": 255
|
1507
1835
|
},
|
1836
|
+
"x": {
|
1837
|
+
"type": "number"
|
1838
|
+
},
|
1839
|
+
"y": {
|
1840
|
+
"type": "number"
|
1841
|
+
},
|
1842
|
+
"uiId": {
|
1843
|
+
"type": "string",
|
1844
|
+
"maxLength": 48
|
1845
|
+
},
|
1846
|
+
"description": {
|
1847
|
+
"type": "string",
|
1848
|
+
"maxLength": 32767
|
1849
|
+
},
|
1850
|
+
"icon": {
|
1851
|
+
"type": "string",
|
1852
|
+
"maxLength": 1024
|
1853
|
+
},
|
1854
|
+
"color": {
|
1855
|
+
"type": "string",
|
1856
|
+
"maxLength": 1024
|
1857
|
+
},
|
1858
|
+
"inputCount": {
|
1859
|
+
"type": "number"
|
1860
|
+
},
|
1861
|
+
"outputCount": {
|
1862
|
+
"type": "number"
|
1863
|
+
},
|
1864
|
+
"id": {
|
1865
|
+
"type": "string",
|
1866
|
+
"maxLength": 48
|
1867
|
+
}
|
1868
|
+
},
|
1869
|
+
"additionalProperties": false
|
1870
|
+
},
|
1871
|
+
"outputIds": {
|
1872
|
+
"type": "array",
|
1873
|
+
"items": {
|
1874
|
+
"type": "array",
|
1875
|
+
"items": {
|
1876
|
+
"type": "string",
|
1877
|
+
"maxLength": 48,
|
1878
|
+
"minLength": 1
|
1879
|
+
},
|
1508
1880
|
"maxItems": 100
|
1509
1881
|
},
|
1510
1882
|
"maxItems": 100
|
@@ -1629,7 +2001,8 @@
|
|
1629
2001
|
"type": "array",
|
1630
2002
|
"items": {
|
1631
2003
|
"type": "string",
|
1632
|
-
"maxLength":
|
2004
|
+
"maxLength": 48,
|
2005
|
+
"minLength": 1
|
1633
2006
|
},
|
1634
2007
|
"maxItems": 100
|
1635
2008
|
},
|
@@ -1744,7 +2117,8 @@
|
|
1744
2117
|
"type": "array",
|
1745
2118
|
"items": {
|
1746
2119
|
"type": "string",
|
1747
|
-
"maxLength":
|
2120
|
+
"maxLength": 48,
|
2121
|
+
"minLength": 1
|
1748
2122
|
},
|
1749
2123
|
"maxItems": 100
|
1750
2124
|
},
|
@@ -1785,7 +2159,8 @@
|
|
1785
2159
|
"type": "array",
|
1786
2160
|
"items": {
|
1787
2161
|
"type": "string",
|
1788
|
-
"maxLength":
|
2162
|
+
"maxLength": 48,
|
2163
|
+
"minLength": 1
|
1789
2164
|
},
|
1790
2165
|
"maxItems": 100
|
1791
2166
|
},
|