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
@@ -723,6 +723,141 @@
|
|
723
723
|
],
|
724
724
|
"additionalProperties": false
|
725
725
|
},
|
726
|
+
{
|
727
|
+
"type": "object",
|
728
|
+
"properties": {
|
729
|
+
"key": {
|
730
|
+
"type": "string",
|
731
|
+
"maxLength": 1024
|
732
|
+
},
|
733
|
+
"type": {
|
734
|
+
"type": "string",
|
735
|
+
"enum": [
|
736
|
+
"beckhoff"
|
737
|
+
]
|
738
|
+
},
|
739
|
+
"config": {
|
740
|
+
"type": "object",
|
741
|
+
"properties": {
|
742
|
+
"localAmsNetId": {
|
743
|
+
"type": "string",
|
744
|
+
"maxLength": 1024
|
745
|
+
},
|
746
|
+
"localAdsPort": {
|
747
|
+
"type": "string",
|
748
|
+
"maxLength": 1024
|
749
|
+
},
|
750
|
+
"targetAmsNetId": {
|
751
|
+
"type": "string",
|
752
|
+
"maxLength": 1024
|
753
|
+
},
|
754
|
+
"targetAdsPort": {
|
755
|
+
"type": "string",
|
756
|
+
"maxLength": 1024
|
757
|
+
},
|
758
|
+
"routerHost": {
|
759
|
+
"type": "string",
|
760
|
+
"maxLength": 1024
|
761
|
+
},
|
762
|
+
"routerTcpPort": {
|
763
|
+
"type": "string",
|
764
|
+
"maxLength": 1024
|
765
|
+
},
|
766
|
+
"cycleTimeMs": {
|
767
|
+
"type": "integer",
|
768
|
+
"minimum": 10,
|
769
|
+
"maximum": 3600000
|
770
|
+
},
|
771
|
+
"subscriptions": {
|
772
|
+
"type": "array",
|
773
|
+
"items": {
|
774
|
+
"type": "object",
|
775
|
+
"properties": {
|
776
|
+
"name": {
|
777
|
+
"type": "string",
|
778
|
+
"maxLength": 1024
|
779
|
+
}
|
780
|
+
}
|
781
|
+
},
|
782
|
+
"maxItems": 100
|
783
|
+
}
|
784
|
+
},
|
785
|
+
"additionalProperties": false
|
786
|
+
},
|
787
|
+
"meta": {
|
788
|
+
"type": "object",
|
789
|
+
"properties": {
|
790
|
+
"category": {
|
791
|
+
"type": "string",
|
792
|
+
"enum": [
|
793
|
+
"trigger"
|
794
|
+
]
|
795
|
+
},
|
796
|
+
"name": {
|
797
|
+
"type": "string",
|
798
|
+
"enum": [
|
799
|
+
"beckhoff"
|
800
|
+
]
|
801
|
+
},
|
802
|
+
"label": {
|
803
|
+
"type": "string",
|
804
|
+
"minLength": 1,
|
805
|
+
"maxLength": 255
|
806
|
+
},
|
807
|
+
"x": {
|
808
|
+
"type": "number"
|
809
|
+
},
|
810
|
+
"y": {
|
811
|
+
"type": "number"
|
812
|
+
},
|
813
|
+
"uiId": {
|
814
|
+
"type": "string",
|
815
|
+
"maxLength": 48
|
816
|
+
},
|
817
|
+
"description": {
|
818
|
+
"type": "string",
|
819
|
+
"maxLength": 32767
|
820
|
+
},
|
821
|
+
"icon": {
|
822
|
+
"type": "string",
|
823
|
+
"maxLength": 1024
|
824
|
+
},
|
825
|
+
"color": {
|
826
|
+
"type": "string",
|
827
|
+
"maxLength": 1024
|
828
|
+
},
|
829
|
+
"inputCount": {
|
830
|
+
"type": "number"
|
831
|
+
},
|
832
|
+
"outputCount": {
|
833
|
+
"type": "number"
|
834
|
+
},
|
835
|
+
"id": {
|
836
|
+
"type": "string",
|
837
|
+
"maxLength": 48
|
838
|
+
}
|
839
|
+
},
|
840
|
+
"additionalProperties": false
|
841
|
+
},
|
842
|
+
"outputIds": {
|
843
|
+
"type": "array",
|
844
|
+
"items": {
|
845
|
+
"type": "array",
|
846
|
+
"items": {
|
847
|
+
"type": "string",
|
848
|
+
"maxLength": 48,
|
849
|
+
"minLength": 1
|
850
|
+
},
|
851
|
+
"maxItems": 100
|
852
|
+
},
|
853
|
+
"maxItems": 100
|
854
|
+
}
|
855
|
+
},
|
856
|
+
"required": [
|
857
|
+
"type"
|
858
|
+
],
|
859
|
+
"additionalProperties": false
|
860
|
+
},
|
726
861
|
{
|
727
862
|
"type": "object",
|
728
863
|
"properties": {
|
@@ -992,6 +1127,9 @@
|
|
992
1127
|
"once",
|
993
1128
|
"each"
|
994
1129
|
]
|
1130
|
+
},
|
1131
|
+
"allowInvalid": {
|
1132
|
+
"type": "boolean"
|
995
1133
|
}
|
996
1134
|
},
|
997
1135
|
"additionalProperties": false
|
@@ -3712,6 +3850,141 @@
|
|
3712
3850
|
],
|
3713
3851
|
"additionalProperties": false
|
3714
3852
|
},
|
3853
|
+
{
|
3854
|
+
"type": "object",
|
3855
|
+
"properties": {
|
3856
|
+
"key": {
|
3857
|
+
"type": "string",
|
3858
|
+
"maxLength": 1024
|
3859
|
+
},
|
3860
|
+
"type": {
|
3861
|
+
"type": "string",
|
3862
|
+
"enum": [
|
3863
|
+
"beckhoff"
|
3864
|
+
]
|
3865
|
+
},
|
3866
|
+
"config": {
|
3867
|
+
"type": "object",
|
3868
|
+
"properties": {
|
3869
|
+
"localAmsNetId": {
|
3870
|
+
"type": "string",
|
3871
|
+
"maxLength": 1024
|
3872
|
+
},
|
3873
|
+
"localAdsPort": {
|
3874
|
+
"type": "string",
|
3875
|
+
"maxLength": 1024
|
3876
|
+
},
|
3877
|
+
"targetAmsNetId": {
|
3878
|
+
"type": "string",
|
3879
|
+
"maxLength": 1024
|
3880
|
+
},
|
3881
|
+
"targetAdsPort": {
|
3882
|
+
"type": "string",
|
3883
|
+
"maxLength": 1024
|
3884
|
+
},
|
3885
|
+
"routerHost": {
|
3886
|
+
"type": "string",
|
3887
|
+
"maxLength": 1024
|
3888
|
+
},
|
3889
|
+
"routerTcpPort": {
|
3890
|
+
"type": "string",
|
3891
|
+
"maxLength": 1024
|
3892
|
+
},
|
3893
|
+
"cycleTimeMs": {
|
3894
|
+
"type": "integer",
|
3895
|
+
"minimum": 10,
|
3896
|
+
"maximum": 3600000
|
3897
|
+
},
|
3898
|
+
"subscriptions": {
|
3899
|
+
"type": "array",
|
3900
|
+
"items": {
|
3901
|
+
"type": "object",
|
3902
|
+
"properties": {
|
3903
|
+
"name": {
|
3904
|
+
"type": "string",
|
3905
|
+
"maxLength": 1024
|
3906
|
+
}
|
3907
|
+
}
|
3908
|
+
},
|
3909
|
+
"maxItems": 100
|
3910
|
+
}
|
3911
|
+
},
|
3912
|
+
"additionalProperties": false
|
3913
|
+
},
|
3914
|
+
"meta": {
|
3915
|
+
"type": "object",
|
3916
|
+
"properties": {
|
3917
|
+
"category": {
|
3918
|
+
"type": "string",
|
3919
|
+
"enum": [
|
3920
|
+
"trigger"
|
3921
|
+
]
|
3922
|
+
},
|
3923
|
+
"name": {
|
3924
|
+
"type": "string",
|
3925
|
+
"enum": [
|
3926
|
+
"beckhoff"
|
3927
|
+
]
|
3928
|
+
},
|
3929
|
+
"label": {
|
3930
|
+
"type": "string",
|
3931
|
+
"minLength": 1,
|
3932
|
+
"maxLength": 255
|
3933
|
+
},
|
3934
|
+
"x": {
|
3935
|
+
"type": "number"
|
3936
|
+
},
|
3937
|
+
"y": {
|
3938
|
+
"type": "number"
|
3939
|
+
},
|
3940
|
+
"uiId": {
|
3941
|
+
"type": "string",
|
3942
|
+
"maxLength": 48
|
3943
|
+
},
|
3944
|
+
"description": {
|
3945
|
+
"type": "string",
|
3946
|
+
"maxLength": 32767
|
3947
|
+
},
|
3948
|
+
"icon": {
|
3949
|
+
"type": "string",
|
3950
|
+
"maxLength": 1024
|
3951
|
+
},
|
3952
|
+
"color": {
|
3953
|
+
"type": "string",
|
3954
|
+
"maxLength": 1024
|
3955
|
+
},
|
3956
|
+
"inputCount": {
|
3957
|
+
"type": "number"
|
3958
|
+
},
|
3959
|
+
"outputCount": {
|
3960
|
+
"type": "number"
|
3961
|
+
},
|
3962
|
+
"id": {
|
3963
|
+
"type": "string",
|
3964
|
+
"maxLength": 48
|
3965
|
+
}
|
3966
|
+
},
|
3967
|
+
"additionalProperties": false
|
3968
|
+
},
|
3969
|
+
"outputIds": {
|
3970
|
+
"type": "array",
|
3971
|
+
"items": {
|
3972
|
+
"type": "array",
|
3973
|
+
"items": {
|
3974
|
+
"type": "string",
|
3975
|
+
"maxLength": 48,
|
3976
|
+
"minLength": 1
|
3977
|
+
},
|
3978
|
+
"maxItems": 100
|
3979
|
+
},
|
3980
|
+
"maxItems": 100
|
3981
|
+
}
|
3982
|
+
},
|
3983
|
+
"required": [
|
3984
|
+
"type"
|
3985
|
+
],
|
3986
|
+
"additionalProperties": false
|
3987
|
+
},
|
3715
3988
|
{
|
3716
3989
|
"type": "object",
|
3717
3990
|
"properties": {
|
@@ -3981,6 +4254,9 @@
|
|
3981
4254
|
"once",
|
3982
4255
|
"each"
|
3983
4256
|
]
|
4257
|
+
},
|
4258
|
+
"allowInvalid": {
|
4259
|
+
"type": "boolean"
|
3984
4260
|
}
|
3985
4261
|
},
|
3986
4262
|
"additionalProperties": false
|
@@ -6610,6 +6886,141 @@
|
|
6610
6886
|
],
|
6611
6887
|
"additionalProperties": false
|
6612
6888
|
},
|
6889
|
+
{
|
6890
|
+
"type": "object",
|
6891
|
+
"properties": {
|
6892
|
+
"key": {
|
6893
|
+
"type": "string",
|
6894
|
+
"maxLength": 1024
|
6895
|
+
},
|
6896
|
+
"type": {
|
6897
|
+
"type": "string",
|
6898
|
+
"enum": [
|
6899
|
+
"beckhoff"
|
6900
|
+
]
|
6901
|
+
},
|
6902
|
+
"config": {
|
6903
|
+
"type": "object",
|
6904
|
+
"properties": {
|
6905
|
+
"localAmsNetId": {
|
6906
|
+
"type": "string",
|
6907
|
+
"maxLength": 1024
|
6908
|
+
},
|
6909
|
+
"localAdsPort": {
|
6910
|
+
"type": "string",
|
6911
|
+
"maxLength": 1024
|
6912
|
+
},
|
6913
|
+
"targetAmsNetId": {
|
6914
|
+
"type": "string",
|
6915
|
+
"maxLength": 1024
|
6916
|
+
},
|
6917
|
+
"targetAdsPort": {
|
6918
|
+
"type": "string",
|
6919
|
+
"maxLength": 1024
|
6920
|
+
},
|
6921
|
+
"routerHost": {
|
6922
|
+
"type": "string",
|
6923
|
+
"maxLength": 1024
|
6924
|
+
},
|
6925
|
+
"routerTcpPort": {
|
6926
|
+
"type": "string",
|
6927
|
+
"maxLength": 1024
|
6928
|
+
},
|
6929
|
+
"cycleTimeMs": {
|
6930
|
+
"type": "integer",
|
6931
|
+
"minimum": 10,
|
6932
|
+
"maximum": 3600000
|
6933
|
+
},
|
6934
|
+
"subscriptions": {
|
6935
|
+
"type": "array",
|
6936
|
+
"items": {
|
6937
|
+
"type": "object",
|
6938
|
+
"properties": {
|
6939
|
+
"name": {
|
6940
|
+
"type": "string",
|
6941
|
+
"maxLength": 1024
|
6942
|
+
}
|
6943
|
+
}
|
6944
|
+
},
|
6945
|
+
"maxItems": 100
|
6946
|
+
}
|
6947
|
+
},
|
6948
|
+
"additionalProperties": false
|
6949
|
+
},
|
6950
|
+
"meta": {
|
6951
|
+
"type": "object",
|
6952
|
+
"properties": {
|
6953
|
+
"category": {
|
6954
|
+
"type": "string",
|
6955
|
+
"enum": [
|
6956
|
+
"trigger"
|
6957
|
+
]
|
6958
|
+
},
|
6959
|
+
"name": {
|
6960
|
+
"type": "string",
|
6961
|
+
"enum": [
|
6962
|
+
"beckhoff"
|
6963
|
+
]
|
6964
|
+
},
|
6965
|
+
"label": {
|
6966
|
+
"type": "string",
|
6967
|
+
"minLength": 1,
|
6968
|
+
"maxLength": 255
|
6969
|
+
},
|
6970
|
+
"x": {
|
6971
|
+
"type": "number"
|
6972
|
+
},
|
6973
|
+
"y": {
|
6974
|
+
"type": "number"
|
6975
|
+
},
|
6976
|
+
"uiId": {
|
6977
|
+
"type": "string",
|
6978
|
+
"maxLength": 48
|
6979
|
+
},
|
6980
|
+
"description": {
|
6981
|
+
"type": "string",
|
6982
|
+
"maxLength": 32767
|
6983
|
+
},
|
6984
|
+
"icon": {
|
6985
|
+
"type": "string",
|
6986
|
+
"maxLength": 1024
|
6987
|
+
},
|
6988
|
+
"color": {
|
6989
|
+
"type": "string",
|
6990
|
+
"maxLength": 1024
|
6991
|
+
},
|
6992
|
+
"inputCount": {
|
6993
|
+
"type": "number"
|
6994
|
+
},
|
6995
|
+
"outputCount": {
|
6996
|
+
"type": "number"
|
6997
|
+
},
|
6998
|
+
"id": {
|
6999
|
+
"type": "string",
|
7000
|
+
"maxLength": 48
|
7001
|
+
}
|
7002
|
+
},
|
7003
|
+
"additionalProperties": false
|
7004
|
+
},
|
7005
|
+
"outputIds": {
|
7006
|
+
"type": "array",
|
7007
|
+
"items": {
|
7008
|
+
"type": "array",
|
7009
|
+
"items": {
|
7010
|
+
"type": "string",
|
7011
|
+
"maxLength": 48,
|
7012
|
+
"minLength": 1
|
7013
|
+
},
|
7014
|
+
"maxItems": 100
|
7015
|
+
},
|
7016
|
+
"maxItems": 100
|
7017
|
+
}
|
7018
|
+
},
|
7019
|
+
"required": [
|
7020
|
+
"type"
|
7021
|
+
],
|
7022
|
+
"additionalProperties": false
|
7023
|
+
},
|
6613
7024
|
{
|
6614
7025
|
"type": "object",
|
6615
7026
|
"properties": {
|
@@ -6879,6 +7290,9 @@
|
|
6879
7290
|
"once",
|
6880
7291
|
"each"
|
6881
7292
|
]
|
7293
|
+
},
|
7294
|
+
"allowInvalid": {
|
7295
|
+
"type": "boolean"
|
6882
7296
|
}
|
6883
7297
|
},
|
6884
7298
|
"additionalProperties": false
|
data/schemas/flow.json
CHANGED
@@ -332,6 +332,141 @@
|
|
332
332
|
],
|
333
333
|
"additionalProperties": false
|
334
334
|
},
|
335
|
+
{
|
336
|
+
"type": "object",
|
337
|
+
"properties": {
|
338
|
+
"key": {
|
339
|
+
"type": "string",
|
340
|
+
"maxLength": 1024
|
341
|
+
},
|
342
|
+
"type": {
|
343
|
+
"type": "string",
|
344
|
+
"enum": [
|
345
|
+
"beckhoff"
|
346
|
+
]
|
347
|
+
},
|
348
|
+
"config": {
|
349
|
+
"type": "object",
|
350
|
+
"properties": {
|
351
|
+
"localAmsNetId": {
|
352
|
+
"type": "string",
|
353
|
+
"maxLength": 1024
|
354
|
+
},
|
355
|
+
"localAdsPort": {
|
356
|
+
"type": "string",
|
357
|
+
"maxLength": 1024
|
358
|
+
},
|
359
|
+
"targetAmsNetId": {
|
360
|
+
"type": "string",
|
361
|
+
"maxLength": 1024
|
362
|
+
},
|
363
|
+
"targetAdsPort": {
|
364
|
+
"type": "string",
|
365
|
+
"maxLength": 1024
|
366
|
+
},
|
367
|
+
"routerHost": {
|
368
|
+
"type": "string",
|
369
|
+
"maxLength": 1024
|
370
|
+
},
|
371
|
+
"routerTcpPort": {
|
372
|
+
"type": "string",
|
373
|
+
"maxLength": 1024
|
374
|
+
},
|
375
|
+
"cycleTimeMs": {
|
376
|
+
"type": "integer",
|
377
|
+
"minimum": 10,
|
378
|
+
"maximum": 3600000
|
379
|
+
},
|
380
|
+
"subscriptions": {
|
381
|
+
"type": "array",
|
382
|
+
"items": {
|
383
|
+
"type": "object",
|
384
|
+
"properties": {
|
385
|
+
"name": {
|
386
|
+
"type": "string",
|
387
|
+
"maxLength": 1024
|
388
|
+
}
|
389
|
+
}
|
390
|
+
},
|
391
|
+
"maxItems": 100
|
392
|
+
}
|
393
|
+
},
|
394
|
+
"additionalProperties": false
|
395
|
+
},
|
396
|
+
"meta": {
|
397
|
+
"type": "object",
|
398
|
+
"properties": {
|
399
|
+
"category": {
|
400
|
+
"type": "string",
|
401
|
+
"enum": [
|
402
|
+
"trigger"
|
403
|
+
]
|
404
|
+
},
|
405
|
+
"name": {
|
406
|
+
"type": "string",
|
407
|
+
"enum": [
|
408
|
+
"beckhoff"
|
409
|
+
]
|
410
|
+
},
|
411
|
+
"label": {
|
412
|
+
"type": "string",
|
413
|
+
"minLength": 1,
|
414
|
+
"maxLength": 255
|
415
|
+
},
|
416
|
+
"x": {
|
417
|
+
"type": "number"
|
418
|
+
},
|
419
|
+
"y": {
|
420
|
+
"type": "number"
|
421
|
+
},
|
422
|
+
"uiId": {
|
423
|
+
"type": "string",
|
424
|
+
"maxLength": 48
|
425
|
+
},
|
426
|
+
"description": {
|
427
|
+
"type": "string",
|
428
|
+
"maxLength": 32767
|
429
|
+
},
|
430
|
+
"icon": {
|
431
|
+
"type": "string",
|
432
|
+
"maxLength": 1024
|
433
|
+
},
|
434
|
+
"color": {
|
435
|
+
"type": "string",
|
436
|
+
"maxLength": 1024
|
437
|
+
},
|
438
|
+
"inputCount": {
|
439
|
+
"type": "number"
|
440
|
+
},
|
441
|
+
"outputCount": {
|
442
|
+
"type": "number"
|
443
|
+
},
|
444
|
+
"id": {
|
445
|
+
"type": "string",
|
446
|
+
"maxLength": 48
|
447
|
+
}
|
448
|
+
},
|
449
|
+
"additionalProperties": false
|
450
|
+
},
|
451
|
+
"outputIds": {
|
452
|
+
"type": "array",
|
453
|
+
"items": {
|
454
|
+
"type": "array",
|
455
|
+
"items": {
|
456
|
+
"type": "string",
|
457
|
+
"maxLength": 48,
|
458
|
+
"minLength": 1
|
459
|
+
},
|
460
|
+
"maxItems": 100
|
461
|
+
},
|
462
|
+
"maxItems": 100
|
463
|
+
}
|
464
|
+
},
|
465
|
+
"required": [
|
466
|
+
"type"
|
467
|
+
],
|
468
|
+
"additionalProperties": false
|
469
|
+
},
|
335
470
|
{
|
336
471
|
"type": "object",
|
337
472
|
"properties": {
|
@@ -601,6 +736,9 @@
|
|
601
736
|
"once",
|
602
737
|
"each"
|
603
738
|
]
|
739
|
+
},
|
740
|
+
"allowInvalid": {
|
741
|
+
"type": "boolean"
|
604
742
|
}
|
605
743
|
},
|
606
744
|
"additionalProperties": false
|