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
@@ -1751,6 +1751,161 @@
|
|
1751
1751
|
],
|
1752
1752
|
"additionalProperties": false
|
1753
1753
|
},
|
1754
|
+
{
|
1755
|
+
"type": "object",
|
1756
|
+
"properties": {
|
1757
|
+
"key": {
|
1758
|
+
"type": "string",
|
1759
|
+
"maxLength": 1024
|
1760
|
+
},
|
1761
|
+
"type": {
|
1762
|
+
"type": "string",
|
1763
|
+
"enum": [
|
1764
|
+
"snmpTrap"
|
1765
|
+
]
|
1766
|
+
},
|
1767
|
+
"config": {
|
1768
|
+
"type": "object",
|
1769
|
+
"properties": {
|
1770
|
+
"udpPort": {
|
1771
|
+
"type": "string",
|
1772
|
+
"maxLength": 5
|
1773
|
+
},
|
1774
|
+
"snmpTrapConfig": {
|
1775
|
+
"type": "object",
|
1776
|
+
"properties": {
|
1777
|
+
"community": {
|
1778
|
+
"type": "string",
|
1779
|
+
"maxLength": 1024
|
1780
|
+
},
|
1781
|
+
"user": {
|
1782
|
+
"type": "object",
|
1783
|
+
"properties": {
|
1784
|
+
"name": {
|
1785
|
+
"type": "string",
|
1786
|
+
"maxLength": 1024
|
1787
|
+
},
|
1788
|
+
"securityLevel": {
|
1789
|
+
"type": "string",
|
1790
|
+
"enum": [
|
1791
|
+
"none",
|
1792
|
+
"auth",
|
1793
|
+
"authAndEncrypt"
|
1794
|
+
]
|
1795
|
+
},
|
1796
|
+
"authMethod": {
|
1797
|
+
"type": "string",
|
1798
|
+
"enum": [
|
1799
|
+
"sha",
|
1800
|
+
"md5"
|
1801
|
+
]
|
1802
|
+
},
|
1803
|
+
"authKey": {
|
1804
|
+
"type": "string",
|
1805
|
+
"maxLength": 1024
|
1806
|
+
},
|
1807
|
+
"encryptionMethod": {
|
1808
|
+
"type": "string",
|
1809
|
+
"enum": [
|
1810
|
+
"aes",
|
1811
|
+
"des"
|
1812
|
+
]
|
1813
|
+
},
|
1814
|
+
"encryptionKey": {
|
1815
|
+
"type": "string",
|
1816
|
+
"maxLength": 1024
|
1817
|
+
}
|
1818
|
+
},
|
1819
|
+
"required": [
|
1820
|
+
"name",
|
1821
|
+
"securityLevel"
|
1822
|
+
],
|
1823
|
+
"additionalProperties": false
|
1824
|
+
}
|
1825
|
+
},
|
1826
|
+
"additionalProperties": false
|
1827
|
+
}
|
1828
|
+
},
|
1829
|
+
"required": [
|
1830
|
+
"udpPort",
|
1831
|
+
"snmpTrapConfig"
|
1832
|
+
],
|
1833
|
+
"additionalProperties": false
|
1834
|
+
},
|
1835
|
+
"meta": {
|
1836
|
+
"type": "object",
|
1837
|
+
"properties": {
|
1838
|
+
"category": {
|
1839
|
+
"type": "string",
|
1840
|
+
"enum": [
|
1841
|
+
"trigger"
|
1842
|
+
]
|
1843
|
+
},
|
1844
|
+
"name": {
|
1845
|
+
"type": "string",
|
1846
|
+
"enum": [
|
1847
|
+
"snmpTrap"
|
1848
|
+
]
|
1849
|
+
},
|
1850
|
+
"label": {
|
1851
|
+
"type": "string",
|
1852
|
+
"minLength": 1,
|
1853
|
+
"maxLength": 255
|
1854
|
+
},
|
1855
|
+
"x": {
|
1856
|
+
"type": "number"
|
1857
|
+
},
|
1858
|
+
"y": {
|
1859
|
+
"type": "number"
|
1860
|
+
},
|
1861
|
+
"uiId": {
|
1862
|
+
"type": "string",
|
1863
|
+
"maxLength": 48
|
1864
|
+
},
|
1865
|
+
"description": {
|
1866
|
+
"type": "string",
|
1867
|
+
"maxLength": 32767
|
1868
|
+
},
|
1869
|
+
"icon": {
|
1870
|
+
"type": "string",
|
1871
|
+
"maxLength": 1024
|
1872
|
+
},
|
1873
|
+
"color": {
|
1874
|
+
"type": "string",
|
1875
|
+
"maxLength": 1024
|
1876
|
+
},
|
1877
|
+
"inputCount": {
|
1878
|
+
"type": "number"
|
1879
|
+
},
|
1880
|
+
"outputCount": {
|
1881
|
+
"type": "number"
|
1882
|
+
},
|
1883
|
+
"id": {
|
1884
|
+
"type": "string",
|
1885
|
+
"maxLength": 48
|
1886
|
+
}
|
1887
|
+
},
|
1888
|
+
"additionalProperties": false
|
1889
|
+
},
|
1890
|
+
"outputIds": {
|
1891
|
+
"type": "array",
|
1892
|
+
"items": {
|
1893
|
+
"type": "array",
|
1894
|
+
"items": {
|
1895
|
+
"type": "string",
|
1896
|
+
"maxLength": 48,
|
1897
|
+
"minLength": 1
|
1898
|
+
},
|
1899
|
+
"maxItems": 100
|
1900
|
+
},
|
1901
|
+
"maxItems": 100
|
1902
|
+
}
|
1903
|
+
},
|
1904
|
+
"required": [
|
1905
|
+
"type"
|
1906
|
+
],
|
1907
|
+
"additionalProperties": false
|
1908
|
+
},
|
1754
1909
|
{
|
1755
1910
|
"type": "object",
|
1756
1911
|
"properties": {
|
@@ -4166,6 +4321,161 @@
|
|
4166
4321
|
],
|
4167
4322
|
"additionalProperties": false
|
4168
4323
|
},
|
4324
|
+
{
|
4325
|
+
"type": "object",
|
4326
|
+
"properties": {
|
4327
|
+
"key": {
|
4328
|
+
"type": "string",
|
4329
|
+
"maxLength": 1024
|
4330
|
+
},
|
4331
|
+
"type": {
|
4332
|
+
"type": "string",
|
4333
|
+
"enum": [
|
4334
|
+
"snmpTrap"
|
4335
|
+
]
|
4336
|
+
},
|
4337
|
+
"config": {
|
4338
|
+
"type": "object",
|
4339
|
+
"properties": {
|
4340
|
+
"udpPort": {
|
4341
|
+
"type": "string",
|
4342
|
+
"maxLength": 5
|
4343
|
+
},
|
4344
|
+
"snmpTrapConfig": {
|
4345
|
+
"type": "object",
|
4346
|
+
"properties": {
|
4347
|
+
"community": {
|
4348
|
+
"type": "string",
|
4349
|
+
"maxLength": 1024
|
4350
|
+
},
|
4351
|
+
"user": {
|
4352
|
+
"type": "object",
|
4353
|
+
"properties": {
|
4354
|
+
"name": {
|
4355
|
+
"type": "string",
|
4356
|
+
"maxLength": 1024
|
4357
|
+
},
|
4358
|
+
"securityLevel": {
|
4359
|
+
"type": "string",
|
4360
|
+
"enum": [
|
4361
|
+
"none",
|
4362
|
+
"auth",
|
4363
|
+
"authAndEncrypt"
|
4364
|
+
]
|
4365
|
+
},
|
4366
|
+
"authMethod": {
|
4367
|
+
"type": "string",
|
4368
|
+
"enum": [
|
4369
|
+
"sha",
|
4370
|
+
"md5"
|
4371
|
+
]
|
4372
|
+
},
|
4373
|
+
"authKey": {
|
4374
|
+
"type": "string",
|
4375
|
+
"maxLength": 1024
|
4376
|
+
},
|
4377
|
+
"encryptionMethod": {
|
4378
|
+
"type": "string",
|
4379
|
+
"enum": [
|
4380
|
+
"aes",
|
4381
|
+
"des"
|
4382
|
+
]
|
4383
|
+
},
|
4384
|
+
"encryptionKey": {
|
4385
|
+
"type": "string",
|
4386
|
+
"maxLength": 1024
|
4387
|
+
}
|
4388
|
+
},
|
4389
|
+
"required": [
|
4390
|
+
"name",
|
4391
|
+
"securityLevel"
|
4392
|
+
],
|
4393
|
+
"additionalProperties": false
|
4394
|
+
}
|
4395
|
+
},
|
4396
|
+
"additionalProperties": false
|
4397
|
+
}
|
4398
|
+
},
|
4399
|
+
"required": [
|
4400
|
+
"udpPort",
|
4401
|
+
"snmpTrapConfig"
|
4402
|
+
],
|
4403
|
+
"additionalProperties": false
|
4404
|
+
},
|
4405
|
+
"meta": {
|
4406
|
+
"type": "object",
|
4407
|
+
"properties": {
|
4408
|
+
"category": {
|
4409
|
+
"type": "string",
|
4410
|
+
"enum": [
|
4411
|
+
"trigger"
|
4412
|
+
]
|
4413
|
+
},
|
4414
|
+
"name": {
|
4415
|
+
"type": "string",
|
4416
|
+
"enum": [
|
4417
|
+
"snmpTrap"
|
4418
|
+
]
|
4419
|
+
},
|
4420
|
+
"label": {
|
4421
|
+
"type": "string",
|
4422
|
+
"minLength": 1,
|
4423
|
+
"maxLength": 255
|
4424
|
+
},
|
4425
|
+
"x": {
|
4426
|
+
"type": "number"
|
4427
|
+
},
|
4428
|
+
"y": {
|
4429
|
+
"type": "number"
|
4430
|
+
},
|
4431
|
+
"uiId": {
|
4432
|
+
"type": "string",
|
4433
|
+
"maxLength": 48
|
4434
|
+
},
|
4435
|
+
"description": {
|
4436
|
+
"type": "string",
|
4437
|
+
"maxLength": 32767
|
4438
|
+
},
|
4439
|
+
"icon": {
|
4440
|
+
"type": "string",
|
4441
|
+
"maxLength": 1024
|
4442
|
+
},
|
4443
|
+
"color": {
|
4444
|
+
"type": "string",
|
4445
|
+
"maxLength": 1024
|
4446
|
+
},
|
4447
|
+
"inputCount": {
|
4448
|
+
"type": "number"
|
4449
|
+
},
|
4450
|
+
"outputCount": {
|
4451
|
+
"type": "number"
|
4452
|
+
},
|
4453
|
+
"id": {
|
4454
|
+
"type": "string",
|
4455
|
+
"maxLength": 48
|
4456
|
+
}
|
4457
|
+
},
|
4458
|
+
"additionalProperties": false
|
4459
|
+
},
|
4460
|
+
"outputIds": {
|
4461
|
+
"type": "array",
|
4462
|
+
"items": {
|
4463
|
+
"type": "array",
|
4464
|
+
"items": {
|
4465
|
+
"type": "string",
|
4466
|
+
"maxLength": 48,
|
4467
|
+
"minLength": 1
|
4468
|
+
},
|
4469
|
+
"maxItems": 100
|
4470
|
+
},
|
4471
|
+
"maxItems": 100
|
4472
|
+
}
|
4473
|
+
},
|
4474
|
+
"required": [
|
4475
|
+
"type"
|
4476
|
+
],
|
4477
|
+
"additionalProperties": false
|
4478
|
+
},
|
4169
4479
|
{
|
4170
4480
|
"type": "object",
|
4171
4481
|
"properties": {
|