rclone-openapi 1.0.19 → 1.0.20

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.
package/openapi.json CHANGED
@@ -1851,6 +1851,15 @@
1851
1851
  "$ref": "#/components/parameters/GlobalAsyncParam"
1852
1852
  }
1853
1853
  ],
1854
+ "requestBody": {
1855
+ "content": {
1856
+ "application/json": {
1857
+ "schema": {
1858
+ "$ref": "#/components/schemas/JobBatchRequest"
1859
+ }
1860
+ }
1861
+ }
1862
+ },
1854
1863
  "responses": {
1855
1864
  "200": {
1856
1865
  "$ref": "#/components/responses/JobBatchResponse"
@@ -7748,6 +7757,36 @@
7748
7757
  }
7749
7758
  },
7750
7759
  "schemas": {
7760
+ "JobBatchRequest": {
7761
+ "type": "object",
7762
+ "properties": {
7763
+ "concurrency": {
7764
+ "type": "integer",
7765
+ "description": "Do this many commands concurrently. Defaults to --transfers if not set."
7766
+ },
7767
+ "inputs": {
7768
+ "type": "array",
7769
+ "description": "List of inputs to the commands with an extra _path parameter.",
7770
+ "items": {
7771
+ "type": "object",
7772
+ "required": [
7773
+ "_path"
7774
+ ],
7775
+ "properties": {
7776
+ "_path": {
7777
+ "type": "string",
7778
+ "description": "rc/path"
7779
+ }
7780
+ },
7781
+ "additionalProperties": true
7782
+ }
7783
+ },
7784
+ "_async": {
7785
+ "type": "boolean",
7786
+ "description": "Run the command asynchronously. Returns a job id immediately."
7787
+ }
7788
+ }
7789
+ },
7751
7790
  "RcError": {
7752
7791
  "type": "object",
7753
7792
  "required": [
package/openapi.yaml CHANGED
@@ -1027,6 +1027,11 @@ paths:
1027
1027
  - $ref: "#/components/parameters/Job_BatchPostConcurrencyParam"
1028
1028
  - $ref: "#/components/parameters/Job_BatchPostInputsParam"
1029
1029
  - $ref: "#/components/parameters/GlobalAsyncParam"
1030
+ requestBody:
1031
+ content:
1032
+ application/json:
1033
+ schema:
1034
+ $ref: "#/components/schemas/JobBatchRequest"
1030
1035
  responses:
1031
1036
  "200":
1032
1037
  $ref: "#/components/responses/JobBatchResponse"
@@ -4723,6 +4728,27 @@ components:
4723
4728
  required:
4724
4729
  - loadedTestPlugins
4725
4730
  schemas:
4731
+ JobBatchRequest:
4732
+ type: object
4733
+ properties:
4734
+ concurrency:
4735
+ type: integer
4736
+ description: "Do this many commands concurrently. Defaults to --transfers if not set."
4737
+ inputs:
4738
+ type: array
4739
+ description: "List of inputs to the commands with an extra _path parameter."
4740
+ items:
4741
+ type: object
4742
+ required:
4743
+ - _path
4744
+ properties:
4745
+ _path:
4746
+ type: string
4747
+ description: "rc/path"
4748
+ additionalProperties: true
4749
+ _async:
4750
+ type: boolean
4751
+ description: "Run the command asynchronously. Returns a job id immediately."
4726
4752
  RcError:
4727
4753
  type: object
4728
4754
  required:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rclone-openapi",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "keywords": [
5
5
  "rclone",
6
6
  "openapi",
package/types.d.ts CHANGED
@@ -1904,6 +1904,19 @@ export interface paths {
1904
1904
  export type webhooks = Record<string, never>;
1905
1905
  export interface components {
1906
1906
  schemas: {
1907
+ JobBatchRequest: {
1908
+ /** @description Do this many commands concurrently. Defaults to --transfers if not set. */
1909
+ concurrency?: number;
1910
+ /** @description List of inputs to the commands with an extra _path parameter. */
1911
+ inputs?: ({
1912
+ /** @description rc/path */
1913
+ _path: string;
1914
+ } & {
1915
+ [key: string]: unknown;
1916
+ })[];
1917
+ /** @description Run the command asynchronously. Returns a job id immediately. */
1918
+ _async?: boolean;
1919
+ };
1907
1920
  RcError: {
1908
1921
  error: string;
1909
1922
  status: number;
@@ -4843,7 +4856,11 @@ export interface operations {
4843
4856
  path?: never;
4844
4857
  cookie?: never;
4845
4858
  };
4846
- requestBody?: never;
4859
+ requestBody?: {
4860
+ content: {
4861
+ "application/json": components["schemas"]["JobBatchRequest"];
4862
+ };
4863
+ };
4847
4864
  responses: {
4848
4865
  200: components["responses"]["JobBatchResponse"];
4849
4866
  "4XX": components["responses"]["RcError"];