rclone-openapi 1.73.4-rev3 → 1.74.0
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 +71 -0
- package/openapi.yaml +44 -0
- package/package.json +1 -1
- package/types.d.ts +61 -0
package/openapi.json
CHANGED
|
@@ -764,6 +764,42 @@
|
|
|
764
764
|
"operationId": "coreCommand"
|
|
765
765
|
}
|
|
766
766
|
},
|
|
767
|
+
"/core/disks": {
|
|
768
|
+
"post": {
|
|
769
|
+
"summary": "List locally accessible paths",
|
|
770
|
+
"description": "Returns a list of locally accessible paths including mount points, user directories, and removable volumes.",
|
|
771
|
+
"tags": [],
|
|
772
|
+
"parameters": [
|
|
773
|
+
{
|
|
774
|
+
"$ref": "#/components/parameters/GlobalGroupParam"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"$ref": "#/components/parameters/GlobalAsyncParam"
|
|
778
|
+
}
|
|
779
|
+
],
|
|
780
|
+
"requestBody": {
|
|
781
|
+
"content": {
|
|
782
|
+
"application/json": {
|
|
783
|
+
"schema": {
|
|
784
|
+
"$ref": "#/components/schemas/CoreDisksRequest"
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
"responses": {
|
|
790
|
+
"200": {
|
|
791
|
+
"$ref": "#/components/responses/CoreDisksResponse"
|
|
792
|
+
},
|
|
793
|
+
"4XX": {
|
|
794
|
+
"$ref": "#/components/responses/RcError"
|
|
795
|
+
},
|
|
796
|
+
"5XX": {
|
|
797
|
+
"$ref": "#/components/responses/RcError"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"operationId": "coreDisks"
|
|
801
|
+
}
|
|
802
|
+
},
|
|
767
803
|
"/core/du": {
|
|
768
804
|
"post": {
|
|
769
805
|
"summary": "Report disk usage",
|
|
@@ -6211,6 +6247,28 @@
|
|
|
6211
6247
|
}
|
|
6212
6248
|
}
|
|
6213
6249
|
},
|
|
6250
|
+
"CoreDisksResponse": {
|
|
6251
|
+
"description": "Locally accessible paths including mount points, user directories, and removable volumes.",
|
|
6252
|
+
"content": {
|
|
6253
|
+
"application/json": {
|
|
6254
|
+
"schema": {
|
|
6255
|
+
"type": "object",
|
|
6256
|
+
"properties": {
|
|
6257
|
+
"disks": {
|
|
6258
|
+
"type": "array",
|
|
6259
|
+
"items": {
|
|
6260
|
+
"type": "string"
|
|
6261
|
+
},
|
|
6262
|
+
"description": "Accessible local paths such as disk mount points, user home folders, and removable volumes."
|
|
6263
|
+
}
|
|
6264
|
+
},
|
|
6265
|
+
"required": [
|
|
6266
|
+
"disks"
|
|
6267
|
+
]
|
|
6268
|
+
}
|
|
6269
|
+
}
|
|
6270
|
+
}
|
|
6271
|
+
},
|
|
6214
6272
|
"CoreDuResponse": {
|
|
6215
6273
|
"description": "Disk usage summary for the requested directory.",
|
|
6216
6274
|
"content": {
|
|
@@ -10956,6 +11014,19 @@
|
|
|
10956
11014
|
"description": "Run the command asynchronously. Returns a job id immediately."
|
|
10957
11015
|
}
|
|
10958
11016
|
}
|
|
11017
|
+
},
|
|
11018
|
+
"CoreDisksRequest": {
|
|
11019
|
+
"type": "object",
|
|
11020
|
+
"properties": {
|
|
11021
|
+
"_group": {
|
|
11022
|
+
"type": "string",
|
|
11023
|
+
"description": "Assign the request to a custom stats group."
|
|
11024
|
+
},
|
|
11025
|
+
"_async": {
|
|
11026
|
+
"type": "boolean",
|
|
11027
|
+
"description": "Run the command asynchronously. Returns a job id immediately."
|
|
11028
|
+
}
|
|
11029
|
+
}
|
|
10959
11030
|
}
|
|
10960
11031
|
}
|
|
10961
11032
|
}
|
package/openapi.yaml
CHANGED
|
@@ -414,6 +414,27 @@ paths:
|
|
|
414
414
|
5XX:
|
|
415
415
|
$ref: "#/components/responses/RcError"
|
|
416
416
|
operationId: coreCommand
|
|
417
|
+
/core/disks:
|
|
418
|
+
post:
|
|
419
|
+
summary: List locally accessible paths
|
|
420
|
+
description: Returns a list of locally accessible paths including mount points, user directories, and removable volumes.
|
|
421
|
+
tags: []
|
|
422
|
+
parameters:
|
|
423
|
+
- $ref: "#/components/parameters/GlobalGroupParam"
|
|
424
|
+
- $ref: "#/components/parameters/GlobalAsyncParam"
|
|
425
|
+
requestBody:
|
|
426
|
+
content:
|
|
427
|
+
application/json:
|
|
428
|
+
schema:
|
|
429
|
+
$ref: "#/components/schemas/CoreDisksRequest"
|
|
430
|
+
responses:
|
|
431
|
+
"200":
|
|
432
|
+
$ref: "#/components/responses/CoreDisksResponse"
|
|
433
|
+
4XX:
|
|
434
|
+
$ref: "#/components/responses/RcError"
|
|
435
|
+
5XX:
|
|
436
|
+
$ref: "#/components/responses/RcError"
|
|
437
|
+
operationId: coreDisks
|
|
417
438
|
/core/du:
|
|
418
439
|
post:
|
|
419
440
|
summary: Report disk usage
|
|
@@ -3758,6 +3779,20 @@ components:
|
|
|
3758
3779
|
nullable: true
|
|
3759
3780
|
required:
|
|
3760
3781
|
- error
|
|
3782
|
+
CoreDisksResponse:
|
|
3783
|
+
description: Locally accessible paths including mount points, user directories, and removable volumes.
|
|
3784
|
+
content:
|
|
3785
|
+
application/json:
|
|
3786
|
+
schema:
|
|
3787
|
+
type: object
|
|
3788
|
+
properties:
|
|
3789
|
+
disks:
|
|
3790
|
+
type: array
|
|
3791
|
+
items:
|
|
3792
|
+
type: string
|
|
3793
|
+
description: Accessible local paths such as disk mount points, user home folders, and removable volumes.
|
|
3794
|
+
required:
|
|
3795
|
+
- disks
|
|
3761
3796
|
CoreDuResponse:
|
|
3762
3797
|
description: Disk usage summary for the requested directory.
|
|
3763
3798
|
content:
|
|
@@ -7072,3 +7107,12 @@ components:
|
|
|
7072
7107
|
_async:
|
|
7073
7108
|
type: boolean
|
|
7074
7109
|
description: Run the command asynchronously. Returns a job id immediately.
|
|
7110
|
+
CoreDisksRequest:
|
|
7111
|
+
type: object
|
|
7112
|
+
properties:
|
|
7113
|
+
_group:
|
|
7114
|
+
type: string
|
|
7115
|
+
description: Assign the request to a custom stats group.
|
|
7116
|
+
_async:
|
|
7117
|
+
type: boolean
|
|
7118
|
+
description: Run the command asynchronously. Returns a job id immediately.
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -344,6 +344,26 @@ export interface paths {
|
|
|
344
344
|
patch?: never;
|
|
345
345
|
trace?: never;
|
|
346
346
|
};
|
|
347
|
+
"/core/disks": {
|
|
348
|
+
parameters: {
|
|
349
|
+
query?: never;
|
|
350
|
+
header?: never;
|
|
351
|
+
path?: never;
|
|
352
|
+
cookie?: never;
|
|
353
|
+
};
|
|
354
|
+
get?: never;
|
|
355
|
+
put?: never;
|
|
356
|
+
/**
|
|
357
|
+
* List locally accessible paths
|
|
358
|
+
* @description Returns a list of locally accessible paths including mount points, user directories, and removable volumes.
|
|
359
|
+
*/
|
|
360
|
+
post: operations["coreDisks"];
|
|
361
|
+
delete?: never;
|
|
362
|
+
options?: never;
|
|
363
|
+
head?: never;
|
|
364
|
+
patch?: never;
|
|
365
|
+
trace?: never;
|
|
366
|
+
};
|
|
347
367
|
"/core/du": {
|
|
348
368
|
parameters: {
|
|
349
369
|
query?: never;
|
|
@@ -3103,6 +3123,12 @@ export interface components {
|
|
|
3103
3123
|
/** @description Run the command asynchronously. Returns a job id immediately. */
|
|
3104
3124
|
_async?: boolean;
|
|
3105
3125
|
};
|
|
3126
|
+
CoreDisksRequest: {
|
|
3127
|
+
/** @description Assign the request to a custom stats group. */
|
|
3128
|
+
_group?: string;
|
|
3129
|
+
/** @description Run the command asynchronously. Returns a job id immediately. */
|
|
3130
|
+
_async?: boolean;
|
|
3131
|
+
};
|
|
3106
3132
|
};
|
|
3107
3133
|
responses: {
|
|
3108
3134
|
/** @description Any error response (HTTP 4xx/5xx) */
|
|
@@ -3282,6 +3308,18 @@ export interface components {
|
|
|
3282
3308
|
};
|
|
3283
3309
|
};
|
|
3284
3310
|
};
|
|
3311
|
+
/** @description Locally accessible paths including mount points, user directories, and removable volumes. */
|
|
3312
|
+
CoreDisksResponse: {
|
|
3313
|
+
headers: {
|
|
3314
|
+
[name: string]: unknown;
|
|
3315
|
+
};
|
|
3316
|
+
content: {
|
|
3317
|
+
"application/json": {
|
|
3318
|
+
/** @description Accessible local paths such as disk mount points, user home folders, and removable volumes. */
|
|
3319
|
+
disks: string[];
|
|
3320
|
+
};
|
|
3321
|
+
};
|
|
3322
|
+
};
|
|
3285
3323
|
/** @description Disk usage summary for the requested directory. */
|
|
3286
3324
|
CoreDuResponse: {
|
|
3287
3325
|
headers: {
|
|
@@ -5123,6 +5161,29 @@ export interface operations {
|
|
|
5123
5161
|
"5XX": components["responses"]["RcError"];
|
|
5124
5162
|
};
|
|
5125
5163
|
};
|
|
5164
|
+
coreDisks: {
|
|
5165
|
+
parameters: {
|
|
5166
|
+
query?: {
|
|
5167
|
+
/** @description Assign the request to a custom stats group. */
|
|
5168
|
+
_group?: components["parameters"]["GlobalGroupParam"];
|
|
5169
|
+
/** @description Run the command asynchronously. Returns a job id immediately. */
|
|
5170
|
+
_async?: components["parameters"]["GlobalAsyncParam"];
|
|
5171
|
+
};
|
|
5172
|
+
header?: never;
|
|
5173
|
+
path?: never;
|
|
5174
|
+
cookie?: never;
|
|
5175
|
+
};
|
|
5176
|
+
requestBody?: {
|
|
5177
|
+
content: {
|
|
5178
|
+
"application/json": components["schemas"]["CoreDisksRequest"];
|
|
5179
|
+
};
|
|
5180
|
+
};
|
|
5181
|
+
responses: {
|
|
5182
|
+
200: components["responses"]["CoreDisksResponse"];
|
|
5183
|
+
"4XX": components["responses"]["RcError"];
|
|
5184
|
+
"5XX": components["responses"]["RcError"];
|
|
5185
|
+
};
|
|
5186
|
+
};
|
|
5126
5187
|
coreDu: {
|
|
5127
5188
|
parameters: {
|
|
5128
5189
|
query?: {
|