losant_rest 1.19.6 → 1.19.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +30 -0
- data/README.md +2 -2
- data/docs/_schemas.md +7742 -2728
- data/docs/devices.md +0 -1
- data/docs/experienceUsers.md +1 -0
- data/docs/instanceOrgs.md +1 -0
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/devices.rb +0 -1
- data/lib/platform_rest/experience_users.rb +3 -0
- data/lib/platform_rest/instance_orgs.rb +3 -0
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/advancedExperienceUserQuery.json +1068 -0
- data/schemas/advancedInstanceOrgQuery.json +1171 -0
- data/schemas/applicationDashboardPost.json +7 -0
- data/schemas/credential.json +52 -1
- data/schemas/credentialLinkedResources.json +345 -24
- data/schemas/credentialPatch.json +62 -0
- data/schemas/credentialPost.json +74 -1
- data/schemas/credentials.json +52 -1
- data/schemas/dashboard.json +7 -0
- data/schemas/dashboardPatch.json +7 -0
- data/schemas/dashboardPost.json +7 -0
- data/schemas/dashboards.json +7 -0
- data/schemas/devicesExportPost.json +8 -0
- data/schemas/devicesRemoveDataPost.json +10 -0
- data/schemas/experienceLinkedResources.json +356 -24
- data/schemas/experienceVersion.json +64 -0
- data/schemas/experienceVersionPatch.json +64 -0
- data/schemas/experienceVersionPost.json +64 -0
- data/schemas/experienceVersions.json +64 -0
- data/schemas/experienceView.json +11 -0
- data/schemas/experienceViewPatch.json +11 -0
- data/schemas/experienceViewPost.json +11 -0
- data/schemas/experienceViews.json +11 -0
- data/schemas/flow.json +115 -8
- data/schemas/flowPatch.json +115 -8
- data/schemas/flowPost.json +115 -8
- data/schemas/flowVersion.json +230 -16
- data/schemas/flowVersionPost.json +115 -8
- data/schemas/flowVersions.json +230 -16
- data/schemas/flows.json +115 -8
- data/schemas/flowsImportPost.json +230 -16
- data/schemas/flowsImportResult.json +345 -24
- data/schemas/instanceCustomNode.json +2 -1
- data/schemas/instanceCustomNodePatch.json +3 -9
- data/schemas/instanceCustomNodePost.json +3 -9
- data/schemas/instanceCustomNodes.json +2 -1
- data/schemas/notebook.json +8 -0
- data/schemas/notebookPatch.json +8 -0
- data/schemas/notebookPost.json +8 -0
- data/schemas/notebooks.json +8 -0
- data/schemas/resourceJob.json +2 -1
- data/schemas/resourceJobExecutionLogs.json +2 -1
- data/schemas/resourceJobPost.json +2 -1
- data/schemas/resourceJobs.json +2 -1
- metadata +5 -3
- data/.travis.yml +0 -7
data/schemas/credentials.json
CHANGED
@@ -72,7 +72,9 @@
|
|
72
72
|
"twilio",
|
73
73
|
"loggly",
|
74
74
|
"jwt",
|
75
|
-
"whatsapp"
|
75
|
+
"whatsapp",
|
76
|
+
"sql",
|
77
|
+
"mongodb"
|
76
78
|
]
|
77
79
|
},
|
78
80
|
"awsConfig": {
|
@@ -218,6 +220,55 @@
|
|
218
220
|
"required": [
|
219
221
|
"fromNumberId"
|
220
222
|
]
|
223
|
+
},
|
224
|
+
"sqlConfig": {
|
225
|
+
"type": "object",
|
226
|
+
"properties": {
|
227
|
+
"system": {
|
228
|
+
"type": "string",
|
229
|
+
"enum": [
|
230
|
+
"mssql",
|
231
|
+
"mysql",
|
232
|
+
"pg"
|
233
|
+
]
|
234
|
+
},
|
235
|
+
"host": {
|
236
|
+
"type": "string",
|
237
|
+
"minLength": 1,
|
238
|
+
"maxLength": 256
|
239
|
+
},
|
240
|
+
"port": {
|
241
|
+
"type": "integer",
|
242
|
+
"minimum": 1,
|
243
|
+
"maximum": 65535
|
244
|
+
},
|
245
|
+
"username": {
|
246
|
+
"type": "string",
|
247
|
+
"minLength": 1,
|
248
|
+
"maxLength": 256
|
249
|
+
},
|
250
|
+
"secureConnection": {
|
251
|
+
"type": "boolean"
|
252
|
+
},
|
253
|
+
"caCertificate": {
|
254
|
+
"type": "string",
|
255
|
+
"maxLength": 8196
|
256
|
+
},
|
257
|
+
"disableSSLVerification": {
|
258
|
+
"type": "boolean"
|
259
|
+
}
|
260
|
+
},
|
261
|
+
"additionalProperties": false,
|
262
|
+
"required": [
|
263
|
+
"system",
|
264
|
+
"host",
|
265
|
+
"username"
|
266
|
+
]
|
267
|
+
},
|
268
|
+
"mongodbConfig": {
|
269
|
+
"type": "object",
|
270
|
+
"properties": {},
|
271
|
+
"additionalProperties": false
|
221
272
|
}
|
222
273
|
},
|
223
274
|
"additionalProperties": false,
|
data/schemas/dashboard.json
CHANGED
data/schemas/dashboardPatch.json
CHANGED
data/schemas/dashboardPost.json
CHANGED
data/schemas/dashboards.json
CHANGED
@@ -1620,6 +1620,16 @@
|
|
1620
1620
|
},
|
1621
1621
|
"keepCommandHistory": {
|
1622
1622
|
"type": "boolean"
|
1623
|
+
},
|
1624
|
+
"email": {
|
1625
|
+
"type": "string",
|
1626
|
+
"format": "email",
|
1627
|
+
"maxLength": 1024
|
1628
|
+
},
|
1629
|
+
"callbackUrl": {
|
1630
|
+
"type": "string",
|
1631
|
+
"format": "uri",
|
1632
|
+
"maxLength": 1024
|
1623
1633
|
}
|
1624
1634
|
},
|
1625
1635
|
"additionalProperties": false,
|
@@ -101,6 +101,17 @@
|
|
101
101
|
}
|
102
102
|
},
|
103
103
|
"additionalProperties": false
|
104
|
+
},
|
105
|
+
"headers": {
|
106
|
+
"type": "object",
|
107
|
+
"properties": {
|
108
|
+
"content-type": {
|
109
|
+
"type": "string",
|
110
|
+
"minLength": 1,
|
111
|
+
"maxLength": 255
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"additionalProperties": false
|
104
115
|
}
|
105
116
|
}
|
106
117
|
}
|
@@ -499,7 +510,6 @@
|
|
499
510
|
"deviceTagConnect",
|
500
511
|
"deviceIdDisconnect",
|
501
512
|
"deviceTagDisconnect",
|
502
|
-
"integration",
|
503
513
|
"notebook",
|
504
514
|
"onBoot",
|
505
515
|
"onConnect",
|
@@ -533,21 +543,15 @@
|
|
533
543
|
"deviceIdsTagsDisconnect",
|
534
544
|
"eeaInit",
|
535
545
|
"flowError",
|
536
|
-
"azureEventHub",
|
537
|
-
"googlePubSub",
|
538
|
-
"mqtt",
|
539
546
|
"notebook",
|
540
547
|
"onBoot",
|
541
548
|
"onConnect",
|
542
549
|
"onDisconnect",
|
543
|
-
"particle",
|
544
|
-
"sqs",
|
545
550
|
"udp",
|
546
551
|
"webhook",
|
547
552
|
"resourceJobIteration",
|
548
553
|
"resourceJobIterationTimeout",
|
549
|
-
"resourceJobComplete"
|
550
|
-
"websocket"
|
554
|
+
"resourceJobComplete"
|
551
555
|
]
|
552
556
|
},
|
553
557
|
"label": {
|
@@ -718,6 +722,120 @@
|
|
718
722
|
],
|
719
723
|
"additionalProperties": false
|
720
724
|
},
|
725
|
+
{
|
726
|
+
"type": "object",
|
727
|
+
"properties": {
|
728
|
+
"key": {
|
729
|
+
"type": "string",
|
730
|
+
"maxLength": 1024
|
731
|
+
},
|
732
|
+
"type": {
|
733
|
+
"type": "string",
|
734
|
+
"enum": [
|
735
|
+
"integration"
|
736
|
+
]
|
737
|
+
},
|
738
|
+
"config": {
|
739
|
+
"type": "object",
|
740
|
+
"properties": {
|
741
|
+
"connect": {
|
742
|
+
"type": "boolean"
|
743
|
+
},
|
744
|
+
"message": {
|
745
|
+
"type": "boolean"
|
746
|
+
},
|
747
|
+
"disconnect": {
|
748
|
+
"type": "boolean"
|
749
|
+
},
|
750
|
+
"failure": {
|
751
|
+
"type": "boolean"
|
752
|
+
}
|
753
|
+
},
|
754
|
+
"additionalProperties": false
|
755
|
+
},
|
756
|
+
"meta": {
|
757
|
+
"type": "object",
|
758
|
+
"properties": {
|
759
|
+
"category": {
|
760
|
+
"type": "string",
|
761
|
+
"enum": [
|
762
|
+
"trigger"
|
763
|
+
]
|
764
|
+
},
|
765
|
+
"name": {
|
766
|
+
"type": "string",
|
767
|
+
"enum": [
|
768
|
+
"azureEventHub",
|
769
|
+
"googlePubSub",
|
770
|
+
"mqtt",
|
771
|
+
"particle",
|
772
|
+
"sqs",
|
773
|
+
"websocket"
|
774
|
+
]
|
775
|
+
},
|
776
|
+
"label": {
|
777
|
+
"type": "string",
|
778
|
+
"minLength": 1,
|
779
|
+
"maxLength": 255
|
780
|
+
},
|
781
|
+
"x": {
|
782
|
+
"type": "number"
|
783
|
+
},
|
784
|
+
"y": {
|
785
|
+
"type": "number"
|
786
|
+
},
|
787
|
+
"uiId": {
|
788
|
+
"type": "string",
|
789
|
+
"maxLength": 48
|
790
|
+
},
|
791
|
+
"description": {
|
792
|
+
"type": "string",
|
793
|
+
"maxLength": 32767
|
794
|
+
},
|
795
|
+
"icon": {
|
796
|
+
"type": "string",
|
797
|
+
"maxLength": 1024
|
798
|
+
},
|
799
|
+
"color": {
|
800
|
+
"type": "string",
|
801
|
+
"maxLength": 1024
|
802
|
+
},
|
803
|
+
"inputCount": {
|
804
|
+
"type": "number"
|
805
|
+
},
|
806
|
+
"outputCount": {
|
807
|
+
"type": "number"
|
808
|
+
},
|
809
|
+
"triggerId": {
|
810
|
+
"type": "string",
|
811
|
+
"maxLength": 48
|
812
|
+
},
|
813
|
+
"id": {
|
814
|
+
"type": "string",
|
815
|
+
"maxLength": 48
|
816
|
+
}
|
817
|
+
},
|
818
|
+
"additionalProperties": false
|
819
|
+
},
|
820
|
+
"outputIds": {
|
821
|
+
"type": "array",
|
822
|
+
"items": {
|
823
|
+
"type": "array",
|
824
|
+
"items": {
|
825
|
+
"type": "string",
|
826
|
+
"maxLength": 48,
|
827
|
+
"minLength": 1
|
828
|
+
},
|
829
|
+
"maxItems": 100
|
830
|
+
},
|
831
|
+
"maxItems": 100
|
832
|
+
}
|
833
|
+
},
|
834
|
+
"required": [
|
835
|
+
"type"
|
836
|
+
],
|
837
|
+
"additionalProperties": false
|
838
|
+
},
|
721
839
|
{
|
722
840
|
"type": "object",
|
723
841
|
"properties": {
|
@@ -3275,7 +3393,6 @@
|
|
3275
3393
|
"deviceTagConnect",
|
3276
3394
|
"deviceIdDisconnect",
|
3277
3395
|
"deviceTagDisconnect",
|
3278
|
-
"integration",
|
3279
3396
|
"notebook",
|
3280
3397
|
"onBoot",
|
3281
3398
|
"onConnect",
|
@@ -3309,21 +3426,15 @@
|
|
3309
3426
|
"deviceIdsTagsDisconnect",
|
3310
3427
|
"eeaInit",
|
3311
3428
|
"flowError",
|
3312
|
-
"azureEventHub",
|
3313
|
-
"googlePubSub",
|
3314
|
-
"mqtt",
|
3315
3429
|
"notebook",
|
3316
3430
|
"onBoot",
|
3317
3431
|
"onConnect",
|
3318
3432
|
"onDisconnect",
|
3319
|
-
"particle",
|
3320
|
-
"sqs",
|
3321
3433
|
"udp",
|
3322
3434
|
"webhook",
|
3323
3435
|
"resourceJobIteration",
|
3324
3436
|
"resourceJobIterationTimeout",
|
3325
|
-
"resourceJobComplete"
|
3326
|
-
"websocket"
|
3437
|
+
"resourceJobComplete"
|
3327
3438
|
]
|
3328
3439
|
},
|
3329
3440
|
"label": {
|
@@ -3494,6 +3605,120 @@
|
|
3494
3605
|
],
|
3495
3606
|
"additionalProperties": false
|
3496
3607
|
},
|
3608
|
+
{
|
3609
|
+
"type": "object",
|
3610
|
+
"properties": {
|
3611
|
+
"key": {
|
3612
|
+
"type": "string",
|
3613
|
+
"maxLength": 1024
|
3614
|
+
},
|
3615
|
+
"type": {
|
3616
|
+
"type": "string",
|
3617
|
+
"enum": [
|
3618
|
+
"integration"
|
3619
|
+
]
|
3620
|
+
},
|
3621
|
+
"config": {
|
3622
|
+
"type": "object",
|
3623
|
+
"properties": {
|
3624
|
+
"connect": {
|
3625
|
+
"type": "boolean"
|
3626
|
+
},
|
3627
|
+
"message": {
|
3628
|
+
"type": "boolean"
|
3629
|
+
},
|
3630
|
+
"disconnect": {
|
3631
|
+
"type": "boolean"
|
3632
|
+
},
|
3633
|
+
"failure": {
|
3634
|
+
"type": "boolean"
|
3635
|
+
}
|
3636
|
+
},
|
3637
|
+
"additionalProperties": false
|
3638
|
+
},
|
3639
|
+
"meta": {
|
3640
|
+
"type": "object",
|
3641
|
+
"properties": {
|
3642
|
+
"category": {
|
3643
|
+
"type": "string",
|
3644
|
+
"enum": [
|
3645
|
+
"trigger"
|
3646
|
+
]
|
3647
|
+
},
|
3648
|
+
"name": {
|
3649
|
+
"type": "string",
|
3650
|
+
"enum": [
|
3651
|
+
"azureEventHub",
|
3652
|
+
"googlePubSub",
|
3653
|
+
"mqtt",
|
3654
|
+
"particle",
|
3655
|
+
"sqs",
|
3656
|
+
"websocket"
|
3657
|
+
]
|
3658
|
+
},
|
3659
|
+
"label": {
|
3660
|
+
"type": "string",
|
3661
|
+
"minLength": 1,
|
3662
|
+
"maxLength": 255
|
3663
|
+
},
|
3664
|
+
"x": {
|
3665
|
+
"type": "number"
|
3666
|
+
},
|
3667
|
+
"y": {
|
3668
|
+
"type": "number"
|
3669
|
+
},
|
3670
|
+
"uiId": {
|
3671
|
+
"type": "string",
|
3672
|
+
"maxLength": 48
|
3673
|
+
},
|
3674
|
+
"description": {
|
3675
|
+
"type": "string",
|
3676
|
+
"maxLength": 32767
|
3677
|
+
},
|
3678
|
+
"icon": {
|
3679
|
+
"type": "string",
|
3680
|
+
"maxLength": 1024
|
3681
|
+
},
|
3682
|
+
"color": {
|
3683
|
+
"type": "string",
|
3684
|
+
"maxLength": 1024
|
3685
|
+
},
|
3686
|
+
"inputCount": {
|
3687
|
+
"type": "number"
|
3688
|
+
},
|
3689
|
+
"outputCount": {
|
3690
|
+
"type": "number"
|
3691
|
+
},
|
3692
|
+
"triggerId": {
|
3693
|
+
"type": "string",
|
3694
|
+
"maxLength": 48
|
3695
|
+
},
|
3696
|
+
"id": {
|
3697
|
+
"type": "string",
|
3698
|
+
"maxLength": 48
|
3699
|
+
}
|
3700
|
+
},
|
3701
|
+
"additionalProperties": false
|
3702
|
+
},
|
3703
|
+
"outputIds": {
|
3704
|
+
"type": "array",
|
3705
|
+
"items": {
|
3706
|
+
"type": "array",
|
3707
|
+
"items": {
|
3708
|
+
"type": "string",
|
3709
|
+
"maxLength": 48,
|
3710
|
+
"minLength": 1
|
3711
|
+
},
|
3712
|
+
"maxItems": 100
|
3713
|
+
},
|
3714
|
+
"maxItems": 100
|
3715
|
+
}
|
3716
|
+
},
|
3717
|
+
"required": [
|
3718
|
+
"type"
|
3719
|
+
],
|
3720
|
+
"additionalProperties": false
|
3721
|
+
},
|
3497
3722
|
{
|
3498
3723
|
"type": "object",
|
3499
3724
|
"properties": {
|
@@ -5960,7 +6185,6 @@
|
|
5960
6185
|
"deviceTagConnect",
|
5961
6186
|
"deviceIdDisconnect",
|
5962
6187
|
"deviceTagDisconnect",
|
5963
|
-
"integration",
|
5964
6188
|
"notebook",
|
5965
6189
|
"onBoot",
|
5966
6190
|
"onConnect",
|
@@ -5994,21 +6218,15 @@
|
|
5994
6218
|
"deviceIdsTagsDisconnect",
|
5995
6219
|
"eeaInit",
|
5996
6220
|
"flowError",
|
5997
|
-
"azureEventHub",
|
5998
|
-
"googlePubSub",
|
5999
|
-
"mqtt",
|
6000
6221
|
"notebook",
|
6001
6222
|
"onBoot",
|
6002
6223
|
"onConnect",
|
6003
6224
|
"onDisconnect",
|
6004
|
-
"particle",
|
6005
|
-
"sqs",
|
6006
6225
|
"udp",
|
6007
6226
|
"webhook",
|
6008
6227
|
"resourceJobIteration",
|
6009
6228
|
"resourceJobIterationTimeout",
|
6010
|
-
"resourceJobComplete"
|
6011
|
-
"websocket"
|
6229
|
+
"resourceJobComplete"
|
6012
6230
|
]
|
6013
6231
|
},
|
6014
6232
|
"label": {
|
@@ -6179,6 +6397,120 @@
|
|
6179
6397
|
],
|
6180
6398
|
"additionalProperties": false
|
6181
6399
|
},
|
6400
|
+
{
|
6401
|
+
"type": "object",
|
6402
|
+
"properties": {
|
6403
|
+
"key": {
|
6404
|
+
"type": "string",
|
6405
|
+
"maxLength": 1024
|
6406
|
+
},
|
6407
|
+
"type": {
|
6408
|
+
"type": "string",
|
6409
|
+
"enum": [
|
6410
|
+
"integration"
|
6411
|
+
]
|
6412
|
+
},
|
6413
|
+
"config": {
|
6414
|
+
"type": "object",
|
6415
|
+
"properties": {
|
6416
|
+
"connect": {
|
6417
|
+
"type": "boolean"
|
6418
|
+
},
|
6419
|
+
"message": {
|
6420
|
+
"type": "boolean"
|
6421
|
+
},
|
6422
|
+
"disconnect": {
|
6423
|
+
"type": "boolean"
|
6424
|
+
},
|
6425
|
+
"failure": {
|
6426
|
+
"type": "boolean"
|
6427
|
+
}
|
6428
|
+
},
|
6429
|
+
"additionalProperties": false
|
6430
|
+
},
|
6431
|
+
"meta": {
|
6432
|
+
"type": "object",
|
6433
|
+
"properties": {
|
6434
|
+
"category": {
|
6435
|
+
"type": "string",
|
6436
|
+
"enum": [
|
6437
|
+
"trigger"
|
6438
|
+
]
|
6439
|
+
},
|
6440
|
+
"name": {
|
6441
|
+
"type": "string",
|
6442
|
+
"enum": [
|
6443
|
+
"azureEventHub",
|
6444
|
+
"googlePubSub",
|
6445
|
+
"mqtt",
|
6446
|
+
"particle",
|
6447
|
+
"sqs",
|
6448
|
+
"websocket"
|
6449
|
+
]
|
6450
|
+
},
|
6451
|
+
"label": {
|
6452
|
+
"type": "string",
|
6453
|
+
"minLength": 1,
|
6454
|
+
"maxLength": 255
|
6455
|
+
},
|
6456
|
+
"x": {
|
6457
|
+
"type": "number"
|
6458
|
+
},
|
6459
|
+
"y": {
|
6460
|
+
"type": "number"
|
6461
|
+
},
|
6462
|
+
"uiId": {
|
6463
|
+
"type": "string",
|
6464
|
+
"maxLength": 48
|
6465
|
+
},
|
6466
|
+
"description": {
|
6467
|
+
"type": "string",
|
6468
|
+
"maxLength": 32767
|
6469
|
+
},
|
6470
|
+
"icon": {
|
6471
|
+
"type": "string",
|
6472
|
+
"maxLength": 1024
|
6473
|
+
},
|
6474
|
+
"color": {
|
6475
|
+
"type": "string",
|
6476
|
+
"maxLength": 1024
|
6477
|
+
},
|
6478
|
+
"inputCount": {
|
6479
|
+
"type": "number"
|
6480
|
+
},
|
6481
|
+
"outputCount": {
|
6482
|
+
"type": "number"
|
6483
|
+
},
|
6484
|
+
"triggerId": {
|
6485
|
+
"type": "string",
|
6486
|
+
"maxLength": 48
|
6487
|
+
},
|
6488
|
+
"id": {
|
6489
|
+
"type": "string",
|
6490
|
+
"maxLength": 48
|
6491
|
+
}
|
6492
|
+
},
|
6493
|
+
"additionalProperties": false
|
6494
|
+
},
|
6495
|
+
"outputIds": {
|
6496
|
+
"type": "array",
|
6497
|
+
"items": {
|
6498
|
+
"type": "array",
|
6499
|
+
"items": {
|
6500
|
+
"type": "string",
|
6501
|
+
"maxLength": 48,
|
6502
|
+
"minLength": 1
|
6503
|
+
},
|
6504
|
+
"maxItems": 100
|
6505
|
+
},
|
6506
|
+
"maxItems": 100
|
6507
|
+
}
|
6508
|
+
},
|
6509
|
+
"required": [
|
6510
|
+
"type"
|
6511
|
+
],
|
6512
|
+
"additionalProperties": false
|
6513
|
+
},
|
6182
6514
|
{
|
6183
6515
|
"type": "object",
|
6184
6516
|
"properties": {
|