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
@@ -512,6 +512,108 @@
|
|
512
512
|
"type": "array",
|
513
513
|
"items": {
|
514
514
|
"oneOf": [
|
515
|
+
{
|
516
|
+
"type": "object",
|
517
|
+
"properties": {
|
518
|
+
"key": {
|
519
|
+
"type": "string",
|
520
|
+
"maxLength": 1024
|
521
|
+
},
|
522
|
+
"type": {
|
523
|
+
"type": "string",
|
524
|
+
"enum": [
|
525
|
+
"appFile"
|
526
|
+
]
|
527
|
+
},
|
528
|
+
"config": {
|
529
|
+
"type": "object",
|
530
|
+
"properties": {
|
531
|
+
"delete": {
|
532
|
+
"type": "boolean"
|
533
|
+
},
|
534
|
+
"create": {
|
535
|
+
"type": "boolean"
|
536
|
+
},
|
537
|
+
"update": {
|
538
|
+
"type": "boolean"
|
539
|
+
}
|
540
|
+
},
|
541
|
+
"additionalProperties": false
|
542
|
+
},
|
543
|
+
"meta": {
|
544
|
+
"type": "object",
|
545
|
+
"properties": {
|
546
|
+
"category": {
|
547
|
+
"type": "string",
|
548
|
+
"enum": [
|
549
|
+
"trigger"
|
550
|
+
]
|
551
|
+
},
|
552
|
+
"name": {
|
553
|
+
"type": "string",
|
554
|
+
"enum": [
|
555
|
+
"appFile"
|
556
|
+
]
|
557
|
+
},
|
558
|
+
"label": {
|
559
|
+
"type": "string",
|
560
|
+
"minLength": 1,
|
561
|
+
"maxLength": 255
|
562
|
+
},
|
563
|
+
"x": {
|
564
|
+
"type": "number"
|
565
|
+
},
|
566
|
+
"y": {
|
567
|
+
"type": "number"
|
568
|
+
},
|
569
|
+
"uiId": {
|
570
|
+
"type": "string",
|
571
|
+
"maxLength": 48
|
572
|
+
},
|
573
|
+
"description": {
|
574
|
+
"type": "string",
|
575
|
+
"maxLength": 32767
|
576
|
+
},
|
577
|
+
"icon": {
|
578
|
+
"type": "string",
|
579
|
+
"maxLength": 1024
|
580
|
+
},
|
581
|
+
"color": {
|
582
|
+
"type": "string",
|
583
|
+
"maxLength": 1024
|
584
|
+
},
|
585
|
+
"inputCount": {
|
586
|
+
"type": "number"
|
587
|
+
},
|
588
|
+
"outputCount": {
|
589
|
+
"type": "number"
|
590
|
+
},
|
591
|
+
"id": {
|
592
|
+
"type": "string",
|
593
|
+
"maxLength": 48
|
594
|
+
}
|
595
|
+
},
|
596
|
+
"additionalProperties": false
|
597
|
+
},
|
598
|
+
"outputIds": {
|
599
|
+
"type": "array",
|
600
|
+
"items": {
|
601
|
+
"type": "array",
|
602
|
+
"items": {
|
603
|
+
"type": "string",
|
604
|
+
"maxLength": 48,
|
605
|
+
"minLength": 1
|
606
|
+
},
|
607
|
+
"maxItems": 100
|
608
|
+
},
|
609
|
+
"maxItems": 100
|
610
|
+
}
|
611
|
+
},
|
612
|
+
"required": [
|
613
|
+
"type"
|
614
|
+
],
|
615
|
+
"additionalProperties": false
|
616
|
+
},
|
515
617
|
{
|
516
618
|
"type": "object",
|
517
619
|
"properties": {
|
@@ -528,15 +630,16 @@
|
|
528
630
|
"deviceTagConnect",
|
529
631
|
"deviceIdDisconnect",
|
530
632
|
"deviceTagDisconnect",
|
633
|
+
"inboundEmail",
|
531
634
|
"notebook",
|
532
635
|
"onBoot",
|
533
636
|
"onConnect",
|
534
637
|
"onDisconnect",
|
535
|
-
"
|
536
|
-
"webhook",
|
638
|
+
"resourceJobComplete",
|
537
639
|
"resourceJobIteration",
|
538
640
|
"resourceJobIterationTimeout",
|
539
|
-
"
|
641
|
+
"udp",
|
642
|
+
"webhook"
|
540
643
|
]
|
541
644
|
},
|
542
645
|
"config": {
|
@@ -561,15 +664,16 @@
|
|
561
664
|
"deviceIdsTagsDisconnect",
|
562
665
|
"eeaInit",
|
563
666
|
"flowError",
|
667
|
+
"inboundEmail",
|
564
668
|
"notebook",
|
565
669
|
"onBoot",
|
566
670
|
"onConnect",
|
567
671
|
"onDisconnect",
|
568
|
-
"
|
569
|
-
"webhook",
|
672
|
+
"resourceJobComplete",
|
570
673
|
"resourceJobIteration",
|
571
674
|
"resourceJobIterationTimeout",
|
572
|
-
"
|
675
|
+
"udp",
|
676
|
+
"webhook"
|
573
677
|
]
|
574
678
|
},
|
575
679
|
"label": {
|
@@ -3395,6 +3499,108 @@
|
|
3395
3499
|
"type": "array",
|
3396
3500
|
"items": {
|
3397
3501
|
"oneOf": [
|
3502
|
+
{
|
3503
|
+
"type": "object",
|
3504
|
+
"properties": {
|
3505
|
+
"key": {
|
3506
|
+
"type": "string",
|
3507
|
+
"maxLength": 1024
|
3508
|
+
},
|
3509
|
+
"type": {
|
3510
|
+
"type": "string",
|
3511
|
+
"enum": [
|
3512
|
+
"appFile"
|
3513
|
+
]
|
3514
|
+
},
|
3515
|
+
"config": {
|
3516
|
+
"type": "object",
|
3517
|
+
"properties": {
|
3518
|
+
"delete": {
|
3519
|
+
"type": "boolean"
|
3520
|
+
},
|
3521
|
+
"create": {
|
3522
|
+
"type": "boolean"
|
3523
|
+
},
|
3524
|
+
"update": {
|
3525
|
+
"type": "boolean"
|
3526
|
+
}
|
3527
|
+
},
|
3528
|
+
"additionalProperties": false
|
3529
|
+
},
|
3530
|
+
"meta": {
|
3531
|
+
"type": "object",
|
3532
|
+
"properties": {
|
3533
|
+
"category": {
|
3534
|
+
"type": "string",
|
3535
|
+
"enum": [
|
3536
|
+
"trigger"
|
3537
|
+
]
|
3538
|
+
},
|
3539
|
+
"name": {
|
3540
|
+
"type": "string",
|
3541
|
+
"enum": [
|
3542
|
+
"appFile"
|
3543
|
+
]
|
3544
|
+
},
|
3545
|
+
"label": {
|
3546
|
+
"type": "string",
|
3547
|
+
"minLength": 1,
|
3548
|
+
"maxLength": 255
|
3549
|
+
},
|
3550
|
+
"x": {
|
3551
|
+
"type": "number"
|
3552
|
+
},
|
3553
|
+
"y": {
|
3554
|
+
"type": "number"
|
3555
|
+
},
|
3556
|
+
"uiId": {
|
3557
|
+
"type": "string",
|
3558
|
+
"maxLength": 48
|
3559
|
+
},
|
3560
|
+
"description": {
|
3561
|
+
"type": "string",
|
3562
|
+
"maxLength": 32767
|
3563
|
+
},
|
3564
|
+
"icon": {
|
3565
|
+
"type": "string",
|
3566
|
+
"maxLength": 1024
|
3567
|
+
},
|
3568
|
+
"color": {
|
3569
|
+
"type": "string",
|
3570
|
+
"maxLength": 1024
|
3571
|
+
},
|
3572
|
+
"inputCount": {
|
3573
|
+
"type": "number"
|
3574
|
+
},
|
3575
|
+
"outputCount": {
|
3576
|
+
"type": "number"
|
3577
|
+
},
|
3578
|
+
"id": {
|
3579
|
+
"type": "string",
|
3580
|
+
"maxLength": 48
|
3581
|
+
}
|
3582
|
+
},
|
3583
|
+
"additionalProperties": false
|
3584
|
+
},
|
3585
|
+
"outputIds": {
|
3586
|
+
"type": "array",
|
3587
|
+
"items": {
|
3588
|
+
"type": "array",
|
3589
|
+
"items": {
|
3590
|
+
"type": "string",
|
3591
|
+
"maxLength": 48,
|
3592
|
+
"minLength": 1
|
3593
|
+
},
|
3594
|
+
"maxItems": 100
|
3595
|
+
},
|
3596
|
+
"maxItems": 100
|
3597
|
+
}
|
3598
|
+
},
|
3599
|
+
"required": [
|
3600
|
+
"type"
|
3601
|
+
],
|
3602
|
+
"additionalProperties": false
|
3603
|
+
},
|
3398
3604
|
{
|
3399
3605
|
"type": "object",
|
3400
3606
|
"properties": {
|
@@ -3411,15 +3617,16 @@
|
|
3411
3617
|
"deviceTagConnect",
|
3412
3618
|
"deviceIdDisconnect",
|
3413
3619
|
"deviceTagDisconnect",
|
3620
|
+
"inboundEmail",
|
3414
3621
|
"notebook",
|
3415
3622
|
"onBoot",
|
3416
3623
|
"onConnect",
|
3417
3624
|
"onDisconnect",
|
3418
|
-
"
|
3419
|
-
"webhook",
|
3625
|
+
"resourceJobComplete",
|
3420
3626
|
"resourceJobIteration",
|
3421
3627
|
"resourceJobIterationTimeout",
|
3422
|
-
"
|
3628
|
+
"udp",
|
3629
|
+
"webhook"
|
3423
3630
|
]
|
3424
3631
|
},
|
3425
3632
|
"config": {
|
@@ -3444,15 +3651,16 @@
|
|
3444
3651
|
"deviceIdsTagsDisconnect",
|
3445
3652
|
"eeaInit",
|
3446
3653
|
"flowError",
|
3654
|
+
"inboundEmail",
|
3447
3655
|
"notebook",
|
3448
3656
|
"onBoot",
|
3449
3657
|
"onConnect",
|
3450
3658
|
"onDisconnect",
|
3451
|
-
"
|
3452
|
-
"webhook",
|
3659
|
+
"resourceJobComplete",
|
3453
3660
|
"resourceJobIteration",
|
3454
3661
|
"resourceJobIterationTimeout",
|
3455
|
-
"
|
3662
|
+
"udp",
|
3663
|
+
"webhook"
|
3456
3664
|
]
|
3457
3665
|
},
|
3458
3666
|
"label": {
|
@@ -6187,6 +6395,108 @@
|
|
6187
6395
|
"type": "array",
|
6188
6396
|
"items": {
|
6189
6397
|
"oneOf": [
|
6398
|
+
{
|
6399
|
+
"type": "object",
|
6400
|
+
"properties": {
|
6401
|
+
"key": {
|
6402
|
+
"type": "string",
|
6403
|
+
"maxLength": 1024
|
6404
|
+
},
|
6405
|
+
"type": {
|
6406
|
+
"type": "string",
|
6407
|
+
"enum": [
|
6408
|
+
"appFile"
|
6409
|
+
]
|
6410
|
+
},
|
6411
|
+
"config": {
|
6412
|
+
"type": "object",
|
6413
|
+
"properties": {
|
6414
|
+
"delete": {
|
6415
|
+
"type": "boolean"
|
6416
|
+
},
|
6417
|
+
"create": {
|
6418
|
+
"type": "boolean"
|
6419
|
+
},
|
6420
|
+
"update": {
|
6421
|
+
"type": "boolean"
|
6422
|
+
}
|
6423
|
+
},
|
6424
|
+
"additionalProperties": false
|
6425
|
+
},
|
6426
|
+
"meta": {
|
6427
|
+
"type": "object",
|
6428
|
+
"properties": {
|
6429
|
+
"category": {
|
6430
|
+
"type": "string",
|
6431
|
+
"enum": [
|
6432
|
+
"trigger"
|
6433
|
+
]
|
6434
|
+
},
|
6435
|
+
"name": {
|
6436
|
+
"type": "string",
|
6437
|
+
"enum": [
|
6438
|
+
"appFile"
|
6439
|
+
]
|
6440
|
+
},
|
6441
|
+
"label": {
|
6442
|
+
"type": "string",
|
6443
|
+
"minLength": 1,
|
6444
|
+
"maxLength": 255
|
6445
|
+
},
|
6446
|
+
"x": {
|
6447
|
+
"type": "number"
|
6448
|
+
},
|
6449
|
+
"y": {
|
6450
|
+
"type": "number"
|
6451
|
+
},
|
6452
|
+
"uiId": {
|
6453
|
+
"type": "string",
|
6454
|
+
"maxLength": 48
|
6455
|
+
},
|
6456
|
+
"description": {
|
6457
|
+
"type": "string",
|
6458
|
+
"maxLength": 32767
|
6459
|
+
},
|
6460
|
+
"icon": {
|
6461
|
+
"type": "string",
|
6462
|
+
"maxLength": 1024
|
6463
|
+
},
|
6464
|
+
"color": {
|
6465
|
+
"type": "string",
|
6466
|
+
"maxLength": 1024
|
6467
|
+
},
|
6468
|
+
"inputCount": {
|
6469
|
+
"type": "number"
|
6470
|
+
},
|
6471
|
+
"outputCount": {
|
6472
|
+
"type": "number"
|
6473
|
+
},
|
6474
|
+
"id": {
|
6475
|
+
"type": "string",
|
6476
|
+
"maxLength": 48
|
6477
|
+
}
|
6478
|
+
},
|
6479
|
+
"additionalProperties": false
|
6480
|
+
},
|
6481
|
+
"outputIds": {
|
6482
|
+
"type": "array",
|
6483
|
+
"items": {
|
6484
|
+
"type": "array",
|
6485
|
+
"items": {
|
6486
|
+
"type": "string",
|
6487
|
+
"maxLength": 48,
|
6488
|
+
"minLength": 1
|
6489
|
+
},
|
6490
|
+
"maxItems": 100
|
6491
|
+
},
|
6492
|
+
"maxItems": 100
|
6493
|
+
}
|
6494
|
+
},
|
6495
|
+
"required": [
|
6496
|
+
"type"
|
6497
|
+
],
|
6498
|
+
"additionalProperties": false
|
6499
|
+
},
|
6190
6500
|
{
|
6191
6501
|
"type": "object",
|
6192
6502
|
"properties": {
|
@@ -6203,15 +6513,16 @@
|
|
6203
6513
|
"deviceTagConnect",
|
6204
6514
|
"deviceIdDisconnect",
|
6205
6515
|
"deviceTagDisconnect",
|
6516
|
+
"inboundEmail",
|
6206
6517
|
"notebook",
|
6207
6518
|
"onBoot",
|
6208
6519
|
"onConnect",
|
6209
6520
|
"onDisconnect",
|
6210
|
-
"
|
6211
|
-
"webhook",
|
6521
|
+
"resourceJobComplete",
|
6212
6522
|
"resourceJobIteration",
|
6213
6523
|
"resourceJobIterationTimeout",
|
6214
|
-
"
|
6524
|
+
"udp",
|
6525
|
+
"webhook"
|
6215
6526
|
]
|
6216
6527
|
},
|
6217
6528
|
"config": {
|
@@ -6236,15 +6547,16 @@
|
|
6236
6547
|
"deviceIdsTagsDisconnect",
|
6237
6548
|
"eeaInit",
|
6238
6549
|
"flowError",
|
6550
|
+
"inboundEmail",
|
6239
6551
|
"notebook",
|
6240
6552
|
"onBoot",
|
6241
6553
|
"onConnect",
|
6242
6554
|
"onDisconnect",
|
6243
|
-
"
|
6244
|
-
"webhook",
|
6555
|
+
"resourceJobComplete",
|
6245
6556
|
"resourceJobIteration",
|
6246
6557
|
"resourceJobIterationTimeout",
|
6247
|
-
"
|
6558
|
+
"udp",
|
6559
|
+
"webhook"
|
6248
6560
|
]
|
6249
6561
|
},
|
6250
6562
|
"label": {
|
@@ -238,6 +238,17 @@
|
|
238
238
|
}
|
239
239
|
},
|
240
240
|
"additionalProperties": false
|
241
|
+
},
|
242
|
+
"mailgunConfig": {
|
243
|
+
"type": "object",
|
244
|
+
"properties": {
|
245
|
+
"apiKey": {
|
246
|
+
"type": "string",
|
247
|
+
"minLength": 4,
|
248
|
+
"maxLength": 128
|
249
|
+
}
|
250
|
+
},
|
251
|
+
"additionalProperties": false
|
241
252
|
}
|
242
253
|
},
|
243
254
|
"additionalProperties": false
|
data/schemas/credentialPost.json
CHANGED
@@ -27,7 +27,8 @@
|
|
27
27
|
"jwt",
|
28
28
|
"whatsapp",
|
29
29
|
"sql",
|
30
|
-
"mongodb"
|
30
|
+
"mongodb",
|
31
|
+
"mailgun"
|
31
32
|
]
|
32
33
|
},
|
33
34
|
"awsConfig": {
|
@@ -298,6 +299,20 @@
|
|
298
299
|
]
|
299
300
|
},
|
300
301
|
"additionalProperties": false
|
302
|
+
},
|
303
|
+
"mailgunConfig": {
|
304
|
+
"type": "object",
|
305
|
+
"properties": {
|
306
|
+
"apiKey": {
|
307
|
+
"type": "string",
|
308
|
+
"minLength": 4,
|
309
|
+
"maxLength": 128
|
310
|
+
}
|
311
|
+
},
|
312
|
+
"additionalProperties": false,
|
313
|
+
"required": [
|
314
|
+
"apiKey"
|
315
|
+
]
|
301
316
|
}
|
302
317
|
},
|
303
318
|
"additionalProperties": false,
|
data/schemas/credentials.json
CHANGED
@@ -74,7 +74,8 @@
|
|
74
74
|
"jwt",
|
75
75
|
"whatsapp",
|
76
76
|
"sql",
|
77
|
-
"mongodb"
|
77
|
+
"mongodb",
|
78
|
+
"mailgun"
|
78
79
|
]
|
79
80
|
},
|
80
81
|
"awsConfig": {
|
@@ -269,6 +270,11 @@
|
|
269
270
|
"type": "object",
|
270
271
|
"properties": {},
|
271
272
|
"additionalProperties": false
|
273
|
+
},
|
274
|
+
"mailgunConfig": {
|
275
|
+
"type": "object",
|
276
|
+
"properties": {},
|
277
|
+
"additionalProperties": false
|
272
278
|
}
|
273
279
|
},
|
274
280
|
"additionalProperties": false,
|