losant_rest 1.15.1 → 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 +3003 -311
- data/docs/devices.md +40 -0
- 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 +3 -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 +1 -1
- data/lib/losant_rest/embedded_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 +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 +1 -1
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +1 -1
- data/lib/losant_rest/flows.rb +1 -1
- data/lib/losant_rest/instance.rb +1 -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 +1 -1
- data/schemas/apiTokenPost.json +1 -0
- data/schemas/deviceNamesResponse.json +36 -0
- data/schemas/experienceLinkedResources.json +465 -0
- data/schemas/flow.json +155 -0
- data/schemas/flowPatch.json +155 -0
- data/schemas/flowPost.json +155 -0
- data/schemas/flowVersion.json +310 -0
- data/schemas/flowVersionPost.json +155 -0
- data/schemas/flowVersions.json +310 -0
- data/schemas/flows.json +155 -0
- data/schemas/flowsImportPost.json +310 -0
- data/schemas/flowsImportResult.json +465 -0
- data/schemas/githubLogin.json +1 -0
- data/schemas/instanceMember.json +0 -1
- data/schemas/instanceMembers.json +0 -1
- data/schemas/instanceOrgMember.json +0 -1
- 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 +0 -1
- data/schemas/mePatch.json +0 -1
- data/schemas/org.json +0 -1
- data/schemas/orgs.json +0 -1
- data/schemas/userCredentials.json +1 -0
- data/schemas/userPost.json +1 -1
- metadata +3 -2
@@ -1732,6 +1732,161 @@
|
|
1732
1732
|
],
|
1733
1733
|
"additionalProperties": false
|
1734
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,
|
1834
|
+
"maxLength": 255
|
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
|
+
},
|
1880
|
+
"maxItems": 100
|
1881
|
+
},
|
1882
|
+
"maxItems": 100
|
1883
|
+
}
|
1884
|
+
},
|
1885
|
+
"required": [
|
1886
|
+
"type"
|
1887
|
+
],
|
1888
|
+
"additionalProperties": false
|
1889
|
+
},
|
1735
1890
|
{
|
1736
1891
|
"type": "object",
|
1737
1892
|
"properties": {
|
data/schemas/flowVersions.json
CHANGED
@@ -1766,6 +1766,161 @@
|
|
1766
1766
|
],
|
1767
1767
|
"additionalProperties": false
|
1768
1768
|
},
|
1769
|
+
{
|
1770
|
+
"type": "object",
|
1771
|
+
"properties": {
|
1772
|
+
"key": {
|
1773
|
+
"type": "string",
|
1774
|
+
"maxLength": 1024
|
1775
|
+
},
|
1776
|
+
"type": {
|
1777
|
+
"type": "string",
|
1778
|
+
"enum": [
|
1779
|
+
"snmpTrap"
|
1780
|
+
]
|
1781
|
+
},
|
1782
|
+
"config": {
|
1783
|
+
"type": "object",
|
1784
|
+
"properties": {
|
1785
|
+
"udpPort": {
|
1786
|
+
"type": "string",
|
1787
|
+
"maxLength": 5
|
1788
|
+
},
|
1789
|
+
"snmpTrapConfig": {
|
1790
|
+
"type": "object",
|
1791
|
+
"properties": {
|
1792
|
+
"community": {
|
1793
|
+
"type": "string",
|
1794
|
+
"maxLength": 1024
|
1795
|
+
},
|
1796
|
+
"user": {
|
1797
|
+
"type": "object",
|
1798
|
+
"properties": {
|
1799
|
+
"name": {
|
1800
|
+
"type": "string",
|
1801
|
+
"maxLength": 1024
|
1802
|
+
},
|
1803
|
+
"securityLevel": {
|
1804
|
+
"type": "string",
|
1805
|
+
"enum": [
|
1806
|
+
"none",
|
1807
|
+
"auth",
|
1808
|
+
"authAndEncrypt"
|
1809
|
+
]
|
1810
|
+
},
|
1811
|
+
"authMethod": {
|
1812
|
+
"type": "string",
|
1813
|
+
"enum": [
|
1814
|
+
"sha",
|
1815
|
+
"md5"
|
1816
|
+
]
|
1817
|
+
},
|
1818
|
+
"authKey": {
|
1819
|
+
"type": "string",
|
1820
|
+
"maxLength": 1024
|
1821
|
+
},
|
1822
|
+
"encryptionMethod": {
|
1823
|
+
"type": "string",
|
1824
|
+
"enum": [
|
1825
|
+
"aes",
|
1826
|
+
"des"
|
1827
|
+
]
|
1828
|
+
},
|
1829
|
+
"encryptionKey": {
|
1830
|
+
"type": "string",
|
1831
|
+
"maxLength": 1024
|
1832
|
+
}
|
1833
|
+
},
|
1834
|
+
"required": [
|
1835
|
+
"name",
|
1836
|
+
"securityLevel"
|
1837
|
+
],
|
1838
|
+
"additionalProperties": false
|
1839
|
+
}
|
1840
|
+
},
|
1841
|
+
"additionalProperties": false
|
1842
|
+
}
|
1843
|
+
},
|
1844
|
+
"required": [
|
1845
|
+
"udpPort",
|
1846
|
+
"snmpTrapConfig"
|
1847
|
+
],
|
1848
|
+
"additionalProperties": false
|
1849
|
+
},
|
1850
|
+
"meta": {
|
1851
|
+
"type": "object",
|
1852
|
+
"properties": {
|
1853
|
+
"category": {
|
1854
|
+
"type": "string",
|
1855
|
+
"enum": [
|
1856
|
+
"trigger"
|
1857
|
+
]
|
1858
|
+
},
|
1859
|
+
"name": {
|
1860
|
+
"type": "string",
|
1861
|
+
"enum": [
|
1862
|
+
"snmpTrap"
|
1863
|
+
]
|
1864
|
+
},
|
1865
|
+
"label": {
|
1866
|
+
"type": "string",
|
1867
|
+
"minLength": 1,
|
1868
|
+
"maxLength": 255
|
1869
|
+
},
|
1870
|
+
"x": {
|
1871
|
+
"type": "number"
|
1872
|
+
},
|
1873
|
+
"y": {
|
1874
|
+
"type": "number"
|
1875
|
+
},
|
1876
|
+
"uiId": {
|
1877
|
+
"type": "string",
|
1878
|
+
"maxLength": 48
|
1879
|
+
},
|
1880
|
+
"description": {
|
1881
|
+
"type": "string",
|
1882
|
+
"maxLength": 32767
|
1883
|
+
},
|
1884
|
+
"icon": {
|
1885
|
+
"type": "string",
|
1886
|
+
"maxLength": 1024
|
1887
|
+
},
|
1888
|
+
"color": {
|
1889
|
+
"type": "string",
|
1890
|
+
"maxLength": 1024
|
1891
|
+
},
|
1892
|
+
"inputCount": {
|
1893
|
+
"type": "number"
|
1894
|
+
},
|
1895
|
+
"outputCount": {
|
1896
|
+
"type": "number"
|
1897
|
+
},
|
1898
|
+
"id": {
|
1899
|
+
"type": "string",
|
1900
|
+
"maxLength": 48
|
1901
|
+
}
|
1902
|
+
},
|
1903
|
+
"additionalProperties": false
|
1904
|
+
},
|
1905
|
+
"outputIds": {
|
1906
|
+
"type": "array",
|
1907
|
+
"items": {
|
1908
|
+
"type": "array",
|
1909
|
+
"items": {
|
1910
|
+
"type": "string",
|
1911
|
+
"maxLength": 48,
|
1912
|
+
"minLength": 1
|
1913
|
+
},
|
1914
|
+
"maxItems": 100
|
1915
|
+
},
|
1916
|
+
"maxItems": 100
|
1917
|
+
}
|
1918
|
+
},
|
1919
|
+
"required": [
|
1920
|
+
"type"
|
1921
|
+
],
|
1922
|
+
"additionalProperties": false
|
1923
|
+
},
|
1769
1924
|
{
|
1770
1925
|
"type": "object",
|
1771
1926
|
"properties": {
|
@@ -4199,6 +4354,161 @@
|
|
4199
4354
|
],
|
4200
4355
|
"additionalProperties": false
|
4201
4356
|
},
|
4357
|
+
{
|
4358
|
+
"type": "object",
|
4359
|
+
"properties": {
|
4360
|
+
"key": {
|
4361
|
+
"type": "string",
|
4362
|
+
"maxLength": 1024
|
4363
|
+
},
|
4364
|
+
"type": {
|
4365
|
+
"type": "string",
|
4366
|
+
"enum": [
|
4367
|
+
"snmpTrap"
|
4368
|
+
]
|
4369
|
+
},
|
4370
|
+
"config": {
|
4371
|
+
"type": "object",
|
4372
|
+
"properties": {
|
4373
|
+
"udpPort": {
|
4374
|
+
"type": "string",
|
4375
|
+
"maxLength": 5
|
4376
|
+
},
|
4377
|
+
"snmpTrapConfig": {
|
4378
|
+
"type": "object",
|
4379
|
+
"properties": {
|
4380
|
+
"community": {
|
4381
|
+
"type": "string",
|
4382
|
+
"maxLength": 1024
|
4383
|
+
},
|
4384
|
+
"user": {
|
4385
|
+
"type": "object",
|
4386
|
+
"properties": {
|
4387
|
+
"name": {
|
4388
|
+
"type": "string",
|
4389
|
+
"maxLength": 1024
|
4390
|
+
},
|
4391
|
+
"securityLevel": {
|
4392
|
+
"type": "string",
|
4393
|
+
"enum": [
|
4394
|
+
"none",
|
4395
|
+
"auth",
|
4396
|
+
"authAndEncrypt"
|
4397
|
+
]
|
4398
|
+
},
|
4399
|
+
"authMethod": {
|
4400
|
+
"type": "string",
|
4401
|
+
"enum": [
|
4402
|
+
"sha",
|
4403
|
+
"md5"
|
4404
|
+
]
|
4405
|
+
},
|
4406
|
+
"authKey": {
|
4407
|
+
"type": "string",
|
4408
|
+
"maxLength": 1024
|
4409
|
+
},
|
4410
|
+
"encryptionMethod": {
|
4411
|
+
"type": "string",
|
4412
|
+
"enum": [
|
4413
|
+
"aes",
|
4414
|
+
"des"
|
4415
|
+
]
|
4416
|
+
},
|
4417
|
+
"encryptionKey": {
|
4418
|
+
"type": "string",
|
4419
|
+
"maxLength": 1024
|
4420
|
+
}
|
4421
|
+
},
|
4422
|
+
"required": [
|
4423
|
+
"name",
|
4424
|
+
"securityLevel"
|
4425
|
+
],
|
4426
|
+
"additionalProperties": false
|
4427
|
+
}
|
4428
|
+
},
|
4429
|
+
"additionalProperties": false
|
4430
|
+
}
|
4431
|
+
},
|
4432
|
+
"required": [
|
4433
|
+
"udpPort",
|
4434
|
+
"snmpTrapConfig"
|
4435
|
+
],
|
4436
|
+
"additionalProperties": false
|
4437
|
+
},
|
4438
|
+
"meta": {
|
4439
|
+
"type": "object",
|
4440
|
+
"properties": {
|
4441
|
+
"category": {
|
4442
|
+
"type": "string",
|
4443
|
+
"enum": [
|
4444
|
+
"trigger"
|
4445
|
+
]
|
4446
|
+
},
|
4447
|
+
"name": {
|
4448
|
+
"type": "string",
|
4449
|
+
"enum": [
|
4450
|
+
"snmpTrap"
|
4451
|
+
]
|
4452
|
+
},
|
4453
|
+
"label": {
|
4454
|
+
"type": "string",
|
4455
|
+
"minLength": 1,
|
4456
|
+
"maxLength": 255
|
4457
|
+
},
|
4458
|
+
"x": {
|
4459
|
+
"type": "number"
|
4460
|
+
},
|
4461
|
+
"y": {
|
4462
|
+
"type": "number"
|
4463
|
+
},
|
4464
|
+
"uiId": {
|
4465
|
+
"type": "string",
|
4466
|
+
"maxLength": 48
|
4467
|
+
},
|
4468
|
+
"description": {
|
4469
|
+
"type": "string",
|
4470
|
+
"maxLength": 32767
|
4471
|
+
},
|
4472
|
+
"icon": {
|
4473
|
+
"type": "string",
|
4474
|
+
"maxLength": 1024
|
4475
|
+
},
|
4476
|
+
"color": {
|
4477
|
+
"type": "string",
|
4478
|
+
"maxLength": 1024
|
4479
|
+
},
|
4480
|
+
"inputCount": {
|
4481
|
+
"type": "number"
|
4482
|
+
},
|
4483
|
+
"outputCount": {
|
4484
|
+
"type": "number"
|
4485
|
+
},
|
4486
|
+
"id": {
|
4487
|
+
"type": "string",
|
4488
|
+
"maxLength": 48
|
4489
|
+
}
|
4490
|
+
},
|
4491
|
+
"additionalProperties": false
|
4492
|
+
},
|
4493
|
+
"outputIds": {
|
4494
|
+
"type": "array",
|
4495
|
+
"items": {
|
4496
|
+
"type": "array",
|
4497
|
+
"items": {
|
4498
|
+
"type": "string",
|
4499
|
+
"maxLength": 48,
|
4500
|
+
"minLength": 1
|
4501
|
+
},
|
4502
|
+
"maxItems": 100
|
4503
|
+
},
|
4504
|
+
"maxItems": 100
|
4505
|
+
}
|
4506
|
+
},
|
4507
|
+
"required": [
|
4508
|
+
"type"
|
4509
|
+
],
|
4510
|
+
"additionalProperties": false
|
4511
|
+
},
|
4202
4512
|
{
|
4203
4513
|
"type": "object",
|
4204
4514
|
"properties": {
|
data/schemas/flows.json
CHANGED
@@ -1782,6 +1782,161 @@
|
|
1782
1782
|
],
|
1783
1783
|
"additionalProperties": false
|
1784
1784
|
},
|
1785
|
+
{
|
1786
|
+
"type": "object",
|
1787
|
+
"properties": {
|
1788
|
+
"key": {
|
1789
|
+
"type": "string",
|
1790
|
+
"maxLength": 1024
|
1791
|
+
},
|
1792
|
+
"type": {
|
1793
|
+
"type": "string",
|
1794
|
+
"enum": [
|
1795
|
+
"snmpTrap"
|
1796
|
+
]
|
1797
|
+
},
|
1798
|
+
"config": {
|
1799
|
+
"type": "object",
|
1800
|
+
"properties": {
|
1801
|
+
"udpPort": {
|
1802
|
+
"type": "string",
|
1803
|
+
"maxLength": 5
|
1804
|
+
},
|
1805
|
+
"snmpTrapConfig": {
|
1806
|
+
"type": "object",
|
1807
|
+
"properties": {
|
1808
|
+
"community": {
|
1809
|
+
"type": "string",
|
1810
|
+
"maxLength": 1024
|
1811
|
+
},
|
1812
|
+
"user": {
|
1813
|
+
"type": "object",
|
1814
|
+
"properties": {
|
1815
|
+
"name": {
|
1816
|
+
"type": "string",
|
1817
|
+
"maxLength": 1024
|
1818
|
+
},
|
1819
|
+
"securityLevel": {
|
1820
|
+
"type": "string",
|
1821
|
+
"enum": [
|
1822
|
+
"none",
|
1823
|
+
"auth",
|
1824
|
+
"authAndEncrypt"
|
1825
|
+
]
|
1826
|
+
},
|
1827
|
+
"authMethod": {
|
1828
|
+
"type": "string",
|
1829
|
+
"enum": [
|
1830
|
+
"sha",
|
1831
|
+
"md5"
|
1832
|
+
]
|
1833
|
+
},
|
1834
|
+
"authKey": {
|
1835
|
+
"type": "string",
|
1836
|
+
"maxLength": 1024
|
1837
|
+
},
|
1838
|
+
"encryptionMethod": {
|
1839
|
+
"type": "string",
|
1840
|
+
"enum": [
|
1841
|
+
"aes",
|
1842
|
+
"des"
|
1843
|
+
]
|
1844
|
+
},
|
1845
|
+
"encryptionKey": {
|
1846
|
+
"type": "string",
|
1847
|
+
"maxLength": 1024
|
1848
|
+
}
|
1849
|
+
},
|
1850
|
+
"required": [
|
1851
|
+
"name",
|
1852
|
+
"securityLevel"
|
1853
|
+
],
|
1854
|
+
"additionalProperties": false
|
1855
|
+
}
|
1856
|
+
},
|
1857
|
+
"additionalProperties": false
|
1858
|
+
}
|
1859
|
+
},
|
1860
|
+
"required": [
|
1861
|
+
"udpPort",
|
1862
|
+
"snmpTrapConfig"
|
1863
|
+
],
|
1864
|
+
"additionalProperties": false
|
1865
|
+
},
|
1866
|
+
"meta": {
|
1867
|
+
"type": "object",
|
1868
|
+
"properties": {
|
1869
|
+
"category": {
|
1870
|
+
"type": "string",
|
1871
|
+
"enum": [
|
1872
|
+
"trigger"
|
1873
|
+
]
|
1874
|
+
},
|
1875
|
+
"name": {
|
1876
|
+
"type": "string",
|
1877
|
+
"enum": [
|
1878
|
+
"snmpTrap"
|
1879
|
+
]
|
1880
|
+
},
|
1881
|
+
"label": {
|
1882
|
+
"type": "string",
|
1883
|
+
"minLength": 1,
|
1884
|
+
"maxLength": 255
|
1885
|
+
},
|
1886
|
+
"x": {
|
1887
|
+
"type": "number"
|
1888
|
+
},
|
1889
|
+
"y": {
|
1890
|
+
"type": "number"
|
1891
|
+
},
|
1892
|
+
"uiId": {
|
1893
|
+
"type": "string",
|
1894
|
+
"maxLength": 48
|
1895
|
+
},
|
1896
|
+
"description": {
|
1897
|
+
"type": "string",
|
1898
|
+
"maxLength": 32767
|
1899
|
+
},
|
1900
|
+
"icon": {
|
1901
|
+
"type": "string",
|
1902
|
+
"maxLength": 1024
|
1903
|
+
},
|
1904
|
+
"color": {
|
1905
|
+
"type": "string",
|
1906
|
+
"maxLength": 1024
|
1907
|
+
},
|
1908
|
+
"inputCount": {
|
1909
|
+
"type": "number"
|
1910
|
+
},
|
1911
|
+
"outputCount": {
|
1912
|
+
"type": "number"
|
1913
|
+
},
|
1914
|
+
"id": {
|
1915
|
+
"type": "string",
|
1916
|
+
"maxLength": 48
|
1917
|
+
}
|
1918
|
+
},
|
1919
|
+
"additionalProperties": false
|
1920
|
+
},
|
1921
|
+
"outputIds": {
|
1922
|
+
"type": "array",
|
1923
|
+
"items": {
|
1924
|
+
"type": "array",
|
1925
|
+
"items": {
|
1926
|
+
"type": "string",
|
1927
|
+
"maxLength": 48,
|
1928
|
+
"minLength": 1
|
1929
|
+
},
|
1930
|
+
"maxItems": 100
|
1931
|
+
},
|
1932
|
+
"maxItems": 100
|
1933
|
+
}
|
1934
|
+
},
|
1935
|
+
"required": [
|
1936
|
+
"type"
|
1937
|
+
],
|
1938
|
+
"additionalProperties": false
|
1939
|
+
},
|
1785
1940
|
{
|
1786
1941
|
"type": "object",
|
1787
1942
|
"properties": {
|