losant_rest 1.19.8 → 1.19.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +3386 -964
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/application.json +20 -4
- data/schemas/applicationCreationByTemplateResult.json +20 -4
- data/schemas/applicationTemplate.json +4 -0
- data/schemas/applicationTemplates.json +4 -0
- data/schemas/applications.json +20 -4
- data/schemas/credential.json +7 -1
- data/schemas/credentialLinkedResources.json +330 -18
- data/schemas/credentialPatch.json +11 -0
- data/schemas/credentialPost.json +16 -1
- data/schemas/credentials.json +7 -1
- data/schemas/experienceLinkedResources.json +330 -18
- data/schemas/flow.json +110 -6
- data/schemas/flowPatch.json +110 -6
- data/schemas/flowPost.json +110 -6
- data/schemas/flowVersion.json +220 -12
- data/schemas/flowVersionPost.json +110 -6
- data/schemas/flowVersions.json +220 -12
- data/schemas/flows.json +110 -6
- data/schemas/flowsImportPost.json +220 -12
- data/schemas/flowsImportResult.json +330 -18
- data/schemas/historicalSummaries.json +40 -8
- data/schemas/historicalSummary.json +40 -8
- data/schemas/instanceCustomNodePatch.json +8 -6
- data/schemas/instanceCustomNodePost.json +8 -6
- data/schemas/instanceOrg.json +20 -4
- data/schemas/instanceOrgs.json +20 -4
- data/schemas/instanceSandbox.json +20 -4
- data/schemas/instanceSandboxes.json +20 -4
- data/schemas/me.json +20 -4
- data/schemas/org.json +20 -4
- data/schemas/orgs.json +20 -4
- data/schemas/payloadStats.json +20 -4
- data/schemas/webhook.json +13 -0
- data/schemas/webhookPatch.json +13 -0
- data/schemas/webhookPost.json +13 -0
- data/schemas/webhooks.json +13 -0
- metadata +2 -2
@@ -494,6 +494,108 @@
|
|
494
494
|
"type": "array",
|
495
495
|
"items": {
|
496
496
|
"oneOf": [
|
497
|
+
{
|
498
|
+
"type": "object",
|
499
|
+
"properties": {
|
500
|
+
"key": {
|
501
|
+
"type": "string",
|
502
|
+
"maxLength": 1024
|
503
|
+
},
|
504
|
+
"type": {
|
505
|
+
"type": "string",
|
506
|
+
"enum": [
|
507
|
+
"appFile"
|
508
|
+
]
|
509
|
+
},
|
510
|
+
"config": {
|
511
|
+
"type": "object",
|
512
|
+
"properties": {
|
513
|
+
"delete": {
|
514
|
+
"type": "boolean"
|
515
|
+
},
|
516
|
+
"create": {
|
517
|
+
"type": "boolean"
|
518
|
+
},
|
519
|
+
"update": {
|
520
|
+
"type": "boolean"
|
521
|
+
}
|
522
|
+
},
|
523
|
+
"additionalProperties": false
|
524
|
+
},
|
525
|
+
"meta": {
|
526
|
+
"type": "object",
|
527
|
+
"properties": {
|
528
|
+
"category": {
|
529
|
+
"type": "string",
|
530
|
+
"enum": [
|
531
|
+
"trigger"
|
532
|
+
]
|
533
|
+
},
|
534
|
+
"name": {
|
535
|
+
"type": "string",
|
536
|
+
"enum": [
|
537
|
+
"appFile"
|
538
|
+
]
|
539
|
+
},
|
540
|
+
"label": {
|
541
|
+
"type": "string",
|
542
|
+
"minLength": 1,
|
543
|
+
"maxLength": 255
|
544
|
+
},
|
545
|
+
"x": {
|
546
|
+
"type": "number"
|
547
|
+
},
|
548
|
+
"y": {
|
549
|
+
"type": "number"
|
550
|
+
},
|
551
|
+
"uiId": {
|
552
|
+
"type": "string",
|
553
|
+
"maxLength": 48
|
554
|
+
},
|
555
|
+
"description": {
|
556
|
+
"type": "string",
|
557
|
+
"maxLength": 32767
|
558
|
+
},
|
559
|
+
"icon": {
|
560
|
+
"type": "string",
|
561
|
+
"maxLength": 1024
|
562
|
+
},
|
563
|
+
"color": {
|
564
|
+
"type": "string",
|
565
|
+
"maxLength": 1024
|
566
|
+
},
|
567
|
+
"inputCount": {
|
568
|
+
"type": "number"
|
569
|
+
},
|
570
|
+
"outputCount": {
|
571
|
+
"type": "number"
|
572
|
+
},
|
573
|
+
"id": {
|
574
|
+
"type": "string",
|
575
|
+
"maxLength": 48
|
576
|
+
}
|
577
|
+
},
|
578
|
+
"additionalProperties": false
|
579
|
+
},
|
580
|
+
"outputIds": {
|
581
|
+
"type": "array",
|
582
|
+
"items": {
|
583
|
+
"type": "array",
|
584
|
+
"items": {
|
585
|
+
"type": "string",
|
586
|
+
"maxLength": 48,
|
587
|
+
"minLength": 1
|
588
|
+
},
|
589
|
+
"maxItems": 100
|
590
|
+
},
|
591
|
+
"maxItems": 100
|
592
|
+
}
|
593
|
+
},
|
594
|
+
"required": [
|
595
|
+
"type"
|
596
|
+
],
|
597
|
+
"additionalProperties": false
|
598
|
+
},
|
497
599
|
{
|
498
600
|
"type": "object",
|
499
601
|
"properties": {
|
@@ -510,15 +612,16 @@
|
|
510
612
|
"deviceTagConnect",
|
511
613
|
"deviceIdDisconnect",
|
512
614
|
"deviceTagDisconnect",
|
615
|
+
"inboundEmail",
|
513
616
|
"notebook",
|
514
617
|
"onBoot",
|
515
618
|
"onConnect",
|
516
619
|
"onDisconnect",
|
517
|
-
"
|
518
|
-
"webhook",
|
620
|
+
"resourceJobComplete",
|
519
621
|
"resourceJobIteration",
|
520
622
|
"resourceJobIterationTimeout",
|
521
|
-
"
|
623
|
+
"udp",
|
624
|
+
"webhook"
|
522
625
|
]
|
523
626
|
},
|
524
627
|
"config": {
|
@@ -543,15 +646,16 @@
|
|
543
646
|
"deviceIdsTagsDisconnect",
|
544
647
|
"eeaInit",
|
545
648
|
"flowError",
|
649
|
+
"inboundEmail",
|
546
650
|
"notebook",
|
547
651
|
"onBoot",
|
548
652
|
"onConnect",
|
549
653
|
"onDisconnect",
|
550
|
-
"
|
551
|
-
"webhook",
|
654
|
+
"resourceJobComplete",
|
552
655
|
"resourceJobIteration",
|
553
656
|
"resourceJobIterationTimeout",
|
554
|
-
"
|
657
|
+
"udp",
|
658
|
+
"webhook"
|
555
659
|
]
|
556
660
|
},
|
557
661
|
"label": {
|
@@ -3377,6 +3481,108 @@
|
|
3377
3481
|
"type": "array",
|
3378
3482
|
"items": {
|
3379
3483
|
"oneOf": [
|
3484
|
+
{
|
3485
|
+
"type": "object",
|
3486
|
+
"properties": {
|
3487
|
+
"key": {
|
3488
|
+
"type": "string",
|
3489
|
+
"maxLength": 1024
|
3490
|
+
},
|
3491
|
+
"type": {
|
3492
|
+
"type": "string",
|
3493
|
+
"enum": [
|
3494
|
+
"appFile"
|
3495
|
+
]
|
3496
|
+
},
|
3497
|
+
"config": {
|
3498
|
+
"type": "object",
|
3499
|
+
"properties": {
|
3500
|
+
"delete": {
|
3501
|
+
"type": "boolean"
|
3502
|
+
},
|
3503
|
+
"create": {
|
3504
|
+
"type": "boolean"
|
3505
|
+
},
|
3506
|
+
"update": {
|
3507
|
+
"type": "boolean"
|
3508
|
+
}
|
3509
|
+
},
|
3510
|
+
"additionalProperties": false
|
3511
|
+
},
|
3512
|
+
"meta": {
|
3513
|
+
"type": "object",
|
3514
|
+
"properties": {
|
3515
|
+
"category": {
|
3516
|
+
"type": "string",
|
3517
|
+
"enum": [
|
3518
|
+
"trigger"
|
3519
|
+
]
|
3520
|
+
},
|
3521
|
+
"name": {
|
3522
|
+
"type": "string",
|
3523
|
+
"enum": [
|
3524
|
+
"appFile"
|
3525
|
+
]
|
3526
|
+
},
|
3527
|
+
"label": {
|
3528
|
+
"type": "string",
|
3529
|
+
"minLength": 1,
|
3530
|
+
"maxLength": 255
|
3531
|
+
},
|
3532
|
+
"x": {
|
3533
|
+
"type": "number"
|
3534
|
+
},
|
3535
|
+
"y": {
|
3536
|
+
"type": "number"
|
3537
|
+
},
|
3538
|
+
"uiId": {
|
3539
|
+
"type": "string",
|
3540
|
+
"maxLength": 48
|
3541
|
+
},
|
3542
|
+
"description": {
|
3543
|
+
"type": "string",
|
3544
|
+
"maxLength": 32767
|
3545
|
+
},
|
3546
|
+
"icon": {
|
3547
|
+
"type": "string",
|
3548
|
+
"maxLength": 1024
|
3549
|
+
},
|
3550
|
+
"color": {
|
3551
|
+
"type": "string",
|
3552
|
+
"maxLength": 1024
|
3553
|
+
},
|
3554
|
+
"inputCount": {
|
3555
|
+
"type": "number"
|
3556
|
+
},
|
3557
|
+
"outputCount": {
|
3558
|
+
"type": "number"
|
3559
|
+
},
|
3560
|
+
"id": {
|
3561
|
+
"type": "string",
|
3562
|
+
"maxLength": 48
|
3563
|
+
}
|
3564
|
+
},
|
3565
|
+
"additionalProperties": false
|
3566
|
+
},
|
3567
|
+
"outputIds": {
|
3568
|
+
"type": "array",
|
3569
|
+
"items": {
|
3570
|
+
"type": "array",
|
3571
|
+
"items": {
|
3572
|
+
"type": "string",
|
3573
|
+
"maxLength": 48,
|
3574
|
+
"minLength": 1
|
3575
|
+
},
|
3576
|
+
"maxItems": 100
|
3577
|
+
},
|
3578
|
+
"maxItems": 100
|
3579
|
+
}
|
3580
|
+
},
|
3581
|
+
"required": [
|
3582
|
+
"type"
|
3583
|
+
],
|
3584
|
+
"additionalProperties": false
|
3585
|
+
},
|
3380
3586
|
{
|
3381
3587
|
"type": "object",
|
3382
3588
|
"properties": {
|
@@ -3393,15 +3599,16 @@
|
|
3393
3599
|
"deviceTagConnect",
|
3394
3600
|
"deviceIdDisconnect",
|
3395
3601
|
"deviceTagDisconnect",
|
3602
|
+
"inboundEmail",
|
3396
3603
|
"notebook",
|
3397
3604
|
"onBoot",
|
3398
3605
|
"onConnect",
|
3399
3606
|
"onDisconnect",
|
3400
|
-
"
|
3401
|
-
"webhook",
|
3607
|
+
"resourceJobComplete",
|
3402
3608
|
"resourceJobIteration",
|
3403
3609
|
"resourceJobIterationTimeout",
|
3404
|
-
"
|
3610
|
+
"udp",
|
3611
|
+
"webhook"
|
3405
3612
|
]
|
3406
3613
|
},
|
3407
3614
|
"config": {
|
@@ -3426,15 +3633,16 @@
|
|
3426
3633
|
"deviceIdsTagsDisconnect",
|
3427
3634
|
"eeaInit",
|
3428
3635
|
"flowError",
|
3636
|
+
"inboundEmail",
|
3429
3637
|
"notebook",
|
3430
3638
|
"onBoot",
|
3431
3639
|
"onConnect",
|
3432
3640
|
"onDisconnect",
|
3433
|
-
"
|
3434
|
-
"webhook",
|
3641
|
+
"resourceJobComplete",
|
3435
3642
|
"resourceJobIteration",
|
3436
3643
|
"resourceJobIterationTimeout",
|
3437
|
-
"
|
3644
|
+
"udp",
|
3645
|
+
"webhook"
|
3438
3646
|
]
|
3439
3647
|
},
|
3440
3648
|
"label": {
|
@@ -6169,6 +6377,108 @@
|
|
6169
6377
|
"type": "array",
|
6170
6378
|
"items": {
|
6171
6379
|
"oneOf": [
|
6380
|
+
{
|
6381
|
+
"type": "object",
|
6382
|
+
"properties": {
|
6383
|
+
"key": {
|
6384
|
+
"type": "string",
|
6385
|
+
"maxLength": 1024
|
6386
|
+
},
|
6387
|
+
"type": {
|
6388
|
+
"type": "string",
|
6389
|
+
"enum": [
|
6390
|
+
"appFile"
|
6391
|
+
]
|
6392
|
+
},
|
6393
|
+
"config": {
|
6394
|
+
"type": "object",
|
6395
|
+
"properties": {
|
6396
|
+
"delete": {
|
6397
|
+
"type": "boolean"
|
6398
|
+
},
|
6399
|
+
"create": {
|
6400
|
+
"type": "boolean"
|
6401
|
+
},
|
6402
|
+
"update": {
|
6403
|
+
"type": "boolean"
|
6404
|
+
}
|
6405
|
+
},
|
6406
|
+
"additionalProperties": false
|
6407
|
+
},
|
6408
|
+
"meta": {
|
6409
|
+
"type": "object",
|
6410
|
+
"properties": {
|
6411
|
+
"category": {
|
6412
|
+
"type": "string",
|
6413
|
+
"enum": [
|
6414
|
+
"trigger"
|
6415
|
+
]
|
6416
|
+
},
|
6417
|
+
"name": {
|
6418
|
+
"type": "string",
|
6419
|
+
"enum": [
|
6420
|
+
"appFile"
|
6421
|
+
]
|
6422
|
+
},
|
6423
|
+
"label": {
|
6424
|
+
"type": "string",
|
6425
|
+
"minLength": 1,
|
6426
|
+
"maxLength": 255
|
6427
|
+
},
|
6428
|
+
"x": {
|
6429
|
+
"type": "number"
|
6430
|
+
},
|
6431
|
+
"y": {
|
6432
|
+
"type": "number"
|
6433
|
+
},
|
6434
|
+
"uiId": {
|
6435
|
+
"type": "string",
|
6436
|
+
"maxLength": 48
|
6437
|
+
},
|
6438
|
+
"description": {
|
6439
|
+
"type": "string",
|
6440
|
+
"maxLength": 32767
|
6441
|
+
},
|
6442
|
+
"icon": {
|
6443
|
+
"type": "string",
|
6444
|
+
"maxLength": 1024
|
6445
|
+
},
|
6446
|
+
"color": {
|
6447
|
+
"type": "string",
|
6448
|
+
"maxLength": 1024
|
6449
|
+
},
|
6450
|
+
"inputCount": {
|
6451
|
+
"type": "number"
|
6452
|
+
},
|
6453
|
+
"outputCount": {
|
6454
|
+
"type": "number"
|
6455
|
+
},
|
6456
|
+
"id": {
|
6457
|
+
"type": "string",
|
6458
|
+
"maxLength": 48
|
6459
|
+
}
|
6460
|
+
},
|
6461
|
+
"additionalProperties": false
|
6462
|
+
},
|
6463
|
+
"outputIds": {
|
6464
|
+
"type": "array",
|
6465
|
+
"items": {
|
6466
|
+
"type": "array",
|
6467
|
+
"items": {
|
6468
|
+
"type": "string",
|
6469
|
+
"maxLength": 48,
|
6470
|
+
"minLength": 1
|
6471
|
+
},
|
6472
|
+
"maxItems": 100
|
6473
|
+
},
|
6474
|
+
"maxItems": 100
|
6475
|
+
}
|
6476
|
+
},
|
6477
|
+
"required": [
|
6478
|
+
"type"
|
6479
|
+
],
|
6480
|
+
"additionalProperties": false
|
6481
|
+
},
|
6172
6482
|
{
|
6173
6483
|
"type": "object",
|
6174
6484
|
"properties": {
|
@@ -6185,15 +6495,16 @@
|
|
6185
6495
|
"deviceTagConnect",
|
6186
6496
|
"deviceIdDisconnect",
|
6187
6497
|
"deviceTagDisconnect",
|
6498
|
+
"inboundEmail",
|
6188
6499
|
"notebook",
|
6189
6500
|
"onBoot",
|
6190
6501
|
"onConnect",
|
6191
6502
|
"onDisconnect",
|
6192
|
-
"
|
6193
|
-
"webhook",
|
6503
|
+
"resourceJobComplete",
|
6194
6504
|
"resourceJobIteration",
|
6195
6505
|
"resourceJobIterationTimeout",
|
6196
|
-
"
|
6506
|
+
"udp",
|
6507
|
+
"webhook"
|
6197
6508
|
]
|
6198
6509
|
},
|
6199
6510
|
"config": {
|
@@ -6218,15 +6529,16 @@
|
|
6218
6529
|
"deviceIdsTagsDisconnect",
|
6219
6530
|
"eeaInit",
|
6220
6531
|
"flowError",
|
6532
|
+
"inboundEmail",
|
6221
6533
|
"notebook",
|
6222
6534
|
"onBoot",
|
6223
6535
|
"onConnect",
|
6224
6536
|
"onDisconnect",
|
6225
|
-
"
|
6226
|
-
"webhook",
|
6537
|
+
"resourceJobComplete",
|
6227
6538
|
"resourceJobIteration",
|
6228
6539
|
"resourceJobIterationTimeout",
|
6229
|
-
"
|
6540
|
+
"udp",
|
6541
|
+
"webhook"
|
6230
6542
|
]
|
6231
6543
|
},
|
6232
6544
|
"label": {
|
data/schemas/flow.json
CHANGED
@@ -103,6 +103,108 @@
|
|
103
103
|
"type": "array",
|
104
104
|
"items": {
|
105
105
|
"oneOf": [
|
106
|
+
{
|
107
|
+
"type": "object",
|
108
|
+
"properties": {
|
109
|
+
"key": {
|
110
|
+
"type": "string",
|
111
|
+
"maxLength": 1024
|
112
|
+
},
|
113
|
+
"type": {
|
114
|
+
"type": "string",
|
115
|
+
"enum": [
|
116
|
+
"appFile"
|
117
|
+
]
|
118
|
+
},
|
119
|
+
"config": {
|
120
|
+
"type": "object",
|
121
|
+
"properties": {
|
122
|
+
"delete": {
|
123
|
+
"type": "boolean"
|
124
|
+
},
|
125
|
+
"create": {
|
126
|
+
"type": "boolean"
|
127
|
+
},
|
128
|
+
"update": {
|
129
|
+
"type": "boolean"
|
130
|
+
}
|
131
|
+
},
|
132
|
+
"additionalProperties": false
|
133
|
+
},
|
134
|
+
"meta": {
|
135
|
+
"type": "object",
|
136
|
+
"properties": {
|
137
|
+
"category": {
|
138
|
+
"type": "string",
|
139
|
+
"enum": [
|
140
|
+
"trigger"
|
141
|
+
]
|
142
|
+
},
|
143
|
+
"name": {
|
144
|
+
"type": "string",
|
145
|
+
"enum": [
|
146
|
+
"appFile"
|
147
|
+
]
|
148
|
+
},
|
149
|
+
"label": {
|
150
|
+
"type": "string",
|
151
|
+
"minLength": 1,
|
152
|
+
"maxLength": 255
|
153
|
+
},
|
154
|
+
"x": {
|
155
|
+
"type": "number"
|
156
|
+
},
|
157
|
+
"y": {
|
158
|
+
"type": "number"
|
159
|
+
},
|
160
|
+
"uiId": {
|
161
|
+
"type": "string",
|
162
|
+
"maxLength": 48
|
163
|
+
},
|
164
|
+
"description": {
|
165
|
+
"type": "string",
|
166
|
+
"maxLength": 32767
|
167
|
+
},
|
168
|
+
"icon": {
|
169
|
+
"type": "string",
|
170
|
+
"maxLength": 1024
|
171
|
+
},
|
172
|
+
"color": {
|
173
|
+
"type": "string",
|
174
|
+
"maxLength": 1024
|
175
|
+
},
|
176
|
+
"inputCount": {
|
177
|
+
"type": "number"
|
178
|
+
},
|
179
|
+
"outputCount": {
|
180
|
+
"type": "number"
|
181
|
+
},
|
182
|
+
"id": {
|
183
|
+
"type": "string",
|
184
|
+
"maxLength": 48
|
185
|
+
}
|
186
|
+
},
|
187
|
+
"additionalProperties": false
|
188
|
+
},
|
189
|
+
"outputIds": {
|
190
|
+
"type": "array",
|
191
|
+
"items": {
|
192
|
+
"type": "array",
|
193
|
+
"items": {
|
194
|
+
"type": "string",
|
195
|
+
"maxLength": 48,
|
196
|
+
"minLength": 1
|
197
|
+
},
|
198
|
+
"maxItems": 100
|
199
|
+
},
|
200
|
+
"maxItems": 100
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"required": [
|
204
|
+
"type"
|
205
|
+
],
|
206
|
+
"additionalProperties": false
|
207
|
+
},
|
106
208
|
{
|
107
209
|
"type": "object",
|
108
210
|
"properties": {
|
@@ -119,15 +221,16 @@
|
|
119
221
|
"deviceTagConnect",
|
120
222
|
"deviceIdDisconnect",
|
121
223
|
"deviceTagDisconnect",
|
224
|
+
"inboundEmail",
|
122
225
|
"notebook",
|
123
226
|
"onBoot",
|
124
227
|
"onConnect",
|
125
228
|
"onDisconnect",
|
126
|
-
"
|
127
|
-
"webhook",
|
229
|
+
"resourceJobComplete",
|
128
230
|
"resourceJobIteration",
|
129
231
|
"resourceJobIterationTimeout",
|
130
|
-
"
|
232
|
+
"udp",
|
233
|
+
"webhook"
|
131
234
|
]
|
132
235
|
},
|
133
236
|
"config": {
|
@@ -152,15 +255,16 @@
|
|
152
255
|
"deviceIdsTagsDisconnect",
|
153
256
|
"eeaInit",
|
154
257
|
"flowError",
|
258
|
+
"inboundEmail",
|
155
259
|
"notebook",
|
156
260
|
"onBoot",
|
157
261
|
"onConnect",
|
158
262
|
"onDisconnect",
|
159
|
-
"
|
160
|
-
"webhook",
|
263
|
+
"resourceJobComplete",
|
161
264
|
"resourceJobIteration",
|
162
265
|
"resourceJobIterationTimeout",
|
163
|
-
"
|
266
|
+
"udp",
|
267
|
+
"webhook"
|
164
268
|
]
|
165
269
|
},
|
166
270
|
"label": {
|