losant_rest 1.20.0 → 1.20.1
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 +3387 -197
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/applicationDashboardPost.json +94 -8
- data/schemas/credentialLinkedResources.json +414 -0
- data/schemas/dashboard.json +94 -8
- data/schemas/dashboardPatch.json +94 -8
- data/schemas/dashboardPost.json +94 -8
- data/schemas/dashboards.json +94 -8
- data/schemas/experienceLinkedResources.json +414 -0
- data/schemas/flow.json +138 -0
- data/schemas/flowPatch.json +138 -0
- data/schemas/flowPost.json +138 -0
- data/schemas/flowVersion.json +276 -0
- data/schemas/flowVersionPost.json +138 -0
- data/schemas/flowVersions.json +276 -0
- data/schemas/flows.json +138 -0
- data/schemas/flowsImportPost.json +276 -0
- data/schemas/flowsImportResult.json +414 -0
- metadata +2 -2
@@ -340,6 +340,141 @@
|
|
340
340
|
],
|
341
341
|
"additionalProperties": false
|
342
342
|
},
|
343
|
+
{
|
344
|
+
"type": "object",
|
345
|
+
"properties": {
|
346
|
+
"key": {
|
347
|
+
"type": "string",
|
348
|
+
"maxLength": 1024
|
349
|
+
},
|
350
|
+
"type": {
|
351
|
+
"type": "string",
|
352
|
+
"enum": [
|
353
|
+
"beckhoff"
|
354
|
+
]
|
355
|
+
},
|
356
|
+
"config": {
|
357
|
+
"type": "object",
|
358
|
+
"properties": {
|
359
|
+
"localAmsNetId": {
|
360
|
+
"type": "string",
|
361
|
+
"maxLength": 1024
|
362
|
+
},
|
363
|
+
"localAdsPort": {
|
364
|
+
"type": "string",
|
365
|
+
"maxLength": 1024
|
366
|
+
},
|
367
|
+
"targetAmsNetId": {
|
368
|
+
"type": "string",
|
369
|
+
"maxLength": 1024
|
370
|
+
},
|
371
|
+
"targetAdsPort": {
|
372
|
+
"type": "string",
|
373
|
+
"maxLength": 1024
|
374
|
+
},
|
375
|
+
"routerHost": {
|
376
|
+
"type": "string",
|
377
|
+
"maxLength": 1024
|
378
|
+
},
|
379
|
+
"routerTcpPort": {
|
380
|
+
"type": "string",
|
381
|
+
"maxLength": 1024
|
382
|
+
},
|
383
|
+
"cycleTimeMs": {
|
384
|
+
"type": "integer",
|
385
|
+
"minimum": 10,
|
386
|
+
"maximum": 3600000
|
387
|
+
},
|
388
|
+
"subscriptions": {
|
389
|
+
"type": "array",
|
390
|
+
"items": {
|
391
|
+
"type": "object",
|
392
|
+
"properties": {
|
393
|
+
"name": {
|
394
|
+
"type": "string",
|
395
|
+
"maxLength": 1024
|
396
|
+
}
|
397
|
+
}
|
398
|
+
},
|
399
|
+
"maxItems": 100
|
400
|
+
}
|
401
|
+
},
|
402
|
+
"additionalProperties": false
|
403
|
+
},
|
404
|
+
"meta": {
|
405
|
+
"type": "object",
|
406
|
+
"properties": {
|
407
|
+
"category": {
|
408
|
+
"type": "string",
|
409
|
+
"enum": [
|
410
|
+
"trigger"
|
411
|
+
]
|
412
|
+
},
|
413
|
+
"name": {
|
414
|
+
"type": "string",
|
415
|
+
"enum": [
|
416
|
+
"beckhoff"
|
417
|
+
]
|
418
|
+
},
|
419
|
+
"label": {
|
420
|
+
"type": "string",
|
421
|
+
"minLength": 1,
|
422
|
+
"maxLength": 255
|
423
|
+
},
|
424
|
+
"x": {
|
425
|
+
"type": "number"
|
426
|
+
},
|
427
|
+
"y": {
|
428
|
+
"type": "number"
|
429
|
+
},
|
430
|
+
"uiId": {
|
431
|
+
"type": "string",
|
432
|
+
"maxLength": 48
|
433
|
+
},
|
434
|
+
"description": {
|
435
|
+
"type": "string",
|
436
|
+
"maxLength": 32767
|
437
|
+
},
|
438
|
+
"icon": {
|
439
|
+
"type": "string",
|
440
|
+
"maxLength": 1024
|
441
|
+
},
|
442
|
+
"color": {
|
443
|
+
"type": "string",
|
444
|
+
"maxLength": 1024
|
445
|
+
},
|
446
|
+
"inputCount": {
|
447
|
+
"type": "number"
|
448
|
+
},
|
449
|
+
"outputCount": {
|
450
|
+
"type": "number"
|
451
|
+
},
|
452
|
+
"id": {
|
453
|
+
"type": "string",
|
454
|
+
"maxLength": 48
|
455
|
+
}
|
456
|
+
},
|
457
|
+
"additionalProperties": false
|
458
|
+
},
|
459
|
+
"outputIds": {
|
460
|
+
"type": "array",
|
461
|
+
"items": {
|
462
|
+
"type": "array",
|
463
|
+
"items": {
|
464
|
+
"type": "string",
|
465
|
+
"maxLength": 48,
|
466
|
+
"minLength": 1
|
467
|
+
},
|
468
|
+
"maxItems": 100
|
469
|
+
},
|
470
|
+
"maxItems": 100
|
471
|
+
}
|
472
|
+
},
|
473
|
+
"required": [
|
474
|
+
"type"
|
475
|
+
],
|
476
|
+
"additionalProperties": false
|
477
|
+
},
|
343
478
|
{
|
344
479
|
"type": "object",
|
345
480
|
"properties": {
|
@@ -609,6 +744,9 @@
|
|
609
744
|
"once",
|
610
745
|
"each"
|
611
746
|
]
|
747
|
+
},
|
748
|
+
"allowInvalid": {
|
749
|
+
"type": "boolean"
|
612
750
|
}
|
613
751
|
},
|
614
752
|
"additionalProperties": false
|
@@ -3278,6 +3416,141 @@
|
|
3278
3416
|
],
|
3279
3417
|
"additionalProperties": false
|
3280
3418
|
},
|
3419
|
+
{
|
3420
|
+
"type": "object",
|
3421
|
+
"properties": {
|
3422
|
+
"key": {
|
3423
|
+
"type": "string",
|
3424
|
+
"maxLength": 1024
|
3425
|
+
},
|
3426
|
+
"type": {
|
3427
|
+
"type": "string",
|
3428
|
+
"enum": [
|
3429
|
+
"beckhoff"
|
3430
|
+
]
|
3431
|
+
},
|
3432
|
+
"config": {
|
3433
|
+
"type": "object",
|
3434
|
+
"properties": {
|
3435
|
+
"localAmsNetId": {
|
3436
|
+
"type": "string",
|
3437
|
+
"maxLength": 1024
|
3438
|
+
},
|
3439
|
+
"localAdsPort": {
|
3440
|
+
"type": "string",
|
3441
|
+
"maxLength": 1024
|
3442
|
+
},
|
3443
|
+
"targetAmsNetId": {
|
3444
|
+
"type": "string",
|
3445
|
+
"maxLength": 1024
|
3446
|
+
},
|
3447
|
+
"targetAdsPort": {
|
3448
|
+
"type": "string",
|
3449
|
+
"maxLength": 1024
|
3450
|
+
},
|
3451
|
+
"routerHost": {
|
3452
|
+
"type": "string",
|
3453
|
+
"maxLength": 1024
|
3454
|
+
},
|
3455
|
+
"routerTcpPort": {
|
3456
|
+
"type": "string",
|
3457
|
+
"maxLength": 1024
|
3458
|
+
},
|
3459
|
+
"cycleTimeMs": {
|
3460
|
+
"type": "integer",
|
3461
|
+
"minimum": 10,
|
3462
|
+
"maximum": 3600000
|
3463
|
+
},
|
3464
|
+
"subscriptions": {
|
3465
|
+
"type": "array",
|
3466
|
+
"items": {
|
3467
|
+
"type": "object",
|
3468
|
+
"properties": {
|
3469
|
+
"name": {
|
3470
|
+
"type": "string",
|
3471
|
+
"maxLength": 1024
|
3472
|
+
}
|
3473
|
+
}
|
3474
|
+
},
|
3475
|
+
"maxItems": 100
|
3476
|
+
}
|
3477
|
+
},
|
3478
|
+
"additionalProperties": false
|
3479
|
+
},
|
3480
|
+
"meta": {
|
3481
|
+
"type": "object",
|
3482
|
+
"properties": {
|
3483
|
+
"category": {
|
3484
|
+
"type": "string",
|
3485
|
+
"enum": [
|
3486
|
+
"trigger"
|
3487
|
+
]
|
3488
|
+
},
|
3489
|
+
"name": {
|
3490
|
+
"type": "string",
|
3491
|
+
"enum": [
|
3492
|
+
"beckhoff"
|
3493
|
+
]
|
3494
|
+
},
|
3495
|
+
"label": {
|
3496
|
+
"type": "string",
|
3497
|
+
"minLength": 1,
|
3498
|
+
"maxLength": 255
|
3499
|
+
},
|
3500
|
+
"x": {
|
3501
|
+
"type": "number"
|
3502
|
+
},
|
3503
|
+
"y": {
|
3504
|
+
"type": "number"
|
3505
|
+
},
|
3506
|
+
"uiId": {
|
3507
|
+
"type": "string",
|
3508
|
+
"maxLength": 48
|
3509
|
+
},
|
3510
|
+
"description": {
|
3511
|
+
"type": "string",
|
3512
|
+
"maxLength": 32767
|
3513
|
+
},
|
3514
|
+
"icon": {
|
3515
|
+
"type": "string",
|
3516
|
+
"maxLength": 1024
|
3517
|
+
},
|
3518
|
+
"color": {
|
3519
|
+
"type": "string",
|
3520
|
+
"maxLength": 1024
|
3521
|
+
},
|
3522
|
+
"inputCount": {
|
3523
|
+
"type": "number"
|
3524
|
+
},
|
3525
|
+
"outputCount": {
|
3526
|
+
"type": "number"
|
3527
|
+
},
|
3528
|
+
"id": {
|
3529
|
+
"type": "string",
|
3530
|
+
"maxLength": 48
|
3531
|
+
}
|
3532
|
+
},
|
3533
|
+
"additionalProperties": false
|
3534
|
+
},
|
3535
|
+
"outputIds": {
|
3536
|
+
"type": "array",
|
3537
|
+
"items": {
|
3538
|
+
"type": "array",
|
3539
|
+
"items": {
|
3540
|
+
"type": "string",
|
3541
|
+
"maxLength": 48,
|
3542
|
+
"minLength": 1
|
3543
|
+
},
|
3544
|
+
"maxItems": 100
|
3545
|
+
},
|
3546
|
+
"maxItems": 100
|
3547
|
+
}
|
3548
|
+
},
|
3549
|
+
"required": [
|
3550
|
+
"type"
|
3551
|
+
],
|
3552
|
+
"additionalProperties": false
|
3553
|
+
},
|
3281
3554
|
{
|
3282
3555
|
"type": "object",
|
3283
3556
|
"properties": {
|
@@ -3547,6 +3820,9 @@
|
|
3547
3820
|
"once",
|
3548
3821
|
"each"
|
3549
3822
|
]
|
3823
|
+
},
|
3824
|
+
"allowInvalid": {
|
3825
|
+
"type": "boolean"
|
3550
3826
|
}
|
3551
3827
|
},
|
3552
3828
|
"additionalProperties": false
|
@@ -6176,6 +6452,141 @@
|
|
6176
6452
|
],
|
6177
6453
|
"additionalProperties": false
|
6178
6454
|
},
|
6455
|
+
{
|
6456
|
+
"type": "object",
|
6457
|
+
"properties": {
|
6458
|
+
"key": {
|
6459
|
+
"type": "string",
|
6460
|
+
"maxLength": 1024
|
6461
|
+
},
|
6462
|
+
"type": {
|
6463
|
+
"type": "string",
|
6464
|
+
"enum": [
|
6465
|
+
"beckhoff"
|
6466
|
+
]
|
6467
|
+
},
|
6468
|
+
"config": {
|
6469
|
+
"type": "object",
|
6470
|
+
"properties": {
|
6471
|
+
"localAmsNetId": {
|
6472
|
+
"type": "string",
|
6473
|
+
"maxLength": 1024
|
6474
|
+
},
|
6475
|
+
"localAdsPort": {
|
6476
|
+
"type": "string",
|
6477
|
+
"maxLength": 1024
|
6478
|
+
},
|
6479
|
+
"targetAmsNetId": {
|
6480
|
+
"type": "string",
|
6481
|
+
"maxLength": 1024
|
6482
|
+
},
|
6483
|
+
"targetAdsPort": {
|
6484
|
+
"type": "string",
|
6485
|
+
"maxLength": 1024
|
6486
|
+
},
|
6487
|
+
"routerHost": {
|
6488
|
+
"type": "string",
|
6489
|
+
"maxLength": 1024
|
6490
|
+
},
|
6491
|
+
"routerTcpPort": {
|
6492
|
+
"type": "string",
|
6493
|
+
"maxLength": 1024
|
6494
|
+
},
|
6495
|
+
"cycleTimeMs": {
|
6496
|
+
"type": "integer",
|
6497
|
+
"minimum": 10,
|
6498
|
+
"maximum": 3600000
|
6499
|
+
},
|
6500
|
+
"subscriptions": {
|
6501
|
+
"type": "array",
|
6502
|
+
"items": {
|
6503
|
+
"type": "object",
|
6504
|
+
"properties": {
|
6505
|
+
"name": {
|
6506
|
+
"type": "string",
|
6507
|
+
"maxLength": 1024
|
6508
|
+
}
|
6509
|
+
}
|
6510
|
+
},
|
6511
|
+
"maxItems": 100
|
6512
|
+
}
|
6513
|
+
},
|
6514
|
+
"additionalProperties": false
|
6515
|
+
},
|
6516
|
+
"meta": {
|
6517
|
+
"type": "object",
|
6518
|
+
"properties": {
|
6519
|
+
"category": {
|
6520
|
+
"type": "string",
|
6521
|
+
"enum": [
|
6522
|
+
"trigger"
|
6523
|
+
]
|
6524
|
+
},
|
6525
|
+
"name": {
|
6526
|
+
"type": "string",
|
6527
|
+
"enum": [
|
6528
|
+
"beckhoff"
|
6529
|
+
]
|
6530
|
+
},
|
6531
|
+
"label": {
|
6532
|
+
"type": "string",
|
6533
|
+
"minLength": 1,
|
6534
|
+
"maxLength": 255
|
6535
|
+
},
|
6536
|
+
"x": {
|
6537
|
+
"type": "number"
|
6538
|
+
},
|
6539
|
+
"y": {
|
6540
|
+
"type": "number"
|
6541
|
+
},
|
6542
|
+
"uiId": {
|
6543
|
+
"type": "string",
|
6544
|
+
"maxLength": 48
|
6545
|
+
},
|
6546
|
+
"description": {
|
6547
|
+
"type": "string",
|
6548
|
+
"maxLength": 32767
|
6549
|
+
},
|
6550
|
+
"icon": {
|
6551
|
+
"type": "string",
|
6552
|
+
"maxLength": 1024
|
6553
|
+
},
|
6554
|
+
"color": {
|
6555
|
+
"type": "string",
|
6556
|
+
"maxLength": 1024
|
6557
|
+
},
|
6558
|
+
"inputCount": {
|
6559
|
+
"type": "number"
|
6560
|
+
},
|
6561
|
+
"outputCount": {
|
6562
|
+
"type": "number"
|
6563
|
+
},
|
6564
|
+
"id": {
|
6565
|
+
"type": "string",
|
6566
|
+
"maxLength": 48
|
6567
|
+
}
|
6568
|
+
},
|
6569
|
+
"additionalProperties": false
|
6570
|
+
},
|
6571
|
+
"outputIds": {
|
6572
|
+
"type": "array",
|
6573
|
+
"items": {
|
6574
|
+
"type": "array",
|
6575
|
+
"items": {
|
6576
|
+
"type": "string",
|
6577
|
+
"maxLength": 48,
|
6578
|
+
"minLength": 1
|
6579
|
+
},
|
6580
|
+
"maxItems": 100
|
6581
|
+
},
|
6582
|
+
"maxItems": 100
|
6583
|
+
}
|
6584
|
+
},
|
6585
|
+
"required": [
|
6586
|
+
"type"
|
6587
|
+
],
|
6588
|
+
"additionalProperties": false
|
6589
|
+
},
|
6179
6590
|
{
|
6180
6591
|
"type": "object",
|
6181
6592
|
"properties": {
|
@@ -6445,6 +6856,9 @@
|
|
6445
6856
|
"once",
|
6446
6857
|
"each"
|
6447
6858
|
]
|
6859
|
+
},
|
6860
|
+
"allowInvalid": {
|
6861
|
+
"type": "boolean"
|
6448
6862
|
}
|
6449
6863
|
},
|
6450
6864
|
"additionalProperties": false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: losant_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.20.
|
4
|
+
version: 1.20.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|