rclone-openapi 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/openapi.json +552 -9
  2. package/package.json +1 -1
  3. package/types.d.ts +121 -5
package/openapi.json CHANGED
@@ -2510,11 +2510,54 @@
2510
2510
  "/options/set": {
2511
2511
  "post": {
2512
2512
  "summary": "Set option values",
2513
- "description": "Sets temporary option overrides for the running process by supplying key/value pairs.",
2513
+ "description": "Sets temporary option overrides for the running process by supplying key/value pairs grouped under option block names. Provide one or more query parameters whose names match the blocks you want to modify (for example `main`, `rc`, `http`). Each block parameter carries an object of option overrides.\n",
2514
2514
  "tags": [],
2515
+ "x-additionalQueryBlocksAllowed": true,
2515
2516
  "parameters": [
2516
2517
  {
2517
- "$ref": "#/components/parameters/Options_SetPostAdditionalParam"
2518
+ "$ref": "#/components/parameters/Options_SetPostDlnaParam"
2519
+ },
2520
+ {
2521
+ "$ref": "#/components/parameters/Options_SetPostFilterParam"
2522
+ },
2523
+ {
2524
+ "$ref": "#/components/parameters/Options_SetPostFtpParam"
2525
+ },
2526
+ {
2527
+ "$ref": "#/components/parameters/Options_SetPostMainParam"
2528
+ },
2529
+ {
2530
+ "$ref": "#/components/parameters/Options_SetPostHttpParam"
2531
+ },
2532
+ {
2533
+ "$ref": "#/components/parameters/Options_SetPostLogParam"
2534
+ },
2535
+ {
2536
+ "$ref": "#/components/parameters/Options_SetPostMountParam"
2537
+ },
2538
+ {
2539
+ "$ref": "#/components/parameters/Options_SetPostNfsParam"
2540
+ },
2541
+ {
2542
+ "$ref": "#/components/parameters/Options_SetPostProxyParam"
2543
+ },
2544
+ {
2545
+ "$ref": "#/components/parameters/Options_SetPostRcParam"
2546
+ },
2547
+ {
2548
+ "$ref": "#/components/parameters/Options_SetPostResticParam"
2549
+ },
2550
+ {
2551
+ "$ref": "#/components/parameters/Options_SetPostS3Param"
2552
+ },
2553
+ {
2554
+ "$ref": "#/components/parameters/Options_SetPostSftpParam"
2555
+ },
2556
+ {
2557
+ "$ref": "#/components/parameters/Options_SetPostVfsParam"
2558
+ },
2559
+ {
2560
+ "$ref": "#/components/parameters/Options_SetPostWebdavParam"
2518
2561
  },
2519
2562
  {
2520
2563
  "$ref": "#/components/parameters/GlobalGroupParam"
@@ -4444,15 +4487,515 @@
4444
4487
  "type": "string"
4445
4488
  }
4446
4489
  },
4447
- "Options_SetPostAdditionalParam": {
4448
- "name": "params",
4490
+ "Options_SetPostDlnaParam": {
4491
+ "name": "dlna",
4449
4492
  "in": "query",
4450
- "description": "Additional arbitrary parameters allowed.",
4493
+ "description": "Overrides for the `dlna` option block.",
4494
+ "style": "deepObject",
4495
+ "explode": true,
4451
4496
  "schema": {
4452
- "type": "object"
4453
- },
4454
- "style": "form",
4455
- "explode": true
4497
+ "type": "object",
4498
+ "additionalProperties": {
4499
+ "oneOf": [
4500
+ {
4501
+ "type": "string"
4502
+ },
4503
+ {
4504
+ "type": "number"
4505
+ },
4506
+ {
4507
+ "type": "integer"
4508
+ },
4509
+ {
4510
+ "type": "boolean"
4511
+ },
4512
+ {
4513
+ "type": "array",
4514
+ "items": {}
4515
+ },
4516
+ {
4517
+ "type": "object",
4518
+ "additionalProperties": {}
4519
+ }
4520
+ ]
4521
+ }
4522
+ }
4523
+ },
4524
+ "Options_SetPostFilterParam": {
4525
+ "name": "filter",
4526
+ "in": "query",
4527
+ "description": "Overrides for the `filter` option block.",
4528
+ "style": "deepObject",
4529
+ "explode": true,
4530
+ "schema": {
4531
+ "type": "object",
4532
+ "additionalProperties": {
4533
+ "oneOf": [
4534
+ {
4535
+ "type": "string"
4536
+ },
4537
+ {
4538
+ "type": "number"
4539
+ },
4540
+ {
4541
+ "type": "integer"
4542
+ },
4543
+ {
4544
+ "type": "boolean"
4545
+ },
4546
+ {
4547
+ "type": "array",
4548
+ "items": {}
4549
+ },
4550
+ {
4551
+ "type": "object",
4552
+ "additionalProperties": {}
4553
+ }
4554
+ ]
4555
+ }
4556
+ }
4557
+ },
4558
+ "Options_SetPostFtpParam": {
4559
+ "name": "ftp",
4560
+ "in": "query",
4561
+ "description": "Overrides for the `ftp` option block.",
4562
+ "style": "deepObject",
4563
+ "explode": true,
4564
+ "schema": {
4565
+ "type": "object",
4566
+ "additionalProperties": {
4567
+ "oneOf": [
4568
+ {
4569
+ "type": "string"
4570
+ },
4571
+ {
4572
+ "type": "number"
4573
+ },
4574
+ {
4575
+ "type": "integer"
4576
+ },
4577
+ {
4578
+ "type": "boolean"
4579
+ },
4580
+ {
4581
+ "type": "array",
4582
+ "items": {}
4583
+ },
4584
+ {
4585
+ "type": "object",
4586
+ "additionalProperties": {}
4587
+ }
4588
+ ]
4589
+ }
4590
+ }
4591
+ },
4592
+ "Options_SetPostMainParam": {
4593
+ "name": "main",
4594
+ "in": "query",
4595
+ "description": "Overrides for the `main` option block.",
4596
+ "style": "deepObject",
4597
+ "explode": true,
4598
+ "schema": {
4599
+ "type": "object",
4600
+ "additionalProperties": {
4601
+ "oneOf": [
4602
+ {
4603
+ "type": "string"
4604
+ },
4605
+ {
4606
+ "type": "number"
4607
+ },
4608
+ {
4609
+ "type": "integer"
4610
+ },
4611
+ {
4612
+ "type": "boolean"
4613
+ },
4614
+ {
4615
+ "type": "array",
4616
+ "items": {}
4617
+ },
4618
+ {
4619
+ "type": "object",
4620
+ "additionalProperties": {}
4621
+ }
4622
+ ]
4623
+ }
4624
+ }
4625
+ },
4626
+ "Options_SetPostHttpParam": {
4627
+ "name": "http",
4628
+ "in": "query",
4629
+ "description": "Overrides for the `http` option block.",
4630
+ "style": "deepObject",
4631
+ "explode": true,
4632
+ "schema": {
4633
+ "type": "object",
4634
+ "additionalProperties": {
4635
+ "oneOf": [
4636
+ {
4637
+ "type": "string"
4638
+ },
4639
+ {
4640
+ "type": "number"
4641
+ },
4642
+ {
4643
+ "type": "integer"
4644
+ },
4645
+ {
4646
+ "type": "boolean"
4647
+ },
4648
+ {
4649
+ "type": "array",
4650
+ "items": {}
4651
+ },
4652
+ {
4653
+ "type": "object",
4654
+ "additionalProperties": {}
4655
+ }
4656
+ ]
4657
+ }
4658
+ }
4659
+ },
4660
+ "Options_SetPostLogParam": {
4661
+ "name": "log",
4662
+ "in": "query",
4663
+ "description": "Overrides for the `log` option block.",
4664
+ "style": "deepObject",
4665
+ "explode": true,
4666
+ "schema": {
4667
+ "type": "object",
4668
+ "additionalProperties": {
4669
+ "oneOf": [
4670
+ {
4671
+ "type": "string"
4672
+ },
4673
+ {
4674
+ "type": "number"
4675
+ },
4676
+ {
4677
+ "type": "integer"
4678
+ },
4679
+ {
4680
+ "type": "boolean"
4681
+ },
4682
+ {
4683
+ "type": "array",
4684
+ "items": {}
4685
+ },
4686
+ {
4687
+ "type": "object",
4688
+ "additionalProperties": {}
4689
+ }
4690
+ ]
4691
+ }
4692
+ }
4693
+ },
4694
+ "Options_SetPostMountParam": {
4695
+ "name": "mount",
4696
+ "in": "query",
4697
+ "description": "Overrides for the `mount` option block.",
4698
+ "style": "deepObject",
4699
+ "explode": true,
4700
+ "schema": {
4701
+ "type": "object",
4702
+ "additionalProperties": {
4703
+ "oneOf": [
4704
+ {
4705
+ "type": "string"
4706
+ },
4707
+ {
4708
+ "type": "number"
4709
+ },
4710
+ {
4711
+ "type": "integer"
4712
+ },
4713
+ {
4714
+ "type": "boolean"
4715
+ },
4716
+ {
4717
+ "type": "array",
4718
+ "items": {}
4719
+ },
4720
+ {
4721
+ "type": "object",
4722
+ "additionalProperties": {}
4723
+ }
4724
+ ]
4725
+ }
4726
+ }
4727
+ },
4728
+ "Options_SetPostNfsParam": {
4729
+ "name": "nfs",
4730
+ "in": "query",
4731
+ "description": "Overrides for the `nfs` option block.",
4732
+ "style": "deepObject",
4733
+ "explode": true,
4734
+ "schema": {
4735
+ "type": "object",
4736
+ "additionalProperties": {
4737
+ "oneOf": [
4738
+ {
4739
+ "type": "string"
4740
+ },
4741
+ {
4742
+ "type": "number"
4743
+ },
4744
+ {
4745
+ "type": "integer"
4746
+ },
4747
+ {
4748
+ "type": "boolean"
4749
+ },
4750
+ {
4751
+ "type": "array",
4752
+ "items": {}
4753
+ },
4754
+ {
4755
+ "type": "object",
4756
+ "additionalProperties": {}
4757
+ }
4758
+ ]
4759
+ }
4760
+ }
4761
+ },
4762
+ "Options_SetPostProxyParam": {
4763
+ "name": "proxy",
4764
+ "in": "query",
4765
+ "description": "Overrides for the `proxy` option block.",
4766
+ "style": "deepObject",
4767
+ "explode": true,
4768
+ "schema": {
4769
+ "type": "object",
4770
+ "additionalProperties": {
4771
+ "oneOf": [
4772
+ {
4773
+ "type": "string"
4774
+ },
4775
+ {
4776
+ "type": "number"
4777
+ },
4778
+ {
4779
+ "type": "integer"
4780
+ },
4781
+ {
4782
+ "type": "boolean"
4783
+ },
4784
+ {
4785
+ "type": "array",
4786
+ "items": {}
4787
+ },
4788
+ {
4789
+ "type": "object",
4790
+ "additionalProperties": {}
4791
+ }
4792
+ ]
4793
+ }
4794
+ }
4795
+ },
4796
+ "Options_SetPostRcParam": {
4797
+ "name": "rc",
4798
+ "in": "query",
4799
+ "description": "Overrides for the `rc` option block.",
4800
+ "style": "deepObject",
4801
+ "explode": true,
4802
+ "schema": {
4803
+ "type": "object",
4804
+ "additionalProperties": {
4805
+ "oneOf": [
4806
+ {
4807
+ "type": "string"
4808
+ },
4809
+ {
4810
+ "type": "number"
4811
+ },
4812
+ {
4813
+ "type": "integer"
4814
+ },
4815
+ {
4816
+ "type": "boolean"
4817
+ },
4818
+ {
4819
+ "type": "array",
4820
+ "items": {}
4821
+ },
4822
+ {
4823
+ "type": "object",
4824
+ "additionalProperties": {}
4825
+ }
4826
+ ]
4827
+ }
4828
+ }
4829
+ },
4830
+ "Options_SetPostResticParam": {
4831
+ "name": "restic",
4832
+ "in": "query",
4833
+ "description": "Overrides for the `restic` option block.",
4834
+ "style": "deepObject",
4835
+ "explode": true,
4836
+ "schema": {
4837
+ "type": "object",
4838
+ "additionalProperties": {
4839
+ "oneOf": [
4840
+ {
4841
+ "type": "string"
4842
+ },
4843
+ {
4844
+ "type": "number"
4845
+ },
4846
+ {
4847
+ "type": "integer"
4848
+ },
4849
+ {
4850
+ "type": "boolean"
4851
+ },
4852
+ {
4853
+ "type": "array",
4854
+ "items": {}
4855
+ },
4856
+ {
4857
+ "type": "object",
4858
+ "additionalProperties": {}
4859
+ }
4860
+ ]
4861
+ }
4862
+ }
4863
+ },
4864
+ "Options_SetPostS3Param": {
4865
+ "name": "s3",
4866
+ "in": "query",
4867
+ "description": "Overrides for the `s3` option block.",
4868
+ "style": "deepObject",
4869
+ "explode": true,
4870
+ "schema": {
4871
+ "type": "object",
4872
+ "additionalProperties": {
4873
+ "oneOf": [
4874
+ {
4875
+ "type": "string"
4876
+ },
4877
+ {
4878
+ "type": "number"
4879
+ },
4880
+ {
4881
+ "type": "integer"
4882
+ },
4883
+ {
4884
+ "type": "boolean"
4885
+ },
4886
+ {
4887
+ "type": "array",
4888
+ "items": {}
4889
+ },
4890
+ {
4891
+ "type": "object",
4892
+ "additionalProperties": {}
4893
+ }
4894
+ ]
4895
+ }
4896
+ }
4897
+ },
4898
+ "Options_SetPostSftpParam": {
4899
+ "name": "sftp",
4900
+ "in": "query",
4901
+ "description": "Overrides for the `sftp` option block.",
4902
+ "style": "deepObject",
4903
+ "explode": true,
4904
+ "schema": {
4905
+ "type": "object",
4906
+ "additionalProperties": {
4907
+ "oneOf": [
4908
+ {
4909
+ "type": "string"
4910
+ },
4911
+ {
4912
+ "type": "number"
4913
+ },
4914
+ {
4915
+ "type": "integer"
4916
+ },
4917
+ {
4918
+ "type": "boolean"
4919
+ },
4920
+ {
4921
+ "type": "array",
4922
+ "items": {}
4923
+ },
4924
+ {
4925
+ "type": "object",
4926
+ "additionalProperties": {}
4927
+ }
4928
+ ]
4929
+ }
4930
+ }
4931
+ },
4932
+ "Options_SetPostVfsParam": {
4933
+ "name": "vfs",
4934
+ "in": "query",
4935
+ "description": "Overrides for the `vfs` option block.",
4936
+ "style": "deepObject",
4937
+ "explode": true,
4938
+ "schema": {
4939
+ "type": "object",
4940
+ "additionalProperties": {
4941
+ "oneOf": [
4942
+ {
4943
+ "type": "string"
4944
+ },
4945
+ {
4946
+ "type": "number"
4947
+ },
4948
+ {
4949
+ "type": "integer"
4950
+ },
4951
+ {
4952
+ "type": "boolean"
4953
+ },
4954
+ {
4955
+ "type": "array",
4956
+ "items": {}
4957
+ },
4958
+ {
4959
+ "type": "object",
4960
+ "additionalProperties": {}
4961
+ }
4962
+ ]
4963
+ }
4964
+ }
4965
+ },
4966
+ "Options_SetPostWebdavParam": {
4967
+ "name": "webdav",
4968
+ "in": "query",
4969
+ "description": "Overrides for the `webdav` option block.",
4970
+ "style": "deepObject",
4971
+ "explode": true,
4972
+ "schema": {
4973
+ "type": "object",
4974
+ "additionalProperties": {
4975
+ "oneOf": [
4976
+ {
4977
+ "type": "string"
4978
+ },
4979
+ {
4980
+ "type": "number"
4981
+ },
4982
+ {
4983
+ "type": "integer"
4984
+ },
4985
+ {
4986
+ "type": "boolean"
4987
+ },
4988
+ {
4989
+ "type": "array",
4990
+ "items": {}
4991
+ },
4992
+ {
4993
+ "type": "object",
4994
+ "additionalProperties": {}
4995
+ }
4996
+ ]
4997
+ }
4998
+ }
4456
4999
  },
4457
5000
  "Serve_StartPostTypeParam": {
4458
5001
  "name": "type",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rclone-openapi",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "keywords": [
5
5
  "rclone",
6
6
  "openapi",
package/types.d.ts CHANGED
@@ -3218,13 +3218,41 @@ export interface paths {
3218
3218
  put?: never;
3219
3219
  /**
3220
3220
  * Set option values
3221
- * @description Sets temporary option overrides for the running process by supplying key/value pairs.
3221
+ * @description Sets temporary option overrides for the running process by supplying key/value pairs grouped under option block names. Provide one or more query parameters whose names match the blocks you want to modify (for example `main`, `rc`, `http`). Each block parameter carries an object of option overrides.
3222
3222
  */
3223
3223
  post: {
3224
3224
  parameters: {
3225
3225
  query?: {
3226
- /** @description Additional arbitrary parameters allowed. */
3227
- params?: components["parameters"]["Options_SetPostAdditionalParam"];
3226
+ /** @description Overrides for the `dlna` option block. */
3227
+ dlna?: components["parameters"]["Options_SetPostDlnaParam"];
3228
+ /** @description Overrides for the `filter` option block. */
3229
+ filter?: components["parameters"]["Options_SetPostFilterParam"];
3230
+ /** @description Overrides for the `ftp` option block. */
3231
+ ftp?: components["parameters"]["Options_SetPostFtpParam"];
3232
+ /** @description Overrides for the `main` option block. */
3233
+ main?: components["parameters"]["Options_SetPostMainParam"];
3234
+ /** @description Overrides for the `http` option block. */
3235
+ http?: components["parameters"]["Options_SetPostHttpParam"];
3236
+ /** @description Overrides for the `log` option block. */
3237
+ log?: components["parameters"]["Options_SetPostLogParam"];
3238
+ /** @description Overrides for the `mount` option block. */
3239
+ mount?: components["parameters"]["Options_SetPostMountParam"];
3240
+ /** @description Overrides for the `nfs` option block. */
3241
+ nfs?: components["parameters"]["Options_SetPostNfsParam"];
3242
+ /** @description Overrides for the `proxy` option block. */
3243
+ proxy?: components["parameters"]["Options_SetPostProxyParam"];
3244
+ /** @description Overrides for the `rc` option block. */
3245
+ rc?: components["parameters"]["Options_SetPostRcParam"];
3246
+ /** @description Overrides for the `restic` option block. */
3247
+ restic?: components["parameters"]["Options_SetPostResticParam"];
3248
+ /** @description Overrides for the `s3` option block. */
3249
+ s3?: components["parameters"]["Options_SetPostS3Param"];
3250
+ /** @description Overrides for the `sftp` option block. */
3251
+ sftp?: components["parameters"]["Options_SetPostSftpParam"];
3252
+ /** @description Overrides for the `vfs` option block. */
3253
+ vfs?: components["parameters"]["Options_SetPostVfsParam"];
3254
+ /** @description Overrides for the `webdav` option block. */
3255
+ webdav?: components["parameters"]["Options_SetPostWebdavParam"];
3228
3256
  /** @description Assign the request to a custom stats group. */
3229
3257
  _group?: components["parameters"]["GlobalGroupParam"];
3230
3258
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5443,8 +5471,96 @@ export interface components {
5443
5471
  Options_GetPostBlocksParam: string;
5444
5472
  /** @description Optional comma-separated list of option block names to describe. */
5445
5473
  Options_InfoPostBlocksParam: string;
5446
- /** @description Additional arbitrary parameters allowed. */
5447
- Options_SetPostAdditionalParam: Record<string, never>;
5474
+ /** @description Overrides for the `dlna` option block. */
5475
+ Options_SetPostDlnaParam: {
5476
+ [key: string]: string | number | boolean | unknown[] | {
5477
+ [key: string]: unknown;
5478
+ };
5479
+ };
5480
+ /** @description Overrides for the `filter` option block. */
5481
+ Options_SetPostFilterParam: {
5482
+ [key: string]: string | number | boolean | unknown[] | {
5483
+ [key: string]: unknown;
5484
+ };
5485
+ };
5486
+ /** @description Overrides for the `ftp` option block. */
5487
+ Options_SetPostFtpParam: {
5488
+ [key: string]: string | number | boolean | unknown[] | {
5489
+ [key: string]: unknown;
5490
+ };
5491
+ };
5492
+ /** @description Overrides for the `main` option block. */
5493
+ Options_SetPostMainParam: {
5494
+ [key: string]: string | number | boolean | unknown[] | {
5495
+ [key: string]: unknown;
5496
+ };
5497
+ };
5498
+ /** @description Overrides for the `http` option block. */
5499
+ Options_SetPostHttpParam: {
5500
+ [key: string]: string | number | boolean | unknown[] | {
5501
+ [key: string]: unknown;
5502
+ };
5503
+ };
5504
+ /** @description Overrides for the `log` option block. */
5505
+ Options_SetPostLogParam: {
5506
+ [key: string]: string | number | boolean | unknown[] | {
5507
+ [key: string]: unknown;
5508
+ };
5509
+ };
5510
+ /** @description Overrides for the `mount` option block. */
5511
+ Options_SetPostMountParam: {
5512
+ [key: string]: string | number | boolean | unknown[] | {
5513
+ [key: string]: unknown;
5514
+ };
5515
+ };
5516
+ /** @description Overrides for the `nfs` option block. */
5517
+ Options_SetPostNfsParam: {
5518
+ [key: string]: string | number | boolean | unknown[] | {
5519
+ [key: string]: unknown;
5520
+ };
5521
+ };
5522
+ /** @description Overrides for the `proxy` option block. */
5523
+ Options_SetPostProxyParam: {
5524
+ [key: string]: string | number | boolean | unknown[] | {
5525
+ [key: string]: unknown;
5526
+ };
5527
+ };
5528
+ /** @description Overrides for the `rc` option block. */
5529
+ Options_SetPostRcParam: {
5530
+ [key: string]: string | number | boolean | unknown[] | {
5531
+ [key: string]: unknown;
5532
+ };
5533
+ };
5534
+ /** @description Overrides for the `restic` option block. */
5535
+ Options_SetPostResticParam: {
5536
+ [key: string]: string | number | boolean | unknown[] | {
5537
+ [key: string]: unknown;
5538
+ };
5539
+ };
5540
+ /** @description Overrides for the `s3` option block. */
5541
+ Options_SetPostS3Param: {
5542
+ [key: string]: string | number | boolean | unknown[] | {
5543
+ [key: string]: unknown;
5544
+ };
5545
+ };
5546
+ /** @description Overrides for the `sftp` option block. */
5547
+ Options_SetPostSftpParam: {
5548
+ [key: string]: string | number | boolean | unknown[] | {
5549
+ [key: string]: unknown;
5550
+ };
5551
+ };
5552
+ /** @description Overrides for the `vfs` option block. */
5553
+ Options_SetPostVfsParam: {
5554
+ [key: string]: string | number | boolean | unknown[] | {
5555
+ [key: string]: unknown;
5556
+ };
5557
+ };
5558
+ /** @description Overrides for the `webdav` option block. */
5559
+ Options_SetPostWebdavParam: {
5560
+ [key: string]: string | number | boolean | unknown[] | {
5561
+ [key: string]: unknown;
5562
+ };
5563
+ };
5448
5564
  /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
5449
5565
  Serve_StartPostTypeParam: string;
5450
5566
  /** @description Remote path that will be served. */