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.
@@ -741,6 +741,141 @@
741
741
  ],
742
742
  "additionalProperties": false
743
743
  },
744
+ {
745
+ "type": "object",
746
+ "properties": {
747
+ "key": {
748
+ "type": "string",
749
+ "maxLength": 1024
750
+ },
751
+ "type": {
752
+ "type": "string",
753
+ "enum": [
754
+ "beckhoff"
755
+ ]
756
+ },
757
+ "config": {
758
+ "type": "object",
759
+ "properties": {
760
+ "localAmsNetId": {
761
+ "type": "string",
762
+ "maxLength": 1024
763
+ },
764
+ "localAdsPort": {
765
+ "type": "string",
766
+ "maxLength": 1024
767
+ },
768
+ "targetAmsNetId": {
769
+ "type": "string",
770
+ "maxLength": 1024
771
+ },
772
+ "targetAdsPort": {
773
+ "type": "string",
774
+ "maxLength": 1024
775
+ },
776
+ "routerHost": {
777
+ "type": "string",
778
+ "maxLength": 1024
779
+ },
780
+ "routerTcpPort": {
781
+ "type": "string",
782
+ "maxLength": 1024
783
+ },
784
+ "cycleTimeMs": {
785
+ "type": "integer",
786
+ "minimum": 10,
787
+ "maximum": 3600000
788
+ },
789
+ "subscriptions": {
790
+ "type": "array",
791
+ "items": {
792
+ "type": "object",
793
+ "properties": {
794
+ "name": {
795
+ "type": "string",
796
+ "maxLength": 1024
797
+ }
798
+ }
799
+ },
800
+ "maxItems": 100
801
+ }
802
+ },
803
+ "additionalProperties": false
804
+ },
805
+ "meta": {
806
+ "type": "object",
807
+ "properties": {
808
+ "category": {
809
+ "type": "string",
810
+ "enum": [
811
+ "trigger"
812
+ ]
813
+ },
814
+ "name": {
815
+ "type": "string",
816
+ "enum": [
817
+ "beckhoff"
818
+ ]
819
+ },
820
+ "label": {
821
+ "type": "string",
822
+ "minLength": 1,
823
+ "maxLength": 255
824
+ },
825
+ "x": {
826
+ "type": "number"
827
+ },
828
+ "y": {
829
+ "type": "number"
830
+ },
831
+ "uiId": {
832
+ "type": "string",
833
+ "maxLength": 48
834
+ },
835
+ "description": {
836
+ "type": "string",
837
+ "maxLength": 32767
838
+ },
839
+ "icon": {
840
+ "type": "string",
841
+ "maxLength": 1024
842
+ },
843
+ "color": {
844
+ "type": "string",
845
+ "maxLength": 1024
846
+ },
847
+ "inputCount": {
848
+ "type": "number"
849
+ },
850
+ "outputCount": {
851
+ "type": "number"
852
+ },
853
+ "id": {
854
+ "type": "string",
855
+ "maxLength": 48
856
+ }
857
+ },
858
+ "additionalProperties": false
859
+ },
860
+ "outputIds": {
861
+ "type": "array",
862
+ "items": {
863
+ "type": "array",
864
+ "items": {
865
+ "type": "string",
866
+ "maxLength": 48,
867
+ "minLength": 1
868
+ },
869
+ "maxItems": 100
870
+ },
871
+ "maxItems": 100
872
+ }
873
+ },
874
+ "required": [
875
+ "type"
876
+ ],
877
+ "additionalProperties": false
878
+ },
744
879
  {
745
880
  "type": "object",
746
881
  "properties": {
@@ -1010,6 +1145,9 @@
1010
1145
  "once",
1011
1146
  "each"
1012
1147
  ]
1148
+ },
1149
+ "allowInvalid": {
1150
+ "type": "boolean"
1013
1151
  }
1014
1152
  },
1015
1153
  "additionalProperties": false
@@ -3730,6 +3868,141 @@
3730
3868
  ],
3731
3869
  "additionalProperties": false
3732
3870
  },
3871
+ {
3872
+ "type": "object",
3873
+ "properties": {
3874
+ "key": {
3875
+ "type": "string",
3876
+ "maxLength": 1024
3877
+ },
3878
+ "type": {
3879
+ "type": "string",
3880
+ "enum": [
3881
+ "beckhoff"
3882
+ ]
3883
+ },
3884
+ "config": {
3885
+ "type": "object",
3886
+ "properties": {
3887
+ "localAmsNetId": {
3888
+ "type": "string",
3889
+ "maxLength": 1024
3890
+ },
3891
+ "localAdsPort": {
3892
+ "type": "string",
3893
+ "maxLength": 1024
3894
+ },
3895
+ "targetAmsNetId": {
3896
+ "type": "string",
3897
+ "maxLength": 1024
3898
+ },
3899
+ "targetAdsPort": {
3900
+ "type": "string",
3901
+ "maxLength": 1024
3902
+ },
3903
+ "routerHost": {
3904
+ "type": "string",
3905
+ "maxLength": 1024
3906
+ },
3907
+ "routerTcpPort": {
3908
+ "type": "string",
3909
+ "maxLength": 1024
3910
+ },
3911
+ "cycleTimeMs": {
3912
+ "type": "integer",
3913
+ "minimum": 10,
3914
+ "maximum": 3600000
3915
+ },
3916
+ "subscriptions": {
3917
+ "type": "array",
3918
+ "items": {
3919
+ "type": "object",
3920
+ "properties": {
3921
+ "name": {
3922
+ "type": "string",
3923
+ "maxLength": 1024
3924
+ }
3925
+ }
3926
+ },
3927
+ "maxItems": 100
3928
+ }
3929
+ },
3930
+ "additionalProperties": false
3931
+ },
3932
+ "meta": {
3933
+ "type": "object",
3934
+ "properties": {
3935
+ "category": {
3936
+ "type": "string",
3937
+ "enum": [
3938
+ "trigger"
3939
+ ]
3940
+ },
3941
+ "name": {
3942
+ "type": "string",
3943
+ "enum": [
3944
+ "beckhoff"
3945
+ ]
3946
+ },
3947
+ "label": {
3948
+ "type": "string",
3949
+ "minLength": 1,
3950
+ "maxLength": 255
3951
+ },
3952
+ "x": {
3953
+ "type": "number"
3954
+ },
3955
+ "y": {
3956
+ "type": "number"
3957
+ },
3958
+ "uiId": {
3959
+ "type": "string",
3960
+ "maxLength": 48
3961
+ },
3962
+ "description": {
3963
+ "type": "string",
3964
+ "maxLength": 32767
3965
+ },
3966
+ "icon": {
3967
+ "type": "string",
3968
+ "maxLength": 1024
3969
+ },
3970
+ "color": {
3971
+ "type": "string",
3972
+ "maxLength": 1024
3973
+ },
3974
+ "inputCount": {
3975
+ "type": "number"
3976
+ },
3977
+ "outputCount": {
3978
+ "type": "number"
3979
+ },
3980
+ "id": {
3981
+ "type": "string",
3982
+ "maxLength": 48
3983
+ }
3984
+ },
3985
+ "additionalProperties": false
3986
+ },
3987
+ "outputIds": {
3988
+ "type": "array",
3989
+ "items": {
3990
+ "type": "array",
3991
+ "items": {
3992
+ "type": "string",
3993
+ "maxLength": 48,
3994
+ "minLength": 1
3995
+ },
3996
+ "maxItems": 100
3997
+ },
3998
+ "maxItems": 100
3999
+ }
4000
+ },
4001
+ "required": [
4002
+ "type"
4003
+ ],
4004
+ "additionalProperties": false
4005
+ },
3733
4006
  {
3734
4007
  "type": "object",
3735
4008
  "properties": {
@@ -3999,6 +4272,9 @@
3999
4272
  "once",
4000
4273
  "each"
4001
4274
  ]
4275
+ },
4276
+ "allowInvalid": {
4277
+ "type": "boolean"
4002
4278
  }
4003
4279
  },
4004
4280
  "additionalProperties": false
@@ -6628,6 +6904,141 @@
6628
6904
  ],
6629
6905
  "additionalProperties": false
6630
6906
  },
6907
+ {
6908
+ "type": "object",
6909
+ "properties": {
6910
+ "key": {
6911
+ "type": "string",
6912
+ "maxLength": 1024
6913
+ },
6914
+ "type": {
6915
+ "type": "string",
6916
+ "enum": [
6917
+ "beckhoff"
6918
+ ]
6919
+ },
6920
+ "config": {
6921
+ "type": "object",
6922
+ "properties": {
6923
+ "localAmsNetId": {
6924
+ "type": "string",
6925
+ "maxLength": 1024
6926
+ },
6927
+ "localAdsPort": {
6928
+ "type": "string",
6929
+ "maxLength": 1024
6930
+ },
6931
+ "targetAmsNetId": {
6932
+ "type": "string",
6933
+ "maxLength": 1024
6934
+ },
6935
+ "targetAdsPort": {
6936
+ "type": "string",
6937
+ "maxLength": 1024
6938
+ },
6939
+ "routerHost": {
6940
+ "type": "string",
6941
+ "maxLength": 1024
6942
+ },
6943
+ "routerTcpPort": {
6944
+ "type": "string",
6945
+ "maxLength": 1024
6946
+ },
6947
+ "cycleTimeMs": {
6948
+ "type": "integer",
6949
+ "minimum": 10,
6950
+ "maximum": 3600000
6951
+ },
6952
+ "subscriptions": {
6953
+ "type": "array",
6954
+ "items": {
6955
+ "type": "object",
6956
+ "properties": {
6957
+ "name": {
6958
+ "type": "string",
6959
+ "maxLength": 1024
6960
+ }
6961
+ }
6962
+ },
6963
+ "maxItems": 100
6964
+ }
6965
+ },
6966
+ "additionalProperties": false
6967
+ },
6968
+ "meta": {
6969
+ "type": "object",
6970
+ "properties": {
6971
+ "category": {
6972
+ "type": "string",
6973
+ "enum": [
6974
+ "trigger"
6975
+ ]
6976
+ },
6977
+ "name": {
6978
+ "type": "string",
6979
+ "enum": [
6980
+ "beckhoff"
6981
+ ]
6982
+ },
6983
+ "label": {
6984
+ "type": "string",
6985
+ "minLength": 1,
6986
+ "maxLength": 255
6987
+ },
6988
+ "x": {
6989
+ "type": "number"
6990
+ },
6991
+ "y": {
6992
+ "type": "number"
6993
+ },
6994
+ "uiId": {
6995
+ "type": "string",
6996
+ "maxLength": 48
6997
+ },
6998
+ "description": {
6999
+ "type": "string",
7000
+ "maxLength": 32767
7001
+ },
7002
+ "icon": {
7003
+ "type": "string",
7004
+ "maxLength": 1024
7005
+ },
7006
+ "color": {
7007
+ "type": "string",
7008
+ "maxLength": 1024
7009
+ },
7010
+ "inputCount": {
7011
+ "type": "number"
7012
+ },
7013
+ "outputCount": {
7014
+ "type": "number"
7015
+ },
7016
+ "id": {
7017
+ "type": "string",
7018
+ "maxLength": 48
7019
+ }
7020
+ },
7021
+ "additionalProperties": false
7022
+ },
7023
+ "outputIds": {
7024
+ "type": "array",
7025
+ "items": {
7026
+ "type": "array",
7027
+ "items": {
7028
+ "type": "string",
7029
+ "maxLength": 48,
7030
+ "minLength": 1
7031
+ },
7032
+ "maxItems": 100
7033
+ },
7034
+ "maxItems": 100
7035
+ }
7036
+ },
7037
+ "required": [
7038
+ "type"
7039
+ ],
7040
+ "additionalProperties": false
7041
+ },
6631
7042
  {
6632
7043
  "type": "object",
6633
7044
  "properties": {
@@ -6897,6 +7308,9 @@
6897
7308
  "once",
6898
7309
  "each"
6899
7310
  ]
7311
+ },
7312
+ "allowInvalid": {
7313
+ "type": "boolean"
6900
7314
  }
6901
7315
  },
6902
7316
  "additionalProperties": false
@@ -509,6 +509,10 @@
509
509
  "additionalProperties": false
510
510
  }
511
511
  },
512
+ "query": {
513
+ "type": "string",
514
+ "maxLength": 32767
515
+ },
512
516
  "label": {
513
517
  "type": "string",
514
518
  "maxLength": 255
@@ -769,6 +773,10 @@
769
773
  "additionalProperties": false
770
774
  }
771
775
  },
776
+ "query": {
777
+ "type": "string",
778
+ "maxLength": 32767
779
+ },
772
780
  "duration": {
773
781
  "oneOf": [
774
782
  {
@@ -952,6 +960,10 @@
952
960
  "additionalProperties": false
953
961
  }
954
962
  },
963
+ "query": {
964
+ "type": "string",
965
+ "maxLength": 32767
966
+ },
955
967
  "duration": {
956
968
  "oneOf": [
957
969
  {
@@ -1694,6 +1706,32 @@
1694
1706
  "maxLength": 255
1695
1707
  }
1696
1708
  },
1709
+ "deviceTags": {
1710
+ "type": "array",
1711
+ "maxItems": 100,
1712
+ "items": {
1713
+ "type": "object",
1714
+ "properties": {
1715
+ "key": {
1716
+ "type": "string",
1717
+ "maxLength": 255
1718
+ },
1719
+ "value": {
1720
+ "type": "string",
1721
+ "maxLength": 255
1722
+ },
1723
+ "fromCtx": {
1724
+ "type": "string",
1725
+ "maxLength": 255
1726
+ }
1727
+ },
1728
+ "additionalProperties": false
1729
+ }
1730
+ },
1731
+ "query": {
1732
+ "type": "string",
1733
+ "maxLength": 32767
1734
+ },
1697
1735
  "includeDeviceInfo": {
1698
1736
  "type": "boolean"
1699
1737
  }
@@ -1795,6 +1833,10 @@
1795
1833
  "additionalProperties": false
1796
1834
  }
1797
1835
  },
1836
+ "query": {
1837
+ "type": "string",
1838
+ "maxLength": 32767
1839
+ },
1798
1840
  "duration": {
1799
1841
  "oneOf": [
1800
1842
  {
@@ -2265,6 +2307,10 @@
2265
2307
  "additionalProperties": false
2266
2308
  }
2267
2309
  },
2310
+ "query": {
2311
+ "type": "string",
2312
+ "maxLength": 32767
2313
+ },
2268
2314
  "label": {
2269
2315
  "type": "string",
2270
2316
  "maxLength": 255
@@ -2656,6 +2702,10 @@
2656
2702
  },
2657
2703
  "additionalProperties": false
2658
2704
  }
2705
+ },
2706
+ "query": {
2707
+ "type": "string",
2708
+ "maxLength": 32767
2659
2709
  }
2660
2710
  },
2661
2711
  "additionalProperties": false
@@ -2843,6 +2893,10 @@
2843
2893
  "additionalProperties": false
2844
2894
  }
2845
2895
  },
2896
+ "query": {
2897
+ "type": "string",
2898
+ "maxLength": 32767
2899
+ },
2846
2900
  "duration": {
2847
2901
  "oneOf": [
2848
2902
  {
@@ -2877,10 +2931,6 @@
2877
2931
  "normal",
2878
2932
  "satellite"
2879
2933
  ]
2880
- },
2881
- "query": {
2882
- "type": "string",
2883
- "maxLength": 32767
2884
2934
  }
2885
2935
  },
2886
2936
  "additionalProperties": false
@@ -3245,6 +3295,10 @@
3245
3295
  "additionalProperties": false
3246
3296
  }
3247
3297
  },
3298
+ "query": {
3299
+ "type": "string",
3300
+ "maxLength": 32767
3301
+ },
3248
3302
  "duration": {
3249
3303
  "oneOf": [
3250
3304
  {
@@ -3873,6 +3927,10 @@
3873
3927
  "additionalProperties": false
3874
3928
  }
3875
3929
  },
3930
+ "query": {
3931
+ "type": "string",
3932
+ "maxLength": 32767
3933
+ },
3876
3934
  "label": {
3877
3935
  "type": "string",
3878
3936
  "maxLength": 255
@@ -4225,6 +4283,10 @@
4225
4283
  },
4226
4284
  "additionalProperties": false
4227
4285
  }
4286
+ },
4287
+ "query": {
4288
+ "type": "string",
4289
+ "maxLength": 32767
4228
4290
  }
4229
4291
  },
4230
4292
  "additionalProperties": false
@@ -4459,6 +4521,10 @@
4459
4521
  },
4460
4522
  "additionalProperties": false
4461
4523
  }
4524
+ },
4525
+ "query": {
4526
+ "type": "string",
4527
+ "maxLength": 32767
4462
4528
  }
4463
4529
  },
4464
4530
  "additionalProperties": false
@@ -4651,6 +4717,10 @@
4651
4717
  },
4652
4718
  "additionalProperties": false
4653
4719
  }
4720
+ },
4721
+ "query": {
4722
+ "type": "string",
4723
+ "maxLength": 32767
4654
4724
  }
4655
4725
  },
4656
4726
  "additionalProperties": false
@@ -4841,6 +4911,10 @@
4841
4911
  },
4842
4912
  "additionalProperties": false
4843
4913
  }
4914
+ },
4915
+ "query": {
4916
+ "type": "string",
4917
+ "maxLength": 32767
4844
4918
  }
4845
4919
  },
4846
4920
  "additionalProperties": false
@@ -5011,6 +5085,10 @@
5011
5085
  "additionalProperties": false
5012
5086
  }
5013
5087
  },
5088
+ "query": {
5089
+ "type": "string",
5090
+ "maxLength": 32767
5091
+ },
5014
5092
  "commandName": {
5015
5093
  "type": "string",
5016
5094
  "maxLength": 255
@@ -5153,6 +5231,10 @@
5153
5231
  "additionalProperties": false
5154
5232
  }
5155
5233
  },
5234
+ "query": {
5235
+ "type": "string",
5236
+ "maxLength": 32767
5237
+ },
5156
5238
  "duration": {
5157
5239
  "oneOf": [
5158
5240
  {
@@ -5213,10 +5295,6 @@
5213
5295
  "type": "string",
5214
5296
  "maxLength": 32767
5215
5297
  },
5216
- "query": {
5217
- "type": "string",
5218
- "maxLength": 32767
5219
- },
5220
5298
  "resizedPins": {
5221
5299
  "type": "boolean"
5222
5300
  },
@@ -5529,6 +5607,10 @@
5529
5607
  "additionalProperties": false
5530
5608
  }
5531
5609
  },
5610
+ "query": {
5611
+ "type": "string",
5612
+ "maxLength": 32767
5613
+ },
5532
5614
  "label": {
5533
5615
  "type": "string",
5534
5616
  "maxLength": 255
@@ -5689,6 +5771,10 @@
5689
5771
  "additionalProperties": false
5690
5772
  }
5691
5773
  },
5774
+ "query": {
5775
+ "type": "string",
5776
+ "maxLength": 32767
5777
+ },
5692
5778
  "duration": {
5693
5779
  "oneOf": [
5694
5780
  {