rclone-openapi 1.72.1 → 1.73.4-rev2

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 (5) hide show
  1. package/README.md +1 -0
  2. package/openapi.json +3180 -545
  3. package/openapi.yaml +2809 -853
  4. package/package.json +5 -4
  5. package/types.d.ts +1962 -493
package/types.d.ts CHANGED
@@ -164,6 +164,26 @@ export interface paths {
164
164
  patch?: never;
165
165
  trace?: never;
166
166
  };
167
+ "/operations/hashsumfile": {
168
+ parameters: {
169
+ query?: never;
170
+ header?: never;
171
+ path?: never;
172
+ cookie?: never;
173
+ };
174
+ get?: never;
175
+ put?: never;
176
+ /**
177
+ * Hash a single file
178
+ * @description Returns the hash of a single file using the specified hash algorithm.
179
+ */
180
+ post: operations["operationsHashsumfile"];
181
+ delete?: never;
182
+ options?: never;
183
+ head?: never;
184
+ patch?: never;
185
+ trace?: never;
186
+ };
167
187
  "/operations/movefile": {
168
188
  parameters: {
169
189
  query?: never;
@@ -2063,229 +2083,1271 @@ export interface components {
2063
2083
  } & {
2064
2084
  [key: string]: unknown;
2065
2085
  };
2066
- };
2067
- responses: {
2068
- /** @description Any error response (HTTP 4xx/5xx) */
2069
- RcError: {
2070
- headers: {
2071
- [name: string]: unknown;
2072
- };
2073
- content: {
2074
- "application/json": components["schemas"]["RcError"];
2075
- };
2076
- };
2077
- /** @description Results of the batch job execution. */
2078
- JobBatchResponse: {
2079
- headers: {
2080
- [name: string]: unknown;
2081
- };
2082
- content: {
2083
- "application/json": {
2084
- /** @description Identifier for this rclone process. */
2085
- executeId: string;
2086
- /** @description ID of the async job. */
2087
- jobid: number;
2088
- };
2089
- };
2086
+ RcNoopRequest: {
2087
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2088
+ _async?: boolean;
2089
+ } & {
2090
+ [key: string]: unknown;
2090
2091
  };
2091
- /** @description Request succeeded with no response body. */
2092
- EmptyResponse: {
2093
- headers: {
2094
- [name: string]: unknown;
2095
- };
2096
- content?: never;
2092
+ OperationsCleanupRequest: {
2093
+ /** @description Remote name or path to clean up, for example `drive:`. */
2094
+ fs?: string;
2095
+ /** @description Assign the request to a custom stats group. */
2096
+ _group?: string;
2097
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2098
+ _async?: boolean;
2097
2099
  };
2098
- /** @description Request succeeded returning an empty JSON object. */
2099
- EmptyObjectResponse: {
2100
- headers: {
2101
- [name: string]: unknown;
2102
- };
2103
- content: {
2104
- "application/json": Record<string, never>;
2105
- };
2100
+ OperationsCopyfileRequest: {
2101
+ /** @description Source remote name or path, such as `drive:` or `/` for the local filesystem. */
2102
+ srcFs?: string;
2103
+ /** @description Path to the source object within `srcFs`, for example `dir/file.txt`. */
2104
+ srcRemote?: string;
2105
+ /** @description Destination remote name or path, such as `drive2:` or `/` for local filesystem. */
2106
+ dstFs?: string;
2107
+ /** @description Target path within `dstFs` where the file should be written. */
2108
+ dstRemote?: string;
2109
+ /** @description Assign the request to a custom stats group. */
2110
+ _group?: string;
2111
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2112
+ _async?: boolean;
2106
2113
  };
2107
- /** @description Response for sync operations, containing job ID if async. */
2108
- SyncJobResponse: {
2109
- headers: {
2110
- [name: string]: unknown;
2111
- };
2112
- content: {
2113
- "application/json": {
2114
- /** @description Job ID of the operation. */
2115
- jobid?: number;
2116
- };
2117
- };
2114
+ OperationsCopyurlRequest: {
2115
+ /** @description Remote name or path that will receive the downloaded file, e.g. `drive:`. */
2116
+ fs?: string;
2117
+ /** @description Destination path within `fs` where the fetched object will be stored. */
2118
+ remote?: string;
2119
+ /** @description Source URL to fetch the object from. */
2120
+ url?: string;
2121
+ /** @description Set to true to derive the destination filename from the URL. */
2122
+ autoFilename?: boolean;
2123
+ /** @description Assign the request to a custom stats group. */
2124
+ _group?: string;
2125
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2126
+ _async?: boolean;
2118
2127
  };
2119
- /** @description Echoes any supplied parameters, useful for testing RC connectivity. */
2120
- RcNoopResponse: {
2121
- headers: {
2122
- [name: string]: unknown;
2123
- };
2124
- content: {
2125
- "application/json": {
2126
- [key: string]: unknown;
2127
- };
2128
- };
2128
+ OperationsDeleteRequest: {
2129
+ /** @description Remote name or path whose contents should be removed. */
2130
+ fs?: string;
2131
+ /** @description JSON encoded config overrides applied for this call only. */
2132
+ _config?: string;
2133
+ /** @description JSON encoded filter overrides applied for this call only. */
2134
+ _filter?: string;
2135
+ /** @description Assign the request to a custom stats group. */
2136
+ _group?: string;
2137
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2138
+ _async?: boolean;
2129
2139
  };
2130
- /** @description Capabilities, supported hashes, and metadata for the specified remote. */
2131
- OperationsFsinfoResponse: {
2132
- headers: {
2133
- [name: string]: unknown;
2134
- };
2135
- content: {
2136
- "application/json": {
2137
- Features: {
2138
- [key: string]: boolean;
2139
- };
2140
- Hashes: string[];
2141
- MetadataInfo?: {
2142
- [key: string]: unknown;
2143
- } | null;
2144
- Name: string;
2145
- Precision: number;
2146
- Root: string;
2147
- String: string;
2148
- };
2149
- };
2140
+ OperationsDeletefileRequest: {
2141
+ /** @description Remote name or path that contains the file to delete. */
2142
+ fs?: string;
2143
+ /** @description Exact path to the file within `fs` that should be deleted. */
2144
+ remote?: string;
2145
+ /** @description Assign the request to a custom stats group. */
2146
+ _group?: string;
2147
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2148
+ _async?: boolean;
2150
2149
  };
2151
- /** @description Hash algorithm used and the ordered hash lines emitted by `operations/hashsum`. */
2152
- OperationsHashsumResponse: {
2153
- headers: {
2154
- [name: string]: unknown;
2155
- };
2156
- content: {
2157
- "application/json": {
2158
- hashType: string;
2159
- hashsum: string[];
2160
- };
2161
- };
2150
+ OperationsFsinfoRequest: {
2151
+ /** @description Remote name or path to inspect, e.g. `drive:`. */
2152
+ fs?: string;
2153
+ /** @description Assign the request to a custom stats group. */
2154
+ _group?: string;
2155
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2156
+ _async?: boolean;
2162
2157
  };
2163
- /** @description Public sharing URL returned by `operations/publiclink`. */
2164
- OperationsPubliclinkResponse: {
2165
- headers: {
2166
- [name: string]: unknown;
2167
- };
2168
- content: {
2169
- "application/json": {
2170
- /** Format: uri */
2171
- url: string;
2172
- };
2173
- };
2158
+ OperationsHashsumRequest: {
2159
+ /** @description Remote name or path to hash, such as `drive:` or `/`. */
2160
+ fs?: string;
2161
+ /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
2162
+ hashType?: string;
2163
+ /** @description Set to true to force reading the data instead of using remote checksums. */
2164
+ download?: boolean;
2165
+ /** @description Set to true to emit hash values in base64 rather than hexadecimal. */
2166
+ base64?: boolean;
2167
+ /** @description Assign the request to a custom stats group. */
2168
+ _group?: string;
2169
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2170
+ _async?: boolean;
2174
2171
  };
2175
- /** @description Aggregate object counts and total size from `operations/size`. */
2176
- OperationsSizeResponse: {
2177
- headers: {
2178
- [name: string]: unknown;
2179
- };
2180
- content: {
2181
- "application/json": {
2182
- bytes: number;
2183
- count: number;
2184
- sizeless: number;
2185
- };
2186
- };
2172
+ OperationsHashsumfileRequest: {
2173
+ /** @description Remote name or path containing the file to hash. */
2174
+ fs?: string;
2175
+ /** @description Path to the specific file within `fs` to hash. */
2176
+ remote?: string;
2177
+ /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
2178
+ hashType?: string;
2179
+ /** @description Set to true to force reading the data instead of using remote checksums. */
2180
+ download?: boolean;
2181
+ /** @description Set to true to emit the hash value in base64 rather than hexadecimal. */
2182
+ base64?: boolean;
2183
+ /** @description Assign the request to a custom stats group. */
2184
+ _group?: string;
2185
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2186
+ _async?: boolean;
2187
2187
  };
2188
- /** @description Effective bandwidth limits in bytes per second and human readable form. */
2189
- CoreBwlimitResponse: {
2190
- headers: {
2191
- [name: string]: unknown;
2192
- };
2193
- content: {
2194
- "application/json": {
2195
- bytesPerSecond: number;
2196
- bytesPerSecondRx: number;
2197
- bytesPerSecondTx: number;
2198
- rate: string;
2199
- };
2200
- };
2188
+ OperationsMovefileRequest: {
2189
+ /** @description Source remote name or path containing the file to move. */
2190
+ srcFs?: string;
2191
+ /** @description Path to the source object within `srcFs`. */
2192
+ srcRemote?: string;
2193
+ /** @description Destination remote name or path where the file will be moved. */
2194
+ dstFs?: string;
2195
+ /** @description Destination path within `dstFs` for the moved object. */
2196
+ dstRemote?: string;
2197
+ /** @description Assign the request to a custom stats group. */
2198
+ _group?: string;
2199
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2200
+ _async?: boolean;
2201
2201
  };
2202
- /** @description Outcome of a command executed with `core/command`, including streamed result. */
2203
- CoreCommandResponse: {
2204
- headers: {
2205
- [name: string]: unknown;
2206
- };
2207
- content: {
2208
- "application/json": {
2209
- error: boolean;
2210
- result?: string | null;
2211
- returnType?: string | null;
2212
- };
2213
- };
2202
+ OperationsPubliclinkRequest: {
2203
+ /** @description Remote name or path hosting the object for which to manage a public link. */
2204
+ fs?: string;
2205
+ /** @description Path within `fs` to the object for which to create or remove a public link. */
2206
+ remote?: string;
2207
+ /** @description Set to true to remove an existing public link instead of creating one. */
2208
+ unlink?: boolean;
2209
+ /** @description Optional expiration time for the public link, formatted as supported by the backend. */
2210
+ expire?: string;
2211
+ /** @description Assign the request to a custom stats group. */
2212
+ _group?: string;
2213
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2214
+ _async?: boolean;
2214
2215
  };
2215
- /** @description Disk usage summary for the requested directory. */
2216
- CoreDuResponse: {
2217
- headers: {
2218
- [name: string]: unknown;
2219
- };
2220
- content: {
2221
- "application/json": {
2222
- dir: string;
2223
- info: {
2224
- Free: number;
2225
- Available: number;
2226
- Total: number;
2227
- };
2228
- };
2229
- };
2216
+ OperationsRmdirsRequest: {
2217
+ /** @description Remote name or path to scan for empty directories. */
2218
+ fs?: string;
2219
+ /** @description Path within `fs` whose empty subdirectories should be removed. */
2220
+ remote?: string;
2221
+ /** @description Set to true to preserve the top-level directory even if empty. */
2222
+ leaveRoot?: boolean;
2223
+ /** @description Assign the request to a custom stats group. */
2224
+ _group?: string;
2225
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2226
+ _async?: boolean;
2230
2227
  };
2231
- /** @description Completed transfer records including size, status, and timestamps. */
2232
- CoreTransferredResponse: {
2233
- headers: {
2234
- [name: string]: unknown;
2235
- };
2236
- content: {
2237
- "application/json": {
2238
- transferred: ({
2239
- /** @description Stats group identifier this transfer belonged to. */
2240
- group: string;
2241
- /** @description Source remote or filesystem used for the transfer. */
2242
- srcFs?: string;
2243
- /** @description Destination remote or filesystem used for the transfer. */
2244
- dstFs?: string;
2245
- /** @description Source path within `srcFs`, when provided. */
2246
- srcRemote?: string;
2247
- /** @description Destination path within `dstFs`, when provided. */
2248
- dstRemote?: string;
2249
- name?: string;
2250
- size?: number;
2251
- bytes?: number;
2252
- checked?: boolean;
2253
- /** @enum {string} */
2254
- what?: "transferring" | "deleting" | "checking" | "importing" | "hashing" | "merging" | "listing" | "moving" | "renaming";
2255
- /** @description ISO8601 timestamp when the transfer started. */
2256
- started_at?: string;
2257
- /** @description ISO8601 timestamp when the transfer completed. */
2258
- completed_at?: string;
2259
- timestamp?: number;
2260
- error?: string;
2261
- jobid?: number;
2262
- } & {
2263
- [key: string]: unknown;
2264
- })[];
2265
- };
2266
- };
2228
+ OperationsSettierRequest: {
2229
+ /** @description Remote name or path whose storage class tier should be changed. */
2230
+ fs?: string;
2231
+ /** @description Assign the request to a custom stats group. */
2232
+ _group?: string;
2233
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2234
+ _async?: boolean;
2267
2235
  };
2268
- /** @description Previous garbage collection target percentage returned after update. */
2269
- DebugSetGcPercentResponse: {
2270
- headers: {
2271
- [name: string]: unknown;
2272
- };
2273
- content: {
2274
- "application/json": {
2275
- "existing-gc-percent": number;
2276
- };
2277
- };
2236
+ OperationsSettierfileRequest: {
2237
+ /** @description Remote name or path that contains the object whose tier should change. */
2238
+ fs?: string;
2239
+ /** @description Path within `fs` to the object whose storage class tier should be updated. */
2240
+ remote?: string;
2241
+ /** @description Assign the request to a custom stats group. */
2242
+ _group?: string;
2243
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2244
+ _async?: boolean;
2278
2245
  };
2279
- /** @description Previous mutex profiling sampling rate. */
2280
- DebugSetMutexProfileFractionResponse: {
2281
- headers: {
2282
- [name: string]: unknown;
2283
- };
2284
- content: {
2285
- "application/json": {
2286
- previousRate: number;
2287
- };
2288
- };
2246
+ OperationsSizeRequest: {
2247
+ /** @description Remote name or path to measure aggregate size information for. */
2248
+ fs?: string;
2249
+ /** @description Assign the request to a custom stats group. */
2250
+ _group?: string;
2251
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2252
+ _async?: boolean;
2253
+ };
2254
+ CoreBwlimitRequest: {
2255
+ /** @description Bandwidth limit to apply, for example `off`, `5M`, or a schedule string. */
2256
+ rate?: string;
2257
+ /** @description Assign the request to a custom stats group. */
2258
+ _group?: string;
2259
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2260
+ _async?: boolean;
2261
+ };
2262
+ CoreCommandRequest: {
2263
+ /** @description Name of the rclone command to execute, for example `ls` or `lsf`. */
2264
+ command?: string;
2265
+ /** @description Optional positional arguments for the command. Repeat to supply multiple values. */
2266
+ arg?: string[];
2267
+ /** @description Optional command options encoded as a JSON string. */
2268
+ opt?: string;
2269
+ /** @description Controls how output is returned; accepts `COMBINED_OUTPUT`, `STREAM`, `STREAM_ONLY_STDOUT`, or `STREAM_ONLY_STDERR`. */
2270
+ returnType?: string;
2271
+ /** @description Assign the request to a custom stats group. */
2272
+ _group?: string;
2273
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2274
+ _async?: boolean;
2275
+ };
2276
+ CoreDuRequest: {
2277
+ /** @description Local directory path to report disk usage for. Defaults to the rclone cache directory when omitted. */
2278
+ dir?: string;
2279
+ /** @description Assign the request to a custom stats group. */
2280
+ _group?: string;
2281
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2282
+ _async?: boolean;
2283
+ };
2284
+ CoreGcRequest: {
2285
+ /** @description Assign the request to a custom stats group. */
2286
+ _group?: string;
2287
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2288
+ _async?: boolean;
2289
+ };
2290
+ CoreGroupListRequest: {
2291
+ /** @description Assign the request to a custom stats group. */
2292
+ _group?: string;
2293
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2294
+ _async?: boolean;
2295
+ };
2296
+ CoreMemstatsRequest: {
2297
+ /** @description Assign the request to a custom stats group. */
2298
+ _group?: string;
2299
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2300
+ _async?: boolean;
2301
+ };
2302
+ CoreObscureRequest: {
2303
+ /** @description Plain-text string to obscure for storage in the config file. */
2304
+ clear?: string;
2305
+ /** @description Assign the request to a custom stats group. */
2306
+ _group?: string;
2307
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2308
+ _async?: boolean;
2309
+ };
2310
+ CorePidRequest: {
2311
+ /** @description Assign the request to a custom stats group. */
2312
+ _group?: string;
2313
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2314
+ _async?: boolean;
2315
+ };
2316
+ CoreQuitRequest: {
2317
+ /** @description Optional exit code to use when terminating the rclone process. */
2318
+ exitCode?: number;
2319
+ /** @description Assign the request to a custom stats group. */
2320
+ _group?: string;
2321
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2322
+ _async?: boolean;
2323
+ };
2324
+ CoreStatsDeleteRequest: {
2325
+ /** @description Stats group identifier to remove. */
2326
+ group?: string;
2327
+ /** @description Assign the request to a custom stats group. */
2328
+ _group?: string;
2329
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2330
+ _async?: boolean;
2331
+ };
2332
+ CoreStatsResetRequest: {
2333
+ /** @description Stats group identifier whose counters should be reset. Leave unset to reset all groups. */
2334
+ group?: string;
2335
+ /** @description Assign the request to a custom stats group. */
2336
+ _group?: string;
2337
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2338
+ _async?: boolean;
2339
+ };
2340
+ CoreTransferredRequest: {
2341
+ /** @description Stats group identifier to filter the completed transfer list. Leave unset for all groups. */
2342
+ group?: string;
2343
+ /** @description Assign the request to a custom stats group. */
2344
+ _group?: string;
2345
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2346
+ _async?: boolean;
2347
+ };
2348
+ DebugSetBlockProfileRateRequest: {
2349
+ /** @description Sampling interval in nanoseconds for blocking profile collection; use 1 to capture all events. */
2350
+ rate?: number;
2351
+ /** @description Assign the request to a custom stats group. */
2352
+ _group?: string;
2353
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2354
+ _async?: boolean;
2355
+ };
2356
+ DebugSetGcPercentRequest: {
2357
+ /** @description Target percentage of newly allocated data to trigger garbage collection. */
2358
+ "gc-percent"?: number;
2359
+ /** @description Assign the request to a custom stats group. */
2360
+ _group?: string;
2361
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2362
+ _async?: boolean;
2363
+ };
2364
+ DebugSetMutexProfileFractionRequest: {
2365
+ /** @description Sampling fraction for mutex contention profiling; set to 0 to disable. */
2366
+ rate?: number;
2367
+ /** @description Assign the request to a custom stats group. */
2368
+ _group?: string;
2369
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2370
+ _async?: boolean;
2371
+ };
2372
+ DebugSetSoftMemoryLimitRequest: {
2373
+ /** @description Soft memory limit for the Go runtime in bytes. */
2374
+ "mem-limit"?: number;
2375
+ /** @description Assign the request to a custom stats group. */
2376
+ _group?: string;
2377
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2378
+ _async?: boolean;
2379
+ };
2380
+ FscacheClearRequest: {
2381
+ /** @description Assign the request to a custom stats group. */
2382
+ _group?: string;
2383
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2384
+ _async?: boolean;
2385
+ };
2386
+ FscacheEntriesRequest: {
2387
+ /** @description Assign the request to a custom stats group. */
2388
+ _group?: string;
2389
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2390
+ _async?: boolean;
2391
+ };
2392
+ MountListmountsRequest: {
2393
+ /** @description Assign the request to a custom stats group. */
2394
+ _group?: string;
2395
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2396
+ _async?: boolean;
2397
+ };
2398
+ MountMountRequest: {
2399
+ /** @description Remote path to mount, such as `drive:` or `remote:subdir`. */
2400
+ fs?: string;
2401
+ /** @description Absolute local path where the remote should be mounted. */
2402
+ mountPoint?: string;
2403
+ /** @description Optional mount implementation to use (`mount`, `cmount`, or `mount2`). */
2404
+ mountType?: string;
2405
+ /** @description Mount options encoded as JSON, matching flags accepted by `rclone mount`. */
2406
+ mountOpt?: string;
2407
+ /** @description VFS options encoded as JSON, matching flags accepted by `rclone mount`. */
2408
+ vfsOpt?: string;
2409
+ /** @description JSON encoded config overrides applied for this call only. */
2410
+ _config?: string;
2411
+ /** @description JSON encoded filter overrides applied for this call only. */
2412
+ _filter?: string;
2413
+ /** @description Assign the request to a custom stats group. */
2414
+ _group?: string;
2415
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2416
+ _async?: boolean;
2417
+ };
2418
+ MountTypesRequest: {
2419
+ /** @description Assign the request to a custom stats group. */
2420
+ _group?: string;
2421
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2422
+ _async?: boolean;
2423
+ };
2424
+ MountUnmountRequest: {
2425
+ /** @description Local mount point path to unmount. */
2426
+ mountPoint?: string;
2427
+ /** @description Assign the request to a custom stats group. */
2428
+ _group?: string;
2429
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2430
+ _async?: boolean;
2431
+ };
2432
+ MountUnmountallRequest: {
2433
+ /** @description Assign the request to a custom stats group. */
2434
+ _group?: string;
2435
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2436
+ _async?: boolean;
2437
+ };
2438
+ RcNoopAuthRequest: {
2439
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2440
+ _async?: boolean;
2441
+ } & {
2442
+ [key: string]: unknown;
2443
+ };
2444
+ RcErrorRequest: {
2445
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2446
+ _async?: boolean;
2447
+ } & {
2448
+ [key: string]: unknown;
2449
+ };
2450
+ RcListRequest: {
2451
+ /** @description Assign the request to a custom stats group. */
2452
+ _group?: string;
2453
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2454
+ _async?: boolean;
2455
+ };
2456
+ BackendCommandRequest: {
2457
+ /** @description Backend-specific command to invoke. */
2458
+ command?: string;
2459
+ /** @description Remote name or path the backend command should target. */
2460
+ fs?: string;
2461
+ /** @description Optional positional arguments for the backend command. */
2462
+ arg?: string[];
2463
+ /** @description Backend command options encoded as a JSON string. */
2464
+ opt?: string;
2465
+ /** @description Assign the request to a custom stats group. */
2466
+ _group?: string;
2467
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2468
+ _async?: boolean;
2469
+ };
2470
+ CacheExpireRequest: {
2471
+ /** @description Remote path to expire from the cache, e.g. `remote:path/to/dir`. */
2472
+ remote?: string;
2473
+ /** @description Set to true to drop cached chunk data along with directory entries. */
2474
+ withData?: boolean;
2475
+ /** @description Assign the request to a custom stats group. */
2476
+ _group?: string;
2477
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2478
+ _async?: boolean;
2479
+ };
2480
+ CacheFetchRequest: {
2481
+ /** @description Comma-separated chunk specifier list (e.g. `0:10,25:30`) describing file pieces to prefetch. */
2482
+ chunks?: string;
2483
+ /** @description Assign the request to a custom stats group. */
2484
+ _group?: string;
2485
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2486
+ _async?: boolean;
2487
+ } & {
2488
+ [key: string]: unknown;
2489
+ };
2490
+ CacheStatsRequest: {
2491
+ /** @description Assign the request to a custom stats group. */
2492
+ _group?: string;
2493
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2494
+ _async?: boolean;
2495
+ };
2496
+ ConfigCreateRequest: {
2497
+ /** @description Name of the new remote configuration. */
2498
+ name?: string;
2499
+ /** @description JSON object of configuration key/value pairs required for the remote. */
2500
+ parameters?: string;
2501
+ /** @description Backend type identifier, such as `drive`, `s3`, or `dropbox`. */
2502
+ type?: string;
2503
+ /** @description Optional JSON object controlling interactive behaviour (e.g. `obscure`, `continue`). */
2504
+ opt?: string;
2505
+ /** @description Assign the request to a custom stats group. */
2506
+ _group?: string;
2507
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2508
+ _async?: boolean;
2509
+ };
2510
+ ConfigDeleteRequest: {
2511
+ /** @description Name of the remote configuration to delete. */
2512
+ name?: string;
2513
+ /** @description Assign the request to a custom stats group. */
2514
+ _group?: string;
2515
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2516
+ _async?: boolean;
2517
+ };
2518
+ ConfigDumpRequest: {
2519
+ /** @description Assign the request to a custom stats group. */
2520
+ _group?: string;
2521
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2522
+ _async?: boolean;
2523
+ };
2524
+ ConfigGetRequest: {
2525
+ /** @description Name of the remote configuration to fetch. */
2526
+ name?: string;
2527
+ /** @description Assign the request to a custom stats group. */
2528
+ _group?: string;
2529
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2530
+ _async?: boolean;
2531
+ };
2532
+ ConfigListremotesRequest: {
2533
+ /** @description Assign the request to a custom stats group. */
2534
+ _group?: string;
2535
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2536
+ _async?: boolean;
2537
+ };
2538
+ ConfigPasswordRequest: {
2539
+ /** @description Name of the remote whose secrets should be updated. */
2540
+ name?: string;
2541
+ /** @description JSON object of password answers, typically including `pass`. */
2542
+ parameters?: string;
2543
+ /** @description Assign the request to a custom stats group. */
2544
+ _group?: string;
2545
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2546
+ _async?: boolean;
2547
+ };
2548
+ ConfigPathsRequest: {
2549
+ /** @description Assign the request to a custom stats group. */
2550
+ _group?: string;
2551
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2552
+ _async?: boolean;
2553
+ };
2554
+ ConfigProvidersRequest: {
2555
+ /** @description Assign the request to a custom stats group. */
2556
+ _group?: string;
2557
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2558
+ _async?: boolean;
2559
+ };
2560
+ ConfigSetpathRequest: {
2561
+ /** @description Absolute path to the `rclone.conf` file that rclone should use. */
2562
+ path?: string;
2563
+ /** @description Assign the request to a custom stats group. */
2564
+ _group?: string;
2565
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2566
+ _async?: boolean;
2567
+ };
2568
+ ConfigUnlockRequest: {
2569
+ /** @description Password used to unlock an encrypted config file. */
2570
+ configPassword?: string;
2571
+ /** @description Assign the request to a custom stats group. */
2572
+ _group?: string;
2573
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2574
+ _async?: boolean;
2575
+ };
2576
+ ConfigUpdateRequest: {
2577
+ /** @description Name of the remote configuration to update. */
2578
+ name?: string;
2579
+ /** @description JSON object of configuration key/value pairs to apply to the remote. */
2580
+ parameters?: string;
2581
+ /** @description Optional JSON object controlling update behaviour (e.g. `obscure`, `continue`). */
2582
+ opt?: string;
2583
+ /** @description Assign the request to a custom stats group. */
2584
+ _group?: string;
2585
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2586
+ _async?: boolean;
2587
+ };
2588
+ CoreVersionRequest: {
2589
+ /** @description Assign the request to a custom stats group. */
2590
+ _group?: string;
2591
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2592
+ _async?: boolean;
2593
+ };
2594
+ CoreStatsRequest: {
2595
+ /** @description Stats group identifier to return a snapshot for. Leave unset to include all groups. */
2596
+ group?: string;
2597
+ /** @description When true, omit the `transferring` and `checking` arrays from the response. */
2598
+ short?: boolean;
2599
+ /** @description Assign the request to a custom stats group. */
2600
+ _group?: string;
2601
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2602
+ _async?: boolean;
2603
+ };
2604
+ JobListRequest: {
2605
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2606
+ _async?: boolean;
2607
+ };
2608
+ JobStatusRequest: {
2609
+ /** @description Numeric identifier of the job to query, as returned from an async call. */
2610
+ jobid?: number;
2611
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2612
+ _async?: boolean;
2613
+ };
2614
+ JobStopRequest: {
2615
+ /** @description Numeric identifier of the job to cancel. */
2616
+ jobid?: number;
2617
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2618
+ _async?: boolean;
2619
+ };
2620
+ JobStopgroupRequest: {
2621
+ /** @description Stats group name whose active jobs should be stopped. */
2622
+ group?: string;
2623
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2624
+ _async?: boolean;
2625
+ };
2626
+ OperationsListRequest: {
2627
+ /** @description Remote name or path to list, for example `drive:`. */
2628
+ fs?: string;
2629
+ /** @description Directory path within `fs` to list; leave empty to target the root. */
2630
+ remote?: string;
2631
+ /** @description Optional JSON-encoded object of listing flags (e.g. `{ "recurse": true, "showHash": true }`). */
2632
+ opt?: string;
2633
+ /** @description Set to true to list directories recursively. */
2634
+ recurse?: boolean;
2635
+ /** @description Set to true to omit modification times for faster listings on some backends. */
2636
+ noModTime?: boolean;
2637
+ /** @description Set to true to include encrypted names when using crypt remotes. */
2638
+ showEncrypted?: boolean;
2639
+ /** @description Set to true to include original backend identifiers where available. */
2640
+ showOrigIDs?: boolean;
2641
+ /** @description Set to true to include hash digests for each entry. */
2642
+ showHash?: boolean;
2643
+ /** @description Set to true to omit MIME type detection. */
2644
+ noMimeType?: boolean;
2645
+ /** @description Set to true to return only directory entries. */
2646
+ dirsOnly?: boolean;
2647
+ /** @description Set to true to return only file entries. */
2648
+ filesOnly?: boolean;
2649
+ /** @description Set to true to include backend-provided metadata maps. */
2650
+ metadata?: boolean;
2651
+ /** @description Specify one or more hash algorithms to include when `showHash` is true (e.g. `md5`). */
2652
+ hashTypes?: string[];
2653
+ /** @description Assign the request to a custom stats group. */
2654
+ _group?: string;
2655
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2656
+ _async?: boolean;
2657
+ };
2658
+ OperationsStatRequest: {
2659
+ /** @description Remote name or path that contains the item to inspect. */
2660
+ fs?: string;
2661
+ /** @description Path to the file or directory within `fs` to describe. */
2662
+ remote?: string;
2663
+ /** @description Optional JSON object of listing flags, matching those accepted by `operations/list`. */
2664
+ opt?: string;
2665
+ /** @description Assign the request to a custom stats group. */
2666
+ _group?: string;
2667
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2668
+ _async?: boolean;
2669
+ };
2670
+ OperationsAboutRequest: {
2671
+ /** @description Remote name or path to query for capacity information. */
2672
+ fs?: string;
2673
+ /** @description Assign the request to a custom stats group. */
2674
+ _group?: string;
2675
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2676
+ _async?: boolean;
2677
+ };
2678
+ OperationsPurgeRequest: {
2679
+ /** @description Remote name or path from which to remove all contents. */
2680
+ fs?: string;
2681
+ /** @description Path within `fs` whose contents should be purged. */
2682
+ remote?: string;
2683
+ /** @description JSON encoded config overrides applied for this call only. */
2684
+ _config?: string;
2685
+ /** @description JSON encoded filter overrides applied for this call only. */
2686
+ _filter?: string;
2687
+ /** @description Assign the request to a custom stats group. */
2688
+ _group?: string;
2689
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2690
+ _async?: boolean;
2691
+ };
2692
+ OperationsMkdirRequest: {
2693
+ /** @description Remote name or path in which to create a directory. */
2694
+ fs?: string;
2695
+ /** @description Directory path within `fs` to create. */
2696
+ remote?: string;
2697
+ /** @description Assign the request to a custom stats group. */
2698
+ _group?: string;
2699
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2700
+ _async?: boolean;
2701
+ };
2702
+ OperationsRmdirRequest: {
2703
+ /** @description Remote name or path containing the directory to remove. */
2704
+ fs?: string;
2705
+ /** @description Directory path within `fs` to delete. */
2706
+ remote?: string;
2707
+ /** @description Assign the request to a custom stats group. */
2708
+ _group?: string;
2709
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2710
+ _async?: boolean;
2711
+ };
2712
+ OperationsCheckRequest: {
2713
+ /** @description Source remote name or path to verify, e.g. `drive:`. */
2714
+ srcFs?: string;
2715
+ /** @description Destination remote name or path that should match the source. */
2716
+ dstFs?: string;
2717
+ /** @description Set to true to read file contents during comparison instead of relying on hashes. */
2718
+ download?: boolean;
2719
+ /** @description Hash name to expect in the supplied SUM file, such as `md5`. */
2720
+ checkFileHash?: string;
2721
+ /** @description Remote containing the checksum SUM file when using `checkFileHash`. */
2722
+ checkFileFs?: string;
2723
+ /** @description Path within `checkFileFs` to the checksum SUM file. */
2724
+ checkFileRemote?: string;
2725
+ /** @description Set to true to only ensure that source files exist on the destination. */
2726
+ oneWay?: boolean;
2727
+ /** @description Set to true to include a combined summary report in the response. */
2728
+ combined?: boolean;
2729
+ /** @description Set to true to report files missing from the source. */
2730
+ missingOnSrc?: boolean;
2731
+ /** @description Set to true to report files missing from the destination. */
2732
+ missingOnDst?: boolean;
2733
+ /** @description Set to true to include matching files in the report. */
2734
+ match?: boolean;
2735
+ /** @description Set to true to include differing files in the report. */
2736
+ differ?: boolean;
2737
+ /** @description Set to true to include entries that encountered errors. */
2738
+ error?: boolean;
2739
+ /** @description Assign the request to a custom stats group. */
2740
+ _group?: string;
2741
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2742
+ _async?: boolean;
2743
+ };
2744
+ SyncSyncRequest: {
2745
+ /** @description Source remote path to sync from, e.g. `drive:src`. */
2746
+ srcFs?: string;
2747
+ /** @description Destination remote path to sync to, e.g. `drive:dst`. */
2748
+ dstFs?: string;
2749
+ /** @description Set to true to create empty source directories on the destination. */
2750
+ createEmptySrcDirs?: boolean;
2751
+ /** @description JSON encoded config overrides applied for this call only. */
2752
+ _config?: string;
2753
+ /** @description JSON encoded filter overrides applied for this call only. */
2754
+ _filter?: string;
2755
+ /** @description Assign the request to a custom stats group. */
2756
+ _group?: string;
2757
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2758
+ _async?: boolean;
2759
+ };
2760
+ SyncCopyRequest: {
2761
+ /** @description Source remote path to copy from. */
2762
+ srcFs?: string;
2763
+ /** @description Destination remote path to copy to. */
2764
+ dstFs?: string;
2765
+ /** @description Set to true to replicate empty source directories on the destination. */
2766
+ createEmptySrcDirs?: boolean;
2767
+ /** @description JSON encoded config overrides applied for this call only. */
2768
+ _config?: string;
2769
+ /** @description JSON encoded filter overrides applied for this call only. */
2770
+ _filter?: string;
2771
+ /** @description Assign the request to a custom stats group. */
2772
+ _group?: string;
2773
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2774
+ _async?: boolean;
2775
+ };
2776
+ SyncMoveRequest: {
2777
+ /** @description Source remote path whose contents will be moved. */
2778
+ srcFs?: string;
2779
+ /** @description Destination remote path that will receive moved files. */
2780
+ dstFs?: string;
2781
+ /** @description Set to true to create empty source directories on the destination. */
2782
+ createEmptySrcDirs?: boolean;
2783
+ /** @description Set to true to delete empty directories from the source after the move completes. */
2784
+ deleteEmptySrcDirs?: boolean;
2785
+ /** @description JSON encoded config overrides applied for this call only. */
2786
+ _config?: string;
2787
+ /** @description JSON encoded filter overrides applied for this call only. */
2788
+ _filter?: string;
2789
+ /** @description Assign the request to a custom stats group. */
2790
+ _group?: string;
2791
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2792
+ _async?: boolean;
2793
+ };
2794
+ SyncBisyncRequest: {
2795
+ /** @description First remote directory, e.g. `drive:path1`. */
2796
+ path1?: string;
2797
+ /** @description Second remote directory, e.g. `drive:path2`. */
2798
+ path2?: string;
2799
+ /** @description Set to true to simulate the bisync run without making changes. */
2800
+ dryRun?: boolean;
2801
+ /** @description Set to true to perform a one-time resync, rebuilding bisync history. */
2802
+ resync?: boolean;
2803
+ /** @description Set to true to abort if `RCLONE_TEST` files are missing on either side. */
2804
+ checkAccess?: boolean;
2805
+ /** @description Override the access-check sentinel filename; defaults to `RCLONE_TEST`. */
2806
+ checkFilename?: string;
2807
+ /** @description Abort the run if deletions exceed this percentage (default 50). */
2808
+ maxDelete?: number;
2809
+ /** @description Set to true to bypass the `maxDelete` safety check. */
2810
+ force?: boolean;
2811
+ /** @description Controls final listing comparison; leave true for normal verification or set false to skip. */
2812
+ checkSync?: boolean;
2813
+ /** @description Set to true to mirror empty directories between the two paths. */
2814
+ createEmptySrcDirs?: boolean;
2815
+ /** @description Set to true to remove empty directories during cleanup. */
2816
+ removeEmptyDirs?: boolean;
2817
+ /** @description Path to an rclone filters file applied to both paths. */
2818
+ filtersFile?: string;
2819
+ /** @description Set to true to ignore checksum differences when comparing listings. */
2820
+ ignoreListingChecksum?: boolean;
2821
+ /** @description Set to true to allow retrying after certain recoverable errors. */
2822
+ resilient?: boolean;
2823
+ /** @description Directory path used to store bisync working files. */
2824
+ workdir?: string;
2825
+ /** @description Backup directory on the first remote for changed files. */
2826
+ backupdir1?: string;
2827
+ /** @description Backup directory on the second remote for changed files. */
2828
+ backupdir2?: string;
2829
+ /** @description Set to true to keep bisync working files after completion. */
2830
+ noCleanup?: boolean;
2831
+ /** @description JSON encoded config overrides applied for this call only. */
2832
+ _config?: string;
2833
+ /** @description JSON encoded filter overrides applied for this call only. */
2834
+ _filter?: string;
2835
+ /** @description Assign the request to a custom stats group. */
2836
+ _group?: string;
2837
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2838
+ _async?: boolean;
2839
+ };
2840
+ OptionsBlocksRequest: {
2841
+ /** @description Assign the request to a custom stats group. */
2842
+ _group?: string;
2843
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2844
+ _async?: boolean;
2845
+ };
2846
+ OptionsGetRequest: {
2847
+ /** @description Optional comma-separated list of option block names to return. */
2848
+ blocks?: string;
2849
+ /** @description Assign the request to a custom stats group. */
2850
+ _group?: string;
2851
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2852
+ _async?: boolean;
2853
+ };
2854
+ OptionsInfoRequest: {
2855
+ /** @description Optional comma-separated list of option block names to describe. */
2856
+ blocks?: string;
2857
+ /** @description Assign the request to a custom stats group. */
2858
+ _group?: string;
2859
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2860
+ _async?: boolean;
2861
+ };
2862
+ OptionsSetRequest: {
2863
+ /** @description Overrides for the `dlna` option block. */
2864
+ dlna?: {
2865
+ [key: string]: unknown;
2866
+ };
2867
+ /** @description Overrides for the `filter` option block. */
2868
+ filter?: {
2869
+ [key: string]: unknown;
2870
+ };
2871
+ /** @description Overrides for the `ftp` option block. */
2872
+ ftp?: {
2873
+ [key: string]: unknown;
2874
+ };
2875
+ /** @description Overrides for the `main` option block. */
2876
+ main?: {
2877
+ [key: string]: unknown;
2878
+ };
2879
+ /** @description Overrides for the `http` option block. */
2880
+ http?: {
2881
+ [key: string]: unknown;
2882
+ };
2883
+ /** @description Overrides for the `log` option block. */
2884
+ log?: {
2885
+ [key: string]: unknown;
2886
+ };
2887
+ /** @description Overrides for the `mount` option block. */
2888
+ mount?: {
2889
+ [key: string]: unknown;
2890
+ };
2891
+ /** @description Overrides for the `nfs` option block. */
2892
+ nfs?: {
2893
+ [key: string]: unknown;
2894
+ };
2895
+ /** @description Overrides for the `proxy` option block. */
2896
+ proxy?: {
2897
+ [key: string]: unknown;
2898
+ };
2899
+ /** @description Overrides for the `rc` option block. */
2900
+ rc?: {
2901
+ [key: string]: unknown;
2902
+ };
2903
+ /** @description Overrides for the `restic` option block. */
2904
+ restic?: {
2905
+ [key: string]: unknown;
2906
+ };
2907
+ /** @description Overrides for the `s3` option block. */
2908
+ s3?: {
2909
+ [key: string]: unknown;
2910
+ };
2911
+ /** @description Overrides for the `sftp` option block. */
2912
+ sftp?: {
2913
+ [key: string]: unknown;
2914
+ };
2915
+ /** @description Overrides for the `vfs` option block. */
2916
+ vfs?: {
2917
+ [key: string]: unknown;
2918
+ };
2919
+ /** @description Overrides for the `webdav` option block. */
2920
+ webdav?: {
2921
+ [key: string]: unknown;
2922
+ };
2923
+ /** @description Assign the request to a custom stats group. */
2924
+ _group?: string;
2925
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2926
+ _async?: boolean;
2927
+ } & {
2928
+ [key: string]: unknown;
2929
+ };
2930
+ OptionsLocalRequest: {
2931
+ /** @description Assign the request to a custom stats group. */
2932
+ _group?: string;
2933
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2934
+ _async?: boolean;
2935
+ };
2936
+ ServeListRequest: {
2937
+ /** @description Assign the request to a custom stats group. */
2938
+ _group?: string;
2939
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2940
+ _async?: boolean;
2941
+ };
2942
+ ServeStartRequest: {
2943
+ /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
2944
+ type?: string;
2945
+ /** @description Remote path that will be served. */
2946
+ fs?: string;
2947
+ /** @description Address and port to bind the server to, such as `:5572` or `localhost:8080`. */
2948
+ addr?: string;
2949
+ /** @description JSON encoded config overrides applied for this call only. */
2950
+ _config?: string;
2951
+ /** @description JSON encoded filter overrides applied for this call only. */
2952
+ _filter?: string;
2953
+ /** @description Assign the request to a custom stats group. */
2954
+ _group?: string;
2955
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2956
+ _async?: boolean;
2957
+ } & {
2958
+ [key: string]: unknown;
2959
+ };
2960
+ ServeStopRequest: {
2961
+ /** @description Identifier of the running serve instance returned by `serve/start`. */
2962
+ id?: string;
2963
+ /** @description Assign the request to a custom stats group. */
2964
+ _group?: string;
2965
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2966
+ _async?: boolean;
2967
+ };
2968
+ ServeStopallRequest: {
2969
+ /** @description Assign the request to a custom stats group. */
2970
+ _group?: string;
2971
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2972
+ _async?: boolean;
2973
+ };
2974
+ ServeTypesRequest: {
2975
+ /** @description Assign the request to a custom stats group. */
2976
+ _group?: string;
2977
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2978
+ _async?: boolean;
2979
+ };
2980
+ VfsForgetRequest: {
2981
+ /** @description Optional VFS identifier to target; required when more than one VFS is active. */
2982
+ fs?: string;
2983
+ /** @description Assign the request to a custom stats group. */
2984
+ _group?: string;
2985
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2986
+ _async?: boolean;
2987
+ } & {
2988
+ [key: string]: unknown;
2989
+ };
2990
+ VfsListRequest: {
2991
+ /** @description Optional VFS identifier; omit to list all active VFS instances. */
2992
+ fs?: string;
2993
+ /** @description Assign the request to a custom stats group. */
2994
+ _group?: string;
2995
+ /** @description Run the command asynchronously. Returns a job id immediately. */
2996
+ _async?: boolean;
2997
+ };
2998
+ VfsPollIntervalRequest: {
2999
+ /** @description Optional VFS identifier whose poll interval should be queried or modified. */
3000
+ fs?: string;
3001
+ /** @description Duration string (e.g. `5m`) to set as the new poll interval. */
3002
+ interval?: string;
3003
+ /** @description Duration to wait for the poll interval change to take effect; `0` waits indefinitely. */
3004
+ timeout?: string;
3005
+ /** @description Assign the request to a custom stats group. */
3006
+ _group?: string;
3007
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3008
+ _async?: boolean;
3009
+ };
3010
+ VfsQueueRequest: {
3011
+ /** @description Optional VFS identifier whose upload queue should be inspected. */
3012
+ fs?: string;
3013
+ /** @description Assign the request to a custom stats group. */
3014
+ _group?: string;
3015
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3016
+ _async?: boolean;
3017
+ };
3018
+ VfsQueueSetExpiryRequest: {
3019
+ /** @description Optional VFS identifier for the queued item. */
3020
+ fs?: string;
3021
+ /** @description Queue item ID as returned by `vfs/queue`. */
3022
+ id?: number;
3023
+ /** @description New eligibility time in seconds (may be negative for immediate upload). */
3024
+ expiry?: number;
3025
+ /** @description Set to true to treat `expiry` as relative to the current value. */
3026
+ relative?: boolean;
3027
+ /** @description Assign the request to a custom stats group. */
3028
+ _group?: string;
3029
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3030
+ _async?: boolean;
3031
+ };
3032
+ VfsRefreshRequest: {
3033
+ /** @description Optional VFS identifier whose directory cache should be refreshed. */
3034
+ fs?: string;
3035
+ /** @description Set to true to refresh entire directory trees. */
3036
+ recursive?: boolean;
3037
+ /** @description Assign the request to a custom stats group. */
3038
+ _group?: string;
3039
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3040
+ _async?: boolean;
3041
+ } & {
3042
+ [key: string]: unknown;
3043
+ };
3044
+ VfsStatsRequest: {
3045
+ /** @description Optional VFS identifier whose statistics should be returned. */
3046
+ fs?: string;
3047
+ /** @description Assign the request to a custom stats group. */
3048
+ _group?: string;
3049
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3050
+ _async?: boolean;
3051
+ };
3052
+ PluginsctlAddPluginRequest: {
3053
+ /** @description Repository URL of the plugin to install. */
3054
+ url?: string;
3055
+ /** @description Assign the request to a custom stats group. */
3056
+ _group?: string;
3057
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3058
+ _async?: boolean;
3059
+ };
3060
+ PluginsctlGetPluginsForTypeRequest: {
3061
+ /** @description MIME type to match when listing plugins. */
3062
+ type?: string;
3063
+ /** @description Filter results by plugin type (e.g. `test`). */
3064
+ pluginType?: string;
3065
+ /** @description Assign the request to a custom stats group. */
3066
+ _group?: string;
3067
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3068
+ _async?: boolean;
3069
+ };
3070
+ PluginsctlListPluginsRequest: {
3071
+ /** @description Assign the request to a custom stats group. */
3072
+ _group?: string;
3073
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3074
+ _async?: boolean;
3075
+ };
3076
+ PluginsctlListTestPluginsRequest: {
3077
+ /** @description Assign the request to a custom stats group. */
3078
+ _group?: string;
3079
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3080
+ _async?: boolean;
3081
+ };
3082
+ PluginsctlRemovePluginRequest: {
3083
+ /** @description Name of the plugin to uninstall. */
3084
+ name?: string;
3085
+ /** @description Assign the request to a custom stats group. */
3086
+ _group?: string;
3087
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3088
+ _async?: boolean;
3089
+ };
3090
+ PluginsctlRemoveTestPluginRequest: {
3091
+ /** @description Name of the test plugin to uninstall. */
3092
+ name?: string;
3093
+ /** @description Assign the request to a custom stats group. */
3094
+ _group?: string;
3095
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3096
+ _async?: boolean;
3097
+ };
3098
+ };
3099
+ responses: {
3100
+ /** @description Any error response (HTTP 4xx/5xx) */
3101
+ RcError: {
3102
+ headers: {
3103
+ [name: string]: unknown;
3104
+ };
3105
+ content: {
3106
+ "application/json": components["schemas"]["RcError"];
3107
+ };
3108
+ };
3109
+ /** @description Results of the batch job execution. */
3110
+ JobBatchResponse: {
3111
+ headers: {
3112
+ [name: string]: unknown;
3113
+ };
3114
+ content: {
3115
+ "application/json": {
3116
+ /** @description Identifier for this rclone process. */
3117
+ executeId: string;
3118
+ /** @description ID of the async job. */
3119
+ jobid: number;
3120
+ };
3121
+ };
3122
+ };
3123
+ /** @description Request succeeded with no response body. */
3124
+ EmptyResponse: {
3125
+ headers: {
3126
+ [name: string]: unknown;
3127
+ };
3128
+ content?: never;
3129
+ };
3130
+ /** @description Request succeeded returning an empty JSON object. */
3131
+ EmptyObjectResponse: {
3132
+ headers: {
3133
+ [name: string]: unknown;
3134
+ };
3135
+ content: {
3136
+ "application/json": {
3137
+ /** @description Job ID returned when _async=true. */
3138
+ jobid?: number;
3139
+ } & {
3140
+ [key: string]: unknown;
3141
+ };
3142
+ };
3143
+ };
3144
+ /** @description Supported rclone serve protocols. */
3145
+ ServeTypesResponse: {
3146
+ headers: {
3147
+ [name: string]: unknown;
3148
+ };
3149
+ content: {
3150
+ "application/json": {
3151
+ types: string[];
3152
+ };
3153
+ };
3154
+ };
3155
+ /** @description Response for sync operations, containing job ID if async. */
3156
+ SyncJobResponse: {
3157
+ headers: {
3158
+ [name: string]: unknown;
3159
+ };
3160
+ content: {
3161
+ "application/json": {
3162
+ /** @description Job ID of the operation. */
3163
+ jobid?: number;
3164
+ };
3165
+ };
3166
+ };
3167
+ /** @description Echoes any supplied parameters, useful for testing RC connectivity. */
3168
+ RcNoopResponse: {
3169
+ headers: {
3170
+ [name: string]: unknown;
3171
+ };
3172
+ content: {
3173
+ "application/json": {
3174
+ [key: string]: unknown;
3175
+ };
3176
+ };
3177
+ };
3178
+ /** @description Capabilities, supported hashes, and metadata for the specified remote. */
3179
+ OperationsFsinfoResponse: {
3180
+ headers: {
3181
+ [name: string]: unknown;
3182
+ };
3183
+ content: {
3184
+ "application/json": {
3185
+ Features: {
3186
+ [key: string]: boolean;
3187
+ };
3188
+ Hashes: string[];
3189
+ MetadataInfo?: {
3190
+ [key: string]: unknown;
3191
+ } | null;
3192
+ Name: string;
3193
+ Precision: number;
3194
+ Root: string;
3195
+ String: string;
3196
+ };
3197
+ };
3198
+ };
3199
+ /** @description Hash algorithm used and the ordered hash lines emitted by `operations/hashsum`. */
3200
+ OperationsHashsumResponse: {
3201
+ headers: {
3202
+ [name: string]: unknown;
3203
+ };
3204
+ content: {
3205
+ "application/json": {
3206
+ hashType: string;
3207
+ hashsum: string[];
3208
+ };
3209
+ };
3210
+ };
3211
+ /** @description Hash algorithm used and the hash value for a single file from `operations/hashsumfile`. */
3212
+ OperationsHashsumfileResponse: {
3213
+ headers: {
3214
+ [name: string]: unknown;
3215
+ };
3216
+ content: {
3217
+ "application/json": {
3218
+ /** @description The hash algorithm that was used. */
3219
+ hashType: string;
3220
+ /** @description The hash value of the file. */
3221
+ hash: string;
3222
+ };
3223
+ };
3224
+ };
3225
+ /** @description Public sharing URL returned by `operations/publiclink`. */
3226
+ OperationsPubliclinkResponse: {
3227
+ headers: {
3228
+ [name: string]: unknown;
3229
+ };
3230
+ content: {
3231
+ "application/json": {
3232
+ /** Format: uri */
3233
+ url: string;
3234
+ };
3235
+ };
3236
+ };
3237
+ /** @description Aggregate object counts and total size from `operations/size`. */
3238
+ OperationsSizeResponse: {
3239
+ headers: {
3240
+ [name: string]: unknown;
3241
+ };
3242
+ content: {
3243
+ "application/json": {
3244
+ bytes: number;
3245
+ count: number;
3246
+ sizeless: number;
3247
+ };
3248
+ };
3249
+ };
3250
+ /** @description Effective bandwidth limits in bytes per second and human readable form. */
3251
+ CoreBwlimitResponse: {
3252
+ headers: {
3253
+ [name: string]: unknown;
3254
+ };
3255
+ content: {
3256
+ "application/json": {
3257
+ bytesPerSecond: number;
3258
+ bytesPerSecondRx: number;
3259
+ bytesPerSecondTx: number;
3260
+ rate: string;
3261
+ };
3262
+ };
3263
+ };
3264
+ /** @description Outcome of a command executed with `core/command`, including streamed result. */
3265
+ CoreCommandResponse: {
3266
+ headers: {
3267
+ [name: string]: unknown;
3268
+ };
3269
+ content: {
3270
+ "application/json": {
3271
+ error: boolean;
3272
+ result?: string | null;
3273
+ returnType?: string | null;
3274
+ };
3275
+ };
3276
+ };
3277
+ /** @description Disk usage summary for the requested directory. */
3278
+ CoreDuResponse: {
3279
+ headers: {
3280
+ [name: string]: unknown;
3281
+ };
3282
+ content: {
3283
+ "application/json": {
3284
+ dir: string;
3285
+ info: {
3286
+ Free: number;
3287
+ Available: number;
3288
+ Total: number;
3289
+ };
3290
+ };
3291
+ };
3292
+ };
3293
+ /** @description Completed transfer records including size, status, and timestamps. */
3294
+ CoreTransferredResponse: {
3295
+ headers: {
3296
+ [name: string]: unknown;
3297
+ };
3298
+ content: {
3299
+ "application/json": {
3300
+ transferred: ({
3301
+ /** @description Stats group identifier this transfer belonged to. */
3302
+ group: string;
3303
+ /** @description Source remote or filesystem used for the transfer. */
3304
+ srcFs?: string;
3305
+ /** @description Destination remote or filesystem used for the transfer. */
3306
+ dstFs?: string;
3307
+ /** @description Source path within `srcFs`, when provided. */
3308
+ srcRemote?: string;
3309
+ /** @description Destination path within `dstFs`, when provided. */
3310
+ dstRemote?: string;
3311
+ name?: string;
3312
+ size?: number;
3313
+ bytes?: number;
3314
+ checked?: boolean;
3315
+ /** @enum {string} */
3316
+ what?: "transferring" | "deleting" | "checking" | "importing" | "hashing" | "merging" | "listing" | "moving" | "renaming";
3317
+ /** @description ISO8601 timestamp when the transfer started. */
3318
+ started_at?: string;
3319
+ /** @description ISO8601 timestamp when the transfer completed. */
3320
+ completed_at?: string;
3321
+ timestamp?: number;
3322
+ error?: string;
3323
+ jobid?: number;
3324
+ } & {
3325
+ [key: string]: unknown;
3326
+ })[];
3327
+ };
3328
+ };
3329
+ };
3330
+ /** @description Previous garbage collection target percentage returned after update. */
3331
+ DebugSetGcPercentResponse: {
3332
+ headers: {
3333
+ [name: string]: unknown;
3334
+ };
3335
+ content: {
3336
+ "application/json": {
3337
+ "existing-gc-percent": number;
3338
+ };
3339
+ };
3340
+ };
3341
+ /** @description Previous mutex profiling sampling rate. */
3342
+ DebugSetMutexProfileFractionResponse: {
3343
+ headers: {
3344
+ [name: string]: unknown;
3345
+ };
3346
+ content: {
3347
+ "application/json": {
3348
+ previousRate: number;
3349
+ };
3350
+ };
2289
3351
  };
2290
3352
  /** @description Previous soft memory limit before the change. */
2291
3353
  DebugSetSoftMemoryLimitResponse: {
@@ -3127,7 +4189,9 @@ export interface components {
3127
4189
  /** @description Assign the request to a custom stats group. */
3128
4190
  GlobalGroupParam: string;
3129
4191
  /** @description Additional arbitrary parameters allowed. */
3130
- Rc_NoopPostAdditionalParam: Record<string, never>;
4192
+ Rc_NoopPostAdditionalParam: {
4193
+ [key: string]: unknown;
4194
+ };
3131
4195
  /** @description Do this many commands concurrently. Defaults to --transfers if not set. */
3132
4196
  Job_BatchPostConcurrencyParam: number;
3133
4197
  /** @description List of inputs to the commands with an extra _path parameter. */
@@ -3171,6 +4235,16 @@ export interface components {
3171
4235
  Operations_HashsumPostDownloadParam: boolean;
3172
4236
  /** @description Set to true to emit hash values in base64 rather than hexadecimal. */
3173
4237
  Operations_HashsumPostBase64Param: boolean;
4238
+ /** @description Remote name or path containing the file to hash. */
4239
+ Operations_HashsumfilePostFsParam: string;
4240
+ /** @description Path to the specific file within `fs` to hash. */
4241
+ Operations_HashsumfilePostRemoteParam: string;
4242
+ /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
4243
+ Operations_HashsumfilePostHashTypeParam: string;
4244
+ /** @description Set to true to force reading the data instead of using remote checksums. */
4245
+ Operations_HashsumfilePostDownloadParam: boolean;
4246
+ /** @description Set to true to emit the hash value in base64 rather than hexadecimal. */
4247
+ Operations_HashsumfilePostBase64Param: boolean;
3174
4248
  /** @description Source remote name or path containing the file to move. */
3175
4249
  Operations_MovefilePostSrcFsParam: string;
3176
4250
  /** @description Path to the source object within `srcFs`. */
@@ -3248,9 +4322,13 @@ export interface components {
3248
4322
  /** @description Local mount point path to unmount. */
3249
4323
  Mount_UnmountPostMountPointParam: string;
3250
4324
  /** @description Additional arbitrary parameters allowed. */
3251
- Rc_NoopauthPostAdditionalParam: Record<string, never>;
4325
+ Rc_NoopauthPostAdditionalParam: {
4326
+ [key: string]: unknown;
4327
+ };
3252
4328
  /** @description Additional arbitrary parameters allowed. */
3253
- Rc_ErrorPostAdditionalParam: Record<string, never>;
4329
+ Rc_ErrorPostAdditionalParam: {
4330
+ [key: string]: unknown;
4331
+ };
3254
4332
  /** @description Backend-specific command to invoke. */
3255
4333
  Backend_CommandPostCommandParam: string;
3256
4334
  /** @description Remote name or path the backend command should target. */
@@ -3266,7 +4344,9 @@ export interface components {
3266
4344
  /** @description Comma-separated chunk specifier list (e.g. `0:10,25:30`) describing file pieces to prefetch. */
3267
4345
  Cache_FetchPostChunksParam: string;
3268
4346
  /** @description Additional arbitrary parameters allowed. */
3269
- Cache_FetchPostAdditionalParam: Record<string, never>;
4347
+ Cache_FetchPostAdditionalParam: {
4348
+ [key: string]: unknown;
4349
+ };
3270
4350
  /** @description Name of the new remote configuration. */
3271
4351
  Config_CreatePostNameParam: string;
3272
4352
  /** @description JSON object of configuration key/value pairs required for the remote. */
@@ -3437,93 +4517,63 @@ export interface components {
3437
4517
  Options_InfoPostBlocksParam: string;
3438
4518
  /** @description Overrides for the `dlna` option block. */
3439
4519
  Options_SetPostDlnaParam: {
3440
- [key: string]: string | number | boolean | unknown[] | {
3441
- [key: string]: unknown;
3442
- };
4520
+ [key: string]: unknown;
3443
4521
  };
3444
4522
  /** @description Overrides for the `filter` option block. */
3445
4523
  Options_SetPostFilterParam: {
3446
- [key: string]: string | number | boolean | unknown[] | {
3447
- [key: string]: unknown;
3448
- };
4524
+ [key: string]: unknown;
3449
4525
  };
3450
4526
  /** @description Overrides for the `ftp` option block. */
3451
4527
  Options_SetPostFtpParam: {
3452
- [key: string]: string | number | boolean | unknown[] | {
3453
- [key: string]: unknown;
3454
- };
4528
+ [key: string]: unknown;
3455
4529
  };
3456
4530
  /** @description Overrides for the `main` option block. */
3457
4531
  Options_SetPostMainParam: {
3458
- [key: string]: string | number | boolean | unknown[] | {
3459
- [key: string]: unknown;
3460
- };
4532
+ [key: string]: unknown;
3461
4533
  };
3462
4534
  /** @description Overrides for the `http` option block. */
3463
4535
  Options_SetPostHttpParam: {
3464
- [key: string]: string | number | boolean | unknown[] | {
3465
- [key: string]: unknown;
3466
- };
4536
+ [key: string]: unknown;
3467
4537
  };
3468
4538
  /** @description Overrides for the `log` option block. */
3469
4539
  Options_SetPostLogParam: {
3470
- [key: string]: string | number | boolean | unknown[] | {
3471
- [key: string]: unknown;
3472
- };
4540
+ [key: string]: unknown;
3473
4541
  };
3474
4542
  /** @description Overrides for the `mount` option block. */
3475
4543
  Options_SetPostMountParam: {
3476
- [key: string]: string | number | boolean | unknown[] | {
3477
- [key: string]: unknown;
3478
- };
4544
+ [key: string]: unknown;
3479
4545
  };
3480
4546
  /** @description Overrides for the `nfs` option block. */
3481
4547
  Options_SetPostNfsParam: {
3482
- [key: string]: string | number | boolean | unknown[] | {
3483
- [key: string]: unknown;
3484
- };
4548
+ [key: string]: unknown;
3485
4549
  };
3486
4550
  /** @description Overrides for the `proxy` option block. */
3487
4551
  Options_SetPostProxyParam: {
3488
- [key: string]: string | number | boolean | unknown[] | {
3489
- [key: string]: unknown;
3490
- };
4552
+ [key: string]: unknown;
3491
4553
  };
3492
4554
  /** @description Overrides for the `rc` option block. */
3493
4555
  Options_SetPostRcParam: {
3494
- [key: string]: string | number | boolean | unknown[] | {
3495
- [key: string]: unknown;
3496
- };
4556
+ [key: string]: unknown;
3497
4557
  };
3498
4558
  /** @description Overrides for the `restic` option block. */
3499
4559
  Options_SetPostResticParam: {
3500
- [key: string]: string | number | boolean | unknown[] | {
3501
- [key: string]: unknown;
3502
- };
4560
+ [key: string]: unknown;
3503
4561
  };
3504
4562
  /** @description Overrides for the `s3` option block. */
3505
4563
  Options_SetPostS3Param: {
3506
- [key: string]: string | number | boolean | unknown[] | {
3507
- [key: string]: unknown;
3508
- };
4564
+ [key: string]: unknown;
3509
4565
  };
3510
4566
  /** @description Overrides for the `sftp` option block. */
3511
4567
  Options_SetPostSftpParam: {
3512
- [key: string]: string | number | boolean | unknown[] | {
3513
- [key: string]: unknown;
3514
- };
4568
+ [key: string]: unknown;
3515
4569
  };
3516
4570
  /** @description Overrides for the `vfs` option block. */
3517
4571
  Options_SetPostVfsParam: {
3518
- [key: string]: string | number | boolean | unknown[] | {
3519
- [key: string]: unknown;
3520
- };
4572
+ [key: string]: unknown;
3521
4573
  };
3522
4574
  /** @description Overrides for the `webdav` option block. */
3523
4575
  Options_SetPostWebdavParam: {
3524
- [key: string]: string | number | boolean | unknown[] | {
3525
- [key: string]: unknown;
3526
- };
4576
+ [key: string]: unknown;
3527
4577
  };
3528
4578
  /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
3529
4579
  Serve_StartPostTypeParam: string;
@@ -3532,13 +4582,17 @@ export interface components {
3532
4582
  /** @description Address and port to bind the server to, such as `:5572` or `localhost:8080`. */
3533
4583
  Serve_StartPostAddrParam: string;
3534
4584
  /** @description Additional arbitrary parameters allowed. */
3535
- Serve_StartPostAdditionalParam: Record<string, never>;
4585
+ Serve_StartPostAdditionalParam: {
4586
+ [key: string]: unknown;
4587
+ };
3536
4588
  /** @description Identifier of the running serve instance returned by `serve/start`. */
3537
4589
  Serve_StopPostIdParam: string;
3538
4590
  /** @description Optional VFS identifier to target; required when more than one VFS is active. */
3539
4591
  Vfs_ForgetPostFsParam: string;
3540
4592
  /** @description Additional arbitrary parameters allowed. */
3541
- Vfs_ForgetPostAdditionalParam: Record<string, never>;
4593
+ Vfs_ForgetPostAdditionalParam: {
4594
+ [key: string]: unknown;
4595
+ };
3542
4596
  /** @description Optional VFS identifier; omit to list all active VFS instances. */
3543
4597
  Vfs_ListPostFsParam: string;
3544
4598
  /** @description Optional VFS identifier whose poll interval should be queried or modified. */
@@ -3562,7 +4616,9 @@ export interface components {
3562
4616
  /** @description Set to true to refresh entire directory trees. */
3563
4617
  Vfs_RefreshPostRecursiveParam: boolean;
3564
4618
  /** @description Additional arbitrary parameters allowed. */
3565
- Vfs_RefreshPostAdditionalParam: Record<string, never>;
4619
+ Vfs_RefreshPostAdditionalParam: {
4620
+ [key: string]: unknown;
4621
+ };
3566
4622
  /** @description Optional VFS identifier whose statistics should be returned. */
3567
4623
  Vfs_StatsPostFsParam: string;
3568
4624
  /** @description Repository URL of the plugin to install. */
@@ -3594,7 +4650,11 @@ export interface operations {
3594
4650
  path?: never;
3595
4651
  cookie?: never;
3596
4652
  };
3597
- requestBody?: never;
4653
+ requestBody?: {
4654
+ content: {
4655
+ "application/json": components["schemas"]["RcNoopRequest"];
4656
+ };
4657
+ };
3598
4658
  responses: {
3599
4659
  200: components["responses"]["RcNoopResponse"];
3600
4660
  "4XX": components["responses"]["RcError"];
@@ -3603,9 +4663,9 @@ export interface operations {
3603
4663
  };
3604
4664
  operationsCleanup: {
3605
4665
  parameters: {
3606
- query: {
4666
+ query?: {
3607
4667
  /** @description Remote name or path to clean up, for example `drive:`. */
3608
- fs: components["parameters"]["Operations_CleanupPostFsParam"];
4668
+ fs?: components["parameters"]["Operations_CleanupPostFsParam"];
3609
4669
  /** @description Assign the request to a custom stats group. */
3610
4670
  _group?: components["parameters"]["GlobalGroupParam"];
3611
4671
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3615,7 +4675,11 @@ export interface operations {
3615
4675
  path?: never;
3616
4676
  cookie?: never;
3617
4677
  };
3618
- requestBody?: never;
4678
+ requestBody?: {
4679
+ content: {
4680
+ "application/json": components["schemas"]["OperationsCleanupRequest"];
4681
+ };
4682
+ };
3619
4683
  responses: {
3620
4684
  200: components["responses"]["EmptyObjectResponse"];
3621
4685
  "4XX": components["responses"]["RcError"];
@@ -3624,15 +4688,15 @@ export interface operations {
3624
4688
  };
3625
4689
  operationsCopyfile: {
3626
4690
  parameters: {
3627
- query: {
4691
+ query?: {
3628
4692
  /** @description Source remote name or path, such as `drive:` or `/` for the local filesystem. */
3629
- srcFs: components["parameters"]["Operations_CopyfilePostSrcFsParam"];
4693
+ srcFs?: components["parameters"]["Operations_CopyfilePostSrcFsParam"];
3630
4694
  /** @description Path to the source object within `srcFs`, for example `dir/file.txt`. */
3631
- srcRemote: components["parameters"]["Operations_CopyfilePostSrcRemoteParam"];
4695
+ srcRemote?: components["parameters"]["Operations_CopyfilePostSrcRemoteParam"];
3632
4696
  /** @description Destination remote name or path, such as `drive2:` or `/` for local filesystem. */
3633
- dstFs: components["parameters"]["Operations_CopyfilePostDstFsParam"];
4697
+ dstFs?: components["parameters"]["Operations_CopyfilePostDstFsParam"];
3634
4698
  /** @description Target path within `dstFs` where the file should be written. */
3635
- dstRemote: components["parameters"]["Operations_CopyfilePostDstRemoteParam"];
4699
+ dstRemote?: components["parameters"]["Operations_CopyfilePostDstRemoteParam"];
3636
4700
  /** @description Assign the request to a custom stats group. */
3637
4701
  _group?: components["parameters"]["GlobalGroupParam"];
3638
4702
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3642,7 +4706,11 @@ export interface operations {
3642
4706
  path?: never;
3643
4707
  cookie?: never;
3644
4708
  };
3645
- requestBody?: never;
4709
+ requestBody?: {
4710
+ content: {
4711
+ "application/json": components["schemas"]["OperationsCopyfileRequest"];
4712
+ };
4713
+ };
3646
4714
  responses: {
3647
4715
  200: components["responses"]["EmptyObjectResponse"];
3648
4716
  "4XX": components["responses"]["RcError"];
@@ -3651,13 +4719,13 @@ export interface operations {
3651
4719
  };
3652
4720
  operationsCopyurl: {
3653
4721
  parameters: {
3654
- query: {
4722
+ query?: {
3655
4723
  /** @description Remote name or path that will receive the downloaded file, e.g. `drive:`. */
3656
- fs: components["parameters"]["Operations_CopyurlPostFsParam"];
4724
+ fs?: components["parameters"]["Operations_CopyurlPostFsParam"];
3657
4725
  /** @description Destination path within `fs` where the fetched object will be stored. */
3658
- remote: components["parameters"]["Operations_CopyurlPostRemoteParam"];
4726
+ remote?: components["parameters"]["Operations_CopyurlPostRemoteParam"];
3659
4727
  /** @description Source URL to fetch the object from. */
3660
- url: components["parameters"]["Operations_CopyurlPostUrlParam"];
4728
+ url?: components["parameters"]["Operations_CopyurlPostUrlParam"];
3661
4729
  /** @description Set to true to derive the destination filename from the URL. */
3662
4730
  autoFilename?: components["parameters"]["Operations_CopyurlPostAutoFilenameParam"];
3663
4731
  /** @description Assign the request to a custom stats group. */
@@ -3669,7 +4737,11 @@ export interface operations {
3669
4737
  path?: never;
3670
4738
  cookie?: never;
3671
4739
  };
3672
- requestBody?: never;
4740
+ requestBody?: {
4741
+ content: {
4742
+ "application/json": components["schemas"]["OperationsCopyurlRequest"];
4743
+ };
4744
+ };
3673
4745
  responses: {
3674
4746
  200: components["responses"]["EmptyObjectResponse"];
3675
4747
  "4XX": components["responses"]["RcError"];
@@ -3678,9 +4750,9 @@ export interface operations {
3678
4750
  };
3679
4751
  operationsDelete: {
3680
4752
  parameters: {
3681
- query: {
4753
+ query?: {
3682
4754
  /** @description Remote name or path whose contents should be removed. */
3683
- fs: components["parameters"]["Operations_DeletePostFsParam"];
4755
+ fs?: components["parameters"]["Operations_DeletePostFsParam"];
3684
4756
  /** @description JSON encoded config overrides applied for this call only. */
3685
4757
  _config?: components["parameters"]["GlobalConfigParam"];
3686
4758
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -3694,7 +4766,11 @@ export interface operations {
3694
4766
  path?: never;
3695
4767
  cookie?: never;
3696
4768
  };
3697
- requestBody?: never;
4769
+ requestBody?: {
4770
+ content: {
4771
+ "application/json": components["schemas"]["OperationsDeleteRequest"];
4772
+ };
4773
+ };
3698
4774
  responses: {
3699
4775
  200: components["responses"]["EmptyObjectResponse"];
3700
4776
  "4XX": components["responses"]["RcError"];
@@ -3703,11 +4779,11 @@ export interface operations {
3703
4779
  };
3704
4780
  operationsDeletefile: {
3705
4781
  parameters: {
3706
- query: {
4782
+ query?: {
3707
4783
  /** @description Remote name or path that contains the file to delete. */
3708
- fs: components["parameters"]["Operations_DeletefilePostFsParam"];
4784
+ fs?: components["parameters"]["Operations_DeletefilePostFsParam"];
3709
4785
  /** @description Exact path to the file within `fs` that should be deleted. */
3710
- remote: components["parameters"]["Operations_DeletefilePostRemoteParam"];
4786
+ remote?: components["parameters"]["Operations_DeletefilePostRemoteParam"];
3711
4787
  /** @description Assign the request to a custom stats group. */
3712
4788
  _group?: components["parameters"]["GlobalGroupParam"];
3713
4789
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3717,7 +4793,11 @@ export interface operations {
3717
4793
  path?: never;
3718
4794
  cookie?: never;
3719
4795
  };
3720
- requestBody?: never;
4796
+ requestBody?: {
4797
+ content: {
4798
+ "application/json": components["schemas"]["OperationsDeletefileRequest"];
4799
+ };
4800
+ };
3721
4801
  responses: {
3722
4802
  200: components["responses"]["EmptyObjectResponse"];
3723
4803
  "4XX": components["responses"]["RcError"];
@@ -3726,9 +4806,9 @@ export interface operations {
3726
4806
  };
3727
4807
  operationsFsinfo: {
3728
4808
  parameters: {
3729
- query: {
4809
+ query?: {
3730
4810
  /** @description Remote name or path to inspect, e.g. `drive:`. */
3731
- fs: components["parameters"]["Operations_FsinfoPostFsParam"];
4811
+ fs?: components["parameters"]["Operations_FsinfoPostFsParam"];
3732
4812
  /** @description Assign the request to a custom stats group. */
3733
4813
  _group?: components["parameters"]["GlobalGroupParam"];
3734
4814
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3738,7 +4818,11 @@ export interface operations {
3738
4818
  path?: never;
3739
4819
  cookie?: never;
3740
4820
  };
3741
- requestBody?: never;
4821
+ requestBody?: {
4822
+ content: {
4823
+ "application/json": components["schemas"]["OperationsFsinfoRequest"];
4824
+ };
4825
+ };
3742
4826
  responses: {
3743
4827
  200: components["responses"]["OperationsFsinfoResponse"];
3744
4828
  "4XX": components["responses"]["RcError"];
@@ -3747,11 +4831,11 @@ export interface operations {
3747
4831
  };
3748
4832
  operationsHashsum: {
3749
4833
  parameters: {
3750
- query: {
4834
+ query?: {
3751
4835
  /** @description Remote name or path to hash, such as `drive:` or `/`. */
3752
- fs: components["parameters"]["Operations_HashsumPostFsParam"];
4836
+ fs?: components["parameters"]["Operations_HashsumPostFsParam"];
3753
4837
  /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
3754
- hashType: components["parameters"]["Operations_HashsumPostHashTypeParam"];
4838
+ hashType?: components["parameters"]["Operations_HashsumPostHashTypeParam"];
3755
4839
  /** @description Set to true to force reading the data instead of using remote checksums. */
3756
4840
  download?: components["parameters"]["Operations_HashsumPostDownloadParam"];
3757
4841
  /** @description Set to true to emit hash values in base64 rather than hexadecimal. */
@@ -3765,24 +4849,61 @@ export interface operations {
3765
4849
  path?: never;
3766
4850
  cookie?: never;
3767
4851
  };
3768
- requestBody?: never;
4852
+ requestBody?: {
4853
+ content: {
4854
+ "application/json": components["schemas"]["OperationsHashsumRequest"];
4855
+ };
4856
+ };
3769
4857
  responses: {
3770
4858
  200: components["responses"]["OperationsHashsumResponse"];
3771
4859
  "4XX": components["responses"]["RcError"];
3772
4860
  "5XX": components["responses"]["RcError"];
3773
4861
  };
3774
4862
  };
4863
+ operationsHashsumfile: {
4864
+ parameters: {
4865
+ query?: {
4866
+ /** @description Remote name or path containing the file to hash. */
4867
+ fs?: components["parameters"]["Operations_HashsumfilePostFsParam"];
4868
+ /** @description Path to the specific file within `fs` to hash. */
4869
+ remote?: components["parameters"]["Operations_HashsumfilePostRemoteParam"];
4870
+ /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
4871
+ hashType?: components["parameters"]["Operations_HashsumfilePostHashTypeParam"];
4872
+ /** @description Set to true to force reading the data instead of using remote checksums. */
4873
+ download?: components["parameters"]["Operations_HashsumfilePostDownloadParam"];
4874
+ /** @description Set to true to emit the hash value in base64 rather than hexadecimal. */
4875
+ base64?: components["parameters"]["Operations_HashsumfilePostBase64Param"];
4876
+ /** @description Assign the request to a custom stats group. */
4877
+ _group?: components["parameters"]["GlobalGroupParam"];
4878
+ /** @description Run the command asynchronously. Returns a job id immediately. */
4879
+ _async?: components["parameters"]["GlobalAsyncParam"];
4880
+ };
4881
+ header?: never;
4882
+ path?: never;
4883
+ cookie?: never;
4884
+ };
4885
+ requestBody?: {
4886
+ content: {
4887
+ "application/json": components["schemas"]["OperationsHashsumfileRequest"];
4888
+ };
4889
+ };
4890
+ responses: {
4891
+ 200: components["responses"]["OperationsHashsumfileResponse"];
4892
+ "4XX": components["responses"]["RcError"];
4893
+ "5XX": components["responses"]["RcError"];
4894
+ };
4895
+ };
3775
4896
  operationsMovefile: {
3776
4897
  parameters: {
3777
- query: {
4898
+ query?: {
3778
4899
  /** @description Source remote name or path containing the file to move. */
3779
- srcFs: components["parameters"]["Operations_MovefilePostSrcFsParam"];
4900
+ srcFs?: components["parameters"]["Operations_MovefilePostSrcFsParam"];
3780
4901
  /** @description Path to the source object within `srcFs`. */
3781
- srcRemote: components["parameters"]["Operations_MovefilePostSrcRemoteParam"];
4902
+ srcRemote?: components["parameters"]["Operations_MovefilePostSrcRemoteParam"];
3782
4903
  /** @description Destination remote name or path where the file will be moved. */
3783
- dstFs: components["parameters"]["Operations_MovefilePostDstFsParam"];
4904
+ dstFs?: components["parameters"]["Operations_MovefilePostDstFsParam"];
3784
4905
  /** @description Destination path within `dstFs` for the moved object. */
3785
- dstRemote: components["parameters"]["Operations_MovefilePostDstRemoteParam"];
4906
+ dstRemote?: components["parameters"]["Operations_MovefilePostDstRemoteParam"];
3786
4907
  /** @description Assign the request to a custom stats group. */
3787
4908
  _group?: components["parameters"]["GlobalGroupParam"];
3788
4909
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3792,7 +4913,11 @@ export interface operations {
3792
4913
  path?: never;
3793
4914
  cookie?: never;
3794
4915
  };
3795
- requestBody?: never;
4916
+ requestBody?: {
4917
+ content: {
4918
+ "application/json": components["schemas"]["OperationsMovefileRequest"];
4919
+ };
4920
+ };
3796
4921
  responses: {
3797
4922
  200: components["responses"]["EmptyObjectResponse"];
3798
4923
  "4XX": components["responses"]["RcError"];
@@ -3801,11 +4926,11 @@ export interface operations {
3801
4926
  };
3802
4927
  operationsPubliclink: {
3803
4928
  parameters: {
3804
- query: {
4929
+ query?: {
3805
4930
  /** @description Remote name or path hosting the object for which to manage a public link. */
3806
- fs: components["parameters"]["Operations_PubliclinkPostFsParam"];
4931
+ fs?: components["parameters"]["Operations_PubliclinkPostFsParam"];
3807
4932
  /** @description Path within `fs` to the object for which to create or remove a public link. */
3808
- remote: components["parameters"]["Operations_PubliclinkPostRemoteParam"];
4933
+ remote?: components["parameters"]["Operations_PubliclinkPostRemoteParam"];
3809
4934
  /** @description Set to true to remove an existing public link instead of creating one. */
3810
4935
  unlink?: components["parameters"]["Operations_PubliclinkPostUnlinkParam"];
3811
4936
  /** @description Optional expiration time for the public link, formatted as supported by the backend. */
@@ -3819,7 +4944,11 @@ export interface operations {
3819
4944
  path?: never;
3820
4945
  cookie?: never;
3821
4946
  };
3822
- requestBody?: never;
4947
+ requestBody?: {
4948
+ content: {
4949
+ "application/json": components["schemas"]["OperationsPubliclinkRequest"];
4950
+ };
4951
+ };
3823
4952
  responses: {
3824
4953
  200: components["responses"]["OperationsPubliclinkResponse"];
3825
4954
  "4XX": components["responses"]["RcError"];
@@ -3828,11 +4957,11 @@ export interface operations {
3828
4957
  };
3829
4958
  operationsRmdirs: {
3830
4959
  parameters: {
3831
- query: {
4960
+ query?: {
3832
4961
  /** @description Remote name or path to scan for empty directories. */
3833
- fs: components["parameters"]["Operations_RmdirsPostFsParam"];
4962
+ fs?: components["parameters"]["Operations_RmdirsPostFsParam"];
3834
4963
  /** @description Path within `fs` whose empty subdirectories should be removed. */
3835
- remote: components["parameters"]["Operations_RmdirsPostRemoteParam"];
4964
+ remote?: components["parameters"]["Operations_RmdirsPostRemoteParam"];
3836
4965
  /** @description Set to true to preserve the top-level directory even if empty. */
3837
4966
  leaveRoot?: components["parameters"]["Operations_RmdirsPostLeaveRootParam"];
3838
4967
  /** @description Assign the request to a custom stats group. */
@@ -3844,7 +4973,11 @@ export interface operations {
3844
4973
  path?: never;
3845
4974
  cookie?: never;
3846
4975
  };
3847
- requestBody?: never;
4976
+ requestBody?: {
4977
+ content: {
4978
+ "application/json": components["schemas"]["OperationsRmdirsRequest"];
4979
+ };
4980
+ };
3848
4981
  responses: {
3849
4982
  200: components["responses"]["EmptyObjectResponse"];
3850
4983
  "4XX": components["responses"]["RcError"];
@@ -3853,9 +4986,9 @@ export interface operations {
3853
4986
  };
3854
4987
  operationsSettier: {
3855
4988
  parameters: {
3856
- query: {
4989
+ query?: {
3857
4990
  /** @description Remote name or path whose storage class tier should be changed. */
3858
- fs: components["parameters"]["Operations_SettierPostFsParam"];
4991
+ fs?: components["parameters"]["Operations_SettierPostFsParam"];
3859
4992
  /** @description Assign the request to a custom stats group. */
3860
4993
  _group?: components["parameters"]["GlobalGroupParam"];
3861
4994
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3865,7 +4998,11 @@ export interface operations {
3865
4998
  path?: never;
3866
4999
  cookie?: never;
3867
5000
  };
3868
- requestBody?: never;
5001
+ requestBody?: {
5002
+ content: {
5003
+ "application/json": components["schemas"]["OperationsSettierRequest"];
5004
+ };
5005
+ };
3869
5006
  responses: {
3870
5007
  200: components["responses"]["EmptyObjectResponse"];
3871
5008
  "4XX": components["responses"]["RcError"];
@@ -3874,11 +5011,11 @@ export interface operations {
3874
5011
  };
3875
5012
  operationsSettierfile: {
3876
5013
  parameters: {
3877
- query: {
5014
+ query?: {
3878
5015
  /** @description Remote name or path that contains the object whose tier should change. */
3879
- fs: components["parameters"]["Operations_SettierfilePostFsParam"];
5016
+ fs?: components["parameters"]["Operations_SettierfilePostFsParam"];
3880
5017
  /** @description Path within `fs` to the object whose storage class tier should be updated. */
3881
- remote: components["parameters"]["Operations_SettierfilePostRemoteParam"];
5018
+ remote?: components["parameters"]["Operations_SettierfilePostRemoteParam"];
3882
5019
  /** @description Assign the request to a custom stats group. */
3883
5020
  _group?: components["parameters"]["GlobalGroupParam"];
3884
5021
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3888,7 +5025,11 @@ export interface operations {
3888
5025
  path?: never;
3889
5026
  cookie?: never;
3890
5027
  };
3891
- requestBody?: never;
5028
+ requestBody?: {
5029
+ content: {
5030
+ "application/json": components["schemas"]["OperationsSettierfileRequest"];
5031
+ };
5032
+ };
3892
5033
  responses: {
3893
5034
  200: components["responses"]["EmptyObjectResponse"];
3894
5035
  "4XX": components["responses"]["RcError"];
@@ -3897,9 +5038,9 @@ export interface operations {
3897
5038
  };
3898
5039
  operationsSize: {
3899
5040
  parameters: {
3900
- query: {
5041
+ query?: {
3901
5042
  /** @description Remote name or path to measure aggregate size information for. */
3902
- fs: components["parameters"]["Operations_SizePostFsParam"];
5043
+ fs?: components["parameters"]["Operations_SizePostFsParam"];
3903
5044
  /** @description Assign the request to a custom stats group. */
3904
5045
  _group?: components["parameters"]["GlobalGroupParam"];
3905
5046
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3909,7 +5050,11 @@ export interface operations {
3909
5050
  path?: never;
3910
5051
  cookie?: never;
3911
5052
  };
3912
- requestBody?: never;
5053
+ requestBody?: {
5054
+ content: {
5055
+ "application/json": components["schemas"]["OperationsSizeRequest"];
5056
+ };
5057
+ };
3913
5058
  responses: {
3914
5059
  200: components["responses"]["OperationsSizeResponse"];
3915
5060
  "4XX": components["responses"]["RcError"];
@@ -3930,7 +5075,11 @@ export interface operations {
3930
5075
  path?: never;
3931
5076
  cookie?: never;
3932
5077
  };
3933
- requestBody?: never;
5078
+ requestBody?: {
5079
+ content: {
5080
+ "application/json": components["schemas"]["CoreBwlimitRequest"];
5081
+ };
5082
+ };
3934
5083
  responses: {
3935
5084
  200: components["responses"]["CoreBwlimitResponse"];
3936
5085
  "4XX": components["responses"]["RcError"];
@@ -3939,9 +5088,9 @@ export interface operations {
3939
5088
  };
3940
5089
  coreCommand: {
3941
5090
  parameters: {
3942
- query: {
5091
+ query?: {
3943
5092
  /** @description Name of the rclone command to execute, for example `ls` or `lsf`. */
3944
- command: components["parameters"]["Core_CommandPostCommandParam"];
5093
+ command?: components["parameters"]["Core_CommandPostCommandParam"];
3945
5094
  /** @description Optional positional arguments for the command. Repeat to supply multiple values. */
3946
5095
  arg?: components["parameters"]["Core_CommandPostArgParam"];
3947
5096
  /** @description Optional command options encoded as a JSON string. */
@@ -3957,7 +5106,11 @@ export interface operations {
3957
5106
  path?: never;
3958
5107
  cookie?: never;
3959
5108
  };
3960
- requestBody?: never;
5109
+ requestBody?: {
5110
+ content: {
5111
+ "application/json": components["schemas"]["CoreCommandRequest"];
5112
+ };
5113
+ };
3961
5114
  responses: {
3962
5115
  200: components["responses"]["CoreCommandResponse"];
3963
5116
  "4XX": components["responses"]["RcError"];
@@ -3978,7 +5131,11 @@ export interface operations {
3978
5131
  path?: never;
3979
5132
  cookie?: never;
3980
5133
  };
3981
- requestBody?: never;
5134
+ requestBody?: {
5135
+ content: {
5136
+ "application/json": components["schemas"]["CoreDuRequest"];
5137
+ };
5138
+ };
3982
5139
  responses: {
3983
5140
  200: components["responses"]["CoreDuResponse"];
3984
5141
  "4XX": components["responses"]["RcError"];
@@ -3997,7 +5154,11 @@ export interface operations {
3997
5154
  path?: never;
3998
5155
  cookie?: never;
3999
5156
  };
4000
- requestBody?: never;
5157
+ requestBody?: {
5158
+ content: {
5159
+ "application/json": components["schemas"]["CoreGcRequest"];
5160
+ };
5161
+ };
4001
5162
  responses: {
4002
5163
  200: components["responses"]["EmptyObjectResponse"];
4003
5164
  "4XX": components["responses"]["RcError"];
@@ -4016,7 +5177,11 @@ export interface operations {
4016
5177
  path?: never;
4017
5178
  cookie?: never;
4018
5179
  };
4019
- requestBody?: never;
5180
+ requestBody?: {
5181
+ content: {
5182
+ "application/json": components["schemas"]["CoreGroupListRequest"];
5183
+ };
5184
+ };
4020
5185
  responses: {
4021
5186
  /** @description Names of stats groups. */
4022
5187
  200: {
@@ -4045,7 +5210,11 @@ export interface operations {
4045
5210
  path?: never;
4046
5211
  cookie?: never;
4047
5212
  };
4048
- requestBody?: never;
5213
+ requestBody?: {
5214
+ content: {
5215
+ "application/json": components["schemas"]["CoreMemstatsRequest"];
5216
+ };
5217
+ };
4049
5218
  responses: {
4050
5219
  /** @description Memory statistics fields from the Go runtime. */
4051
5220
  200: {
@@ -4064,9 +5233,9 @@ export interface operations {
4064
5233
  };
4065
5234
  coreObscure: {
4066
5235
  parameters: {
4067
- query: {
5236
+ query?: {
4068
5237
  /** @description Plain-text string to obscure for storage in the config file. */
4069
- clear: components["parameters"]["Core_ObscurePostClearParam"];
5238
+ clear?: components["parameters"]["Core_ObscurePostClearParam"];
4070
5239
  /** @description Assign the request to a custom stats group. */
4071
5240
  _group?: components["parameters"]["GlobalGroupParam"];
4072
5241
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4076,7 +5245,11 @@ export interface operations {
4076
5245
  path?: never;
4077
5246
  cookie?: never;
4078
5247
  };
4079
- requestBody?: never;
5248
+ requestBody?: {
5249
+ content: {
5250
+ "application/json": components["schemas"]["CoreObscureRequest"];
5251
+ };
5252
+ };
4080
5253
  responses: {
4081
5254
  /** @description Obscured string result. */
4082
5255
  200: {
@@ -4105,7 +5278,11 @@ export interface operations {
4105
5278
  path?: never;
4106
5279
  cookie?: never;
4107
5280
  };
4108
- requestBody?: never;
5281
+ requestBody?: {
5282
+ content: {
5283
+ "application/json": components["schemas"]["CorePidRequest"];
5284
+ };
5285
+ };
4109
5286
  responses: {
4110
5287
  /** @description Process ID payload. */
4111
5288
  200: {
@@ -4136,7 +5313,11 @@ export interface operations {
4136
5313
  path?: never;
4137
5314
  cookie?: never;
4138
5315
  };
4139
- requestBody?: never;
5316
+ requestBody?: {
5317
+ content: {
5318
+ "application/json": components["schemas"]["CoreQuitRequest"];
5319
+ };
5320
+ };
4140
5321
  responses: {
4141
5322
  200: components["responses"]["EmptyObjectResponse"];
4142
5323
  "4XX": components["responses"]["RcError"];
@@ -4145,9 +5326,9 @@ export interface operations {
4145
5326
  };
4146
5327
  coreStatsDelete: {
4147
5328
  parameters: {
4148
- query: {
5329
+ query?: {
4149
5330
  /** @description Stats group identifier to remove. */
4150
- group: components["parameters"]["Core_StatsDeletePostGroupParam"];
5331
+ group?: components["parameters"]["Core_StatsDeletePostGroupParam"];
4151
5332
  /** @description Assign the request to a custom stats group. */
4152
5333
  _group?: components["parameters"]["GlobalGroupParam"];
4153
5334
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4157,7 +5338,11 @@ export interface operations {
4157
5338
  path?: never;
4158
5339
  cookie?: never;
4159
5340
  };
4160
- requestBody?: never;
5341
+ requestBody?: {
5342
+ content: {
5343
+ "application/json": components["schemas"]["CoreStatsDeleteRequest"];
5344
+ };
5345
+ };
4161
5346
  responses: {
4162
5347
  200: components["responses"]["EmptyObjectResponse"];
4163
5348
  "4XX": components["responses"]["RcError"];
@@ -4178,7 +5363,11 @@ export interface operations {
4178
5363
  path?: never;
4179
5364
  cookie?: never;
4180
5365
  };
4181
- requestBody?: never;
5366
+ requestBody?: {
5367
+ content: {
5368
+ "application/json": components["schemas"]["CoreStatsResetRequest"];
5369
+ };
5370
+ };
4182
5371
  responses: {
4183
5372
  200: components["responses"]["EmptyObjectResponse"];
4184
5373
  "4XX": components["responses"]["RcError"];
@@ -4199,7 +5388,11 @@ export interface operations {
4199
5388
  path?: never;
4200
5389
  cookie?: never;
4201
5390
  };
4202
- requestBody?: never;
5391
+ requestBody?: {
5392
+ content: {
5393
+ "application/json": components["schemas"]["CoreTransferredRequest"];
5394
+ };
5395
+ };
4203
5396
  responses: {
4204
5397
  200: components["responses"]["CoreTransferredResponse"];
4205
5398
  "4XX": components["responses"]["RcError"];
@@ -4208,9 +5401,9 @@ export interface operations {
4208
5401
  };
4209
5402
  debugSetBlockProfileRate: {
4210
5403
  parameters: {
4211
- query: {
5404
+ query?: {
4212
5405
  /** @description Sampling interval in nanoseconds for blocking profile collection; use 1 to capture all events. */
4213
- rate: components["parameters"]["Debug_SetBlockProfileRatePostRateParam"];
5406
+ rate?: components["parameters"]["Debug_SetBlockProfileRatePostRateParam"];
4214
5407
  /** @description Assign the request to a custom stats group. */
4215
5408
  _group?: components["parameters"]["GlobalGroupParam"];
4216
5409
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4220,7 +5413,11 @@ export interface operations {
4220
5413
  path?: never;
4221
5414
  cookie?: never;
4222
5415
  };
4223
- requestBody?: never;
5416
+ requestBody?: {
5417
+ content: {
5418
+ "application/json": components["schemas"]["DebugSetBlockProfileRateRequest"];
5419
+ };
5420
+ };
4224
5421
  responses: {
4225
5422
  200: components["responses"]["EmptyObjectResponse"];
4226
5423
  "4XX": components["responses"]["RcError"];
@@ -4229,9 +5426,9 @@ export interface operations {
4229
5426
  };
4230
5427
  debugSetGcPercent: {
4231
5428
  parameters: {
4232
- query: {
5429
+ query?: {
4233
5430
  /** @description Target percentage of newly allocated data to trigger garbage collection. */
4234
- "gc-percent": components["parameters"]["Debug_SetGcPercentPostGcPercentParam"];
5431
+ "gc-percent"?: components["parameters"]["Debug_SetGcPercentPostGcPercentParam"];
4235
5432
  /** @description Assign the request to a custom stats group. */
4236
5433
  _group?: components["parameters"]["GlobalGroupParam"];
4237
5434
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4241,7 +5438,11 @@ export interface operations {
4241
5438
  path?: never;
4242
5439
  cookie?: never;
4243
5440
  };
4244
- requestBody?: never;
5441
+ requestBody?: {
5442
+ content: {
5443
+ "application/json": components["schemas"]["DebugSetGcPercentRequest"];
5444
+ };
5445
+ };
4245
5446
  responses: {
4246
5447
  200: components["responses"]["DebugSetGcPercentResponse"];
4247
5448
  "4XX": components["responses"]["RcError"];
@@ -4250,9 +5451,9 @@ export interface operations {
4250
5451
  };
4251
5452
  debugSetMutexProfileFraction: {
4252
5453
  parameters: {
4253
- query: {
5454
+ query?: {
4254
5455
  /** @description Sampling fraction for mutex contention profiling; set to 0 to disable. */
4255
- rate: components["parameters"]["Debug_SetMutexProfileFractionPostRateParam"];
5456
+ rate?: components["parameters"]["Debug_SetMutexProfileFractionPostRateParam"];
4256
5457
  /** @description Assign the request to a custom stats group. */
4257
5458
  _group?: components["parameters"]["GlobalGroupParam"];
4258
5459
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4262,7 +5463,11 @@ export interface operations {
4262
5463
  path?: never;
4263
5464
  cookie?: never;
4264
5465
  };
4265
- requestBody?: never;
5466
+ requestBody?: {
5467
+ content: {
5468
+ "application/json": components["schemas"]["DebugSetMutexProfileFractionRequest"];
5469
+ };
5470
+ };
4266
5471
  responses: {
4267
5472
  200: components["responses"]["DebugSetMutexProfileFractionResponse"];
4268
5473
  "4XX": components["responses"]["RcError"];
@@ -4271,9 +5476,9 @@ export interface operations {
4271
5476
  };
4272
5477
  debugSetSoftMemoryLimit: {
4273
5478
  parameters: {
4274
- query: {
5479
+ query?: {
4275
5480
  /** @description Soft memory limit for the Go runtime in bytes. */
4276
- "mem-limit": components["parameters"]["Debug_SetSoftMemoryLimitPostMemLimitParam"];
5481
+ "mem-limit"?: components["parameters"]["Debug_SetSoftMemoryLimitPostMemLimitParam"];
4277
5482
  /** @description Assign the request to a custom stats group. */
4278
5483
  _group?: components["parameters"]["GlobalGroupParam"];
4279
5484
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4283,7 +5488,11 @@ export interface operations {
4283
5488
  path?: never;
4284
5489
  cookie?: never;
4285
5490
  };
4286
- requestBody?: never;
5491
+ requestBody?: {
5492
+ content: {
5493
+ "application/json": components["schemas"]["DebugSetSoftMemoryLimitRequest"];
5494
+ };
5495
+ };
4287
5496
  responses: {
4288
5497
  200: components["responses"]["DebugSetSoftMemoryLimitResponse"];
4289
5498
  "4XX": components["responses"]["RcError"];
@@ -4302,7 +5511,11 @@ export interface operations {
4302
5511
  path?: never;
4303
5512
  cookie?: never;
4304
5513
  };
4305
- requestBody?: never;
5514
+ requestBody?: {
5515
+ content: {
5516
+ "application/json": components["schemas"]["FscacheClearRequest"];
5517
+ };
5518
+ };
4306
5519
  responses: {
4307
5520
  200: components["responses"]["EmptyObjectResponse"];
4308
5521
  "4XX": components["responses"]["RcError"];
@@ -4321,7 +5534,11 @@ export interface operations {
4321
5534
  path?: never;
4322
5535
  cookie?: never;
4323
5536
  };
4324
- requestBody?: never;
5537
+ requestBody?: {
5538
+ content: {
5539
+ "application/json": components["schemas"]["FscacheEntriesRequest"];
5540
+ };
5541
+ };
4325
5542
  responses: {
4326
5543
  200: components["responses"]["FscacheEntriesResponse"];
4327
5544
  "4XX": components["responses"]["RcError"];
@@ -4340,7 +5557,11 @@ export interface operations {
4340
5557
  path?: never;
4341
5558
  cookie?: never;
4342
5559
  };
4343
- requestBody?: never;
5560
+ requestBody?: {
5561
+ content: {
5562
+ "application/json": components["schemas"]["MountListmountsRequest"];
5563
+ };
5564
+ };
4344
5565
  responses: {
4345
5566
  200: components["responses"]["MountListmountsResponse"];
4346
5567
  "4XX": components["responses"]["RcError"];
@@ -4349,11 +5570,11 @@ export interface operations {
4349
5570
  };
4350
5571
  mountMount: {
4351
5572
  parameters: {
4352
- query: {
5573
+ query?: {
4353
5574
  /** @description Remote path to mount, such as `drive:` or `remote:subdir`. */
4354
- fs: components["parameters"]["Mount_MountPostFsParam"];
5575
+ fs?: components["parameters"]["Mount_MountPostFsParam"];
4355
5576
  /** @description Absolute local path where the remote should be mounted. */
4356
- mountPoint: components["parameters"]["Mount_MountPostMountPointParam"];
5577
+ mountPoint?: components["parameters"]["Mount_MountPostMountPointParam"];
4357
5578
  /** @description Optional mount implementation to use (`mount`, `cmount`, or `mount2`). */
4358
5579
  mountType?: components["parameters"]["Mount_MountPostMountTypeParam"];
4359
5580
  /** @description Mount options encoded as JSON, matching flags accepted by `rclone mount`. */
@@ -4373,7 +5594,11 @@ export interface operations {
4373
5594
  path?: never;
4374
5595
  cookie?: never;
4375
5596
  };
4376
- requestBody?: never;
5597
+ requestBody?: {
5598
+ content: {
5599
+ "application/json": components["schemas"]["MountMountRequest"];
5600
+ };
5601
+ };
4377
5602
  responses: {
4378
5603
  200: components["responses"]["EmptyObjectResponse"];
4379
5604
  "4XX": components["responses"]["RcError"];
@@ -4392,7 +5617,11 @@ export interface operations {
4392
5617
  path?: never;
4393
5618
  cookie?: never;
4394
5619
  };
4395
- requestBody?: never;
5620
+ requestBody?: {
5621
+ content: {
5622
+ "application/json": components["schemas"]["MountTypesRequest"];
5623
+ };
5624
+ };
4396
5625
  responses: {
4397
5626
  200: components["responses"]["MountTypesResponse"];
4398
5627
  "4XX": components["responses"]["RcError"];
@@ -4401,9 +5630,9 @@ export interface operations {
4401
5630
  };
4402
5631
  mountUnmount: {
4403
5632
  parameters: {
4404
- query: {
5633
+ query?: {
4405
5634
  /** @description Local mount point path to unmount. */
4406
- mountPoint: components["parameters"]["Mount_UnmountPostMountPointParam"];
5635
+ mountPoint?: components["parameters"]["Mount_UnmountPostMountPointParam"];
4407
5636
  /** @description Assign the request to a custom stats group. */
4408
5637
  _group?: components["parameters"]["GlobalGroupParam"];
4409
5638
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4413,7 +5642,11 @@ export interface operations {
4413
5642
  path?: never;
4414
5643
  cookie?: never;
4415
5644
  };
4416
- requestBody?: never;
5645
+ requestBody?: {
5646
+ content: {
5647
+ "application/json": components["schemas"]["MountUnmountRequest"];
5648
+ };
5649
+ };
4417
5650
  responses: {
4418
5651
  200: components["responses"]["EmptyObjectResponse"];
4419
5652
  "4XX": components["responses"]["RcError"];
@@ -4432,7 +5665,11 @@ export interface operations {
4432
5665
  path?: never;
4433
5666
  cookie?: never;
4434
5667
  };
4435
- requestBody?: never;
5668
+ requestBody?: {
5669
+ content: {
5670
+ "application/json": components["schemas"]["MountUnmountallRequest"];
5671
+ };
5672
+ };
4436
5673
  responses: {
4437
5674
  200: components["responses"]["EmptyObjectResponse"];
4438
5675
  "4XX": components["responses"]["RcError"];
@@ -4451,7 +5688,11 @@ export interface operations {
4451
5688
  path?: never;
4452
5689
  cookie?: never;
4453
5690
  };
4454
- requestBody?: never;
5691
+ requestBody?: {
5692
+ content: {
5693
+ "application/json": components["schemas"]["RcNoopAuthRequest"];
5694
+ };
5695
+ };
4455
5696
  responses: {
4456
5697
  200: components["responses"]["RcNoopResponse"];
4457
5698
  "4XX": components["responses"]["RcError"];
@@ -4470,7 +5711,11 @@ export interface operations {
4470
5711
  path?: never;
4471
5712
  cookie?: never;
4472
5713
  };
4473
- requestBody?: never;
5714
+ requestBody?: {
5715
+ content: {
5716
+ "application/json": components["schemas"]["RcErrorRequest"];
5717
+ };
5718
+ };
4474
5719
  responses: {
4475
5720
  200: components["responses"]["EmptyResponse"];
4476
5721
  "4XX": components["responses"]["RcError"];
@@ -4489,7 +5734,11 @@ export interface operations {
4489
5734
  path?: never;
4490
5735
  cookie?: never;
4491
5736
  };
4492
- requestBody?: never;
5737
+ requestBody?: {
5738
+ content: {
5739
+ "application/json": components["schemas"]["RcListRequest"];
5740
+ };
5741
+ };
4493
5742
  responses: {
4494
5743
  200: components["responses"]["RcListResponse"];
4495
5744
  "4XX": components["responses"]["RcError"];
@@ -4498,9 +5747,9 @@ export interface operations {
4498
5747
  };
4499
5748
  backendCommand: {
4500
5749
  parameters: {
4501
- query: {
5750
+ query?: {
4502
5751
  /** @description Backend-specific command to invoke. */
4503
- command: components["parameters"]["Backend_CommandPostCommandParam"];
5752
+ command?: components["parameters"]["Backend_CommandPostCommandParam"];
4504
5753
  /** @description Remote name or path the backend command should target. */
4505
5754
  fs?: components["parameters"]["Backend_CommandPostFsParam"];
4506
5755
  /** @description Optional positional arguments for the backend command. */
@@ -4516,7 +5765,11 @@ export interface operations {
4516
5765
  path?: never;
4517
5766
  cookie?: never;
4518
5767
  };
4519
- requestBody?: never;
5768
+ requestBody?: {
5769
+ content: {
5770
+ "application/json": components["schemas"]["BackendCommandRequest"];
5771
+ };
5772
+ };
4520
5773
  responses: {
4521
5774
  200: components["responses"]["BackendCommandResponse"];
4522
5775
  "4XX": components["responses"]["RcError"];
@@ -4525,9 +5778,9 @@ export interface operations {
4525
5778
  };
4526
5779
  cacheExpire: {
4527
5780
  parameters: {
4528
- query: {
5781
+ query?: {
4529
5782
  /** @description Remote path to expire from the cache, e.g. `remote:path/to/dir`. */
4530
- remote: components["parameters"]["Cache_ExpirePostRemoteParam"];
5783
+ remote?: components["parameters"]["Cache_ExpirePostRemoteParam"];
4531
5784
  /** @description Set to true to drop cached chunk data along with directory entries. */
4532
5785
  withData?: components["parameters"]["Cache_ExpirePostWithDataParam"];
4533
5786
  /** @description Assign the request to a custom stats group. */
@@ -4539,7 +5792,11 @@ export interface operations {
4539
5792
  path?: never;
4540
5793
  cookie?: never;
4541
5794
  };
4542
- requestBody?: never;
5795
+ requestBody?: {
5796
+ content: {
5797
+ "application/json": components["schemas"]["CacheExpireRequest"];
5798
+ };
5799
+ };
4543
5800
  responses: {
4544
5801
  200: components["responses"]["EmptyResponse"];
4545
5802
  "4XX": components["responses"]["RcError"];
@@ -4562,7 +5819,11 @@ export interface operations {
4562
5819
  path?: never;
4563
5820
  cookie?: never;
4564
5821
  };
4565
- requestBody?: never;
5822
+ requestBody?: {
5823
+ content: {
5824
+ "application/json": components["schemas"]["CacheFetchRequest"];
5825
+ };
5826
+ };
4566
5827
  responses: {
4567
5828
  200: components["responses"]["EmptyResponse"];
4568
5829
  "4XX": components["responses"]["RcError"];
@@ -4581,7 +5842,11 @@ export interface operations {
4581
5842
  path?: never;
4582
5843
  cookie?: never;
4583
5844
  };
4584
- requestBody?: never;
5845
+ requestBody?: {
5846
+ content: {
5847
+ "application/json": components["schemas"]["CacheStatsRequest"];
5848
+ };
5849
+ };
4585
5850
  responses: {
4586
5851
  200: components["responses"]["EmptyResponse"];
4587
5852
  "4XX": components["responses"]["RcError"];
@@ -4590,13 +5855,13 @@ export interface operations {
4590
5855
  };
4591
5856
  configCreate: {
4592
5857
  parameters: {
4593
- query: {
5858
+ query?: {
4594
5859
  /** @description Name of the new remote configuration. */
4595
- name: components["parameters"]["Config_CreatePostNameParam"];
5860
+ name?: components["parameters"]["Config_CreatePostNameParam"];
4596
5861
  /** @description JSON object of configuration key/value pairs required for the remote. */
4597
- parameters: components["parameters"]["Config_CreatePostParametersParam"];
5862
+ parameters?: components["parameters"]["Config_CreatePostParametersParam"];
4598
5863
  /** @description Backend type identifier, such as `drive`, `s3`, or `dropbox`. */
4599
- type: components["parameters"]["Config_CreatePostTypeParam"];
5864
+ type?: components["parameters"]["Config_CreatePostTypeParam"];
4600
5865
  /** @description Optional JSON object controlling interactive behaviour (e.g. `obscure`, `continue`). */
4601
5866
  opt?: components["parameters"]["Config_CreatePostOptParam"];
4602
5867
  /** @description Assign the request to a custom stats group. */
@@ -4608,7 +5873,11 @@ export interface operations {
4608
5873
  path?: never;
4609
5874
  cookie?: never;
4610
5875
  };
4611
- requestBody?: never;
5876
+ requestBody?: {
5877
+ content: {
5878
+ "application/json": components["schemas"]["ConfigCreateRequest"];
5879
+ };
5880
+ };
4612
5881
  responses: {
4613
5882
  200: components["responses"]["EmptyObjectResponse"];
4614
5883
  "4XX": components["responses"]["RcError"];
@@ -4617,9 +5886,9 @@ export interface operations {
4617
5886
  };
4618
5887
  configDelete: {
4619
5888
  parameters: {
4620
- query: {
5889
+ query?: {
4621
5890
  /** @description Name of the remote configuration to delete. */
4622
- name: components["parameters"]["Config_DeletePostNameParam"];
5891
+ name?: components["parameters"]["Config_DeletePostNameParam"];
4623
5892
  /** @description Assign the request to a custom stats group. */
4624
5893
  _group?: components["parameters"]["GlobalGroupParam"];
4625
5894
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4629,7 +5898,11 @@ export interface operations {
4629
5898
  path?: never;
4630
5899
  cookie?: never;
4631
5900
  };
4632
- requestBody?: never;
5901
+ requestBody?: {
5902
+ content: {
5903
+ "application/json": components["schemas"]["ConfigDeleteRequest"];
5904
+ };
5905
+ };
4633
5906
  responses: {
4634
5907
  200: components["responses"]["EmptyResponse"];
4635
5908
  "4XX": components["responses"]["RcError"];
@@ -4648,7 +5921,11 @@ export interface operations {
4648
5921
  path?: never;
4649
5922
  cookie?: never;
4650
5923
  };
4651
- requestBody?: never;
5924
+ requestBody?: {
5925
+ content: {
5926
+ "application/json": components["schemas"]["ConfigDumpRequest"];
5927
+ };
5928
+ };
4652
5929
  responses: {
4653
5930
  200: components["responses"]["ConfigDumpResponse"];
4654
5931
  "4XX": components["responses"]["RcError"];
@@ -4657,9 +5934,9 @@ export interface operations {
4657
5934
  };
4658
5935
  configGet: {
4659
5936
  parameters: {
4660
- query: {
5937
+ query?: {
4661
5938
  /** @description Name of the remote configuration to fetch. */
4662
- name: components["parameters"]["Config_GetPostNameParam"];
5939
+ name?: components["parameters"]["Config_GetPostNameParam"];
4663
5940
  /** @description Assign the request to a custom stats group. */
4664
5941
  _group?: components["parameters"]["GlobalGroupParam"];
4665
5942
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4669,7 +5946,11 @@ export interface operations {
4669
5946
  path?: never;
4670
5947
  cookie?: never;
4671
5948
  };
4672
- requestBody?: never;
5949
+ requestBody?: {
5950
+ content: {
5951
+ "application/json": components["schemas"]["ConfigGetRequest"];
5952
+ };
5953
+ };
4673
5954
  responses: {
4674
5955
  200: components["responses"]["ConfigGetResponse"];
4675
5956
  "4XX": components["responses"]["RcError"];
@@ -4688,7 +5969,11 @@ export interface operations {
4688
5969
  path?: never;
4689
5970
  cookie?: never;
4690
5971
  };
4691
- requestBody?: never;
5972
+ requestBody?: {
5973
+ content: {
5974
+ "application/json": components["schemas"]["ConfigListremotesRequest"];
5975
+ };
5976
+ };
4692
5977
  responses: {
4693
5978
  200: components["responses"]["ConfigListremotesResponse"];
4694
5979
  "4XX": components["responses"]["RcError"];
@@ -4697,11 +5982,11 @@ export interface operations {
4697
5982
  };
4698
5983
  configPassword: {
4699
5984
  parameters: {
4700
- query: {
5985
+ query?: {
4701
5986
  /** @description Name of the remote whose secrets should be updated. */
4702
- name: components["parameters"]["Config_PasswordPostNameParam"];
5987
+ name?: components["parameters"]["Config_PasswordPostNameParam"];
4703
5988
  /** @description JSON object of password answers, typically including `pass`. */
4704
- parameters: components["parameters"]["Config_PasswordPostParametersParam"];
5989
+ parameters?: components["parameters"]["Config_PasswordPostParametersParam"];
4705
5990
  /** @description Assign the request to a custom stats group. */
4706
5991
  _group?: components["parameters"]["GlobalGroupParam"];
4707
5992
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4711,7 +5996,11 @@ export interface operations {
4711
5996
  path?: never;
4712
5997
  cookie?: never;
4713
5998
  };
4714
- requestBody?: never;
5999
+ requestBody?: {
6000
+ content: {
6001
+ "application/json": components["schemas"]["ConfigPasswordRequest"];
6002
+ };
6003
+ };
4715
6004
  responses: {
4716
6005
  200: components["responses"]["EmptyResponse"];
4717
6006
  "4XX": components["responses"]["RcError"];
@@ -4730,7 +6019,11 @@ export interface operations {
4730
6019
  path?: never;
4731
6020
  cookie?: never;
4732
6021
  };
4733
- requestBody?: never;
6022
+ requestBody?: {
6023
+ content: {
6024
+ "application/json": components["schemas"]["ConfigPathsRequest"];
6025
+ };
6026
+ };
4734
6027
  responses: {
4735
6028
  200: components["responses"]["ConfigPathsResponse"];
4736
6029
  "4XX": components["responses"]["RcError"];
@@ -4749,7 +6042,11 @@ export interface operations {
4749
6042
  path?: never;
4750
6043
  cookie?: never;
4751
6044
  };
4752
- requestBody?: never;
6045
+ requestBody?: {
6046
+ content: {
6047
+ "application/json": components["schemas"]["ConfigProvidersRequest"];
6048
+ };
6049
+ };
4753
6050
  responses: {
4754
6051
  200: components["responses"]["ConfigProvidersResponse"];
4755
6052
  "4XX": components["responses"]["RcError"];
@@ -4758,9 +6055,9 @@ export interface operations {
4758
6055
  };
4759
6056
  configSetpath: {
4760
6057
  parameters: {
4761
- query: {
6058
+ query?: {
4762
6059
  /** @description Absolute path to the `rclone.conf` file that rclone should use. */
4763
- path: components["parameters"]["Config_SetpathPostPathParam"];
6060
+ path?: components["parameters"]["Config_SetpathPostPathParam"];
4764
6061
  /** @description Assign the request to a custom stats group. */
4765
6062
  _group?: components["parameters"]["GlobalGroupParam"];
4766
6063
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4770,7 +6067,11 @@ export interface operations {
4770
6067
  path?: never;
4771
6068
  cookie?: never;
4772
6069
  };
4773
- requestBody?: never;
6070
+ requestBody?: {
6071
+ content: {
6072
+ "application/json": components["schemas"]["ConfigSetpathRequest"];
6073
+ };
6074
+ };
4774
6075
  responses: {
4775
6076
  200: components["responses"]["EmptyResponse"];
4776
6077
  "4XX": components["responses"]["RcError"];
@@ -4779,9 +6080,9 @@ export interface operations {
4779
6080
  };
4780
6081
  configUnlock: {
4781
6082
  parameters: {
4782
- query: {
6083
+ query?: {
4783
6084
  /** @description Password used to unlock an encrypted config file. */
4784
- configPassword: components["parameters"]["Config_UnlockPostConfigPasswordParam"];
6085
+ configPassword?: components["parameters"]["Config_UnlockPostConfigPasswordParam"];
4785
6086
  /** @description Assign the request to a custom stats group. */
4786
6087
  _group?: components["parameters"]["GlobalGroupParam"];
4787
6088
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4791,7 +6092,11 @@ export interface operations {
4791
6092
  path?: never;
4792
6093
  cookie?: never;
4793
6094
  };
4794
- requestBody?: never;
6095
+ requestBody?: {
6096
+ content: {
6097
+ "application/json": components["schemas"]["ConfigUnlockRequest"];
6098
+ };
6099
+ };
4795
6100
  responses: {
4796
6101
  200: components["responses"]["EmptyResponse"];
4797
6102
  "4XX": components["responses"]["RcError"];
@@ -4800,11 +6105,11 @@ export interface operations {
4800
6105
  };
4801
6106
  configUpdate: {
4802
6107
  parameters: {
4803
- query: {
6108
+ query?: {
4804
6109
  /** @description Name of the remote configuration to update. */
4805
- name: components["parameters"]["Config_UpdatePostNameParam"];
6110
+ name?: components["parameters"]["Config_UpdatePostNameParam"];
4806
6111
  /** @description JSON object of configuration key/value pairs to apply to the remote. */
4807
- parameters: components["parameters"]["Config_UpdatePostParametersParam"];
6112
+ parameters?: components["parameters"]["Config_UpdatePostParametersParam"];
4808
6113
  /** @description Optional JSON object controlling update behaviour (e.g. `obscure`, `continue`). */
4809
6114
  opt?: components["parameters"]["Config_UpdatePostOptParam"];
4810
6115
  /** @description Assign the request to a custom stats group. */
@@ -4816,7 +6121,11 @@ export interface operations {
4816
6121
  path?: never;
4817
6122
  cookie?: never;
4818
6123
  };
4819
- requestBody?: never;
6124
+ requestBody?: {
6125
+ content: {
6126
+ "application/json": components["schemas"]["ConfigUpdateRequest"];
6127
+ };
6128
+ };
4820
6129
  responses: {
4821
6130
  200: components["responses"]["EmptyObjectResponse"];
4822
6131
  "4XX": components["responses"]["RcError"];
@@ -4835,7 +6144,11 @@ export interface operations {
4835
6144
  path?: never;
4836
6145
  cookie?: never;
4837
6146
  };
4838
- requestBody?: never;
6147
+ requestBody?: {
6148
+ content: {
6149
+ "application/json": components["schemas"]["CoreVersionRequest"];
6150
+ };
6151
+ };
4839
6152
  responses: {
4840
6153
  200: components["responses"]["CoreVersionResponse"];
4841
6154
  "4XX": components["responses"]["RcError"];
@@ -4858,7 +6171,11 @@ export interface operations {
4858
6171
  path?: never;
4859
6172
  cookie?: never;
4860
6173
  };
4861
- requestBody?: never;
6174
+ requestBody?: {
6175
+ content: {
6176
+ "application/json": components["schemas"]["CoreStatsRequest"];
6177
+ };
6178
+ };
4862
6179
  responses: {
4863
6180
  200: components["responses"]["CoreStatsResponse"];
4864
6181
  "4XX": components["responses"]["RcError"];
@@ -4900,7 +6217,11 @@ export interface operations {
4900
6217
  path?: never;
4901
6218
  cookie?: never;
4902
6219
  };
4903
- requestBody?: never;
6220
+ requestBody?: {
6221
+ content: {
6222
+ "application/json": components["schemas"]["JobListRequest"];
6223
+ };
6224
+ };
4904
6225
  responses: {
4905
6226
  200: components["responses"]["JobListResponse"];
4906
6227
  "4XX": components["responses"]["RcError"];
@@ -4909,9 +6230,9 @@ export interface operations {
4909
6230
  };
4910
6231
  jobStatus: {
4911
6232
  parameters: {
4912
- query: {
6233
+ query?: {
4913
6234
  /** @description Numeric identifier of the job to query, as returned from an async call. */
4914
- jobid: components["parameters"]["Job_StatusPostJobidParam"];
6235
+ jobid?: components["parameters"]["Job_StatusPostJobidParam"];
4915
6236
  /** @description Run the command asynchronously. Returns a job id immediately. */
4916
6237
  _async?: components["parameters"]["GlobalAsyncParam"];
4917
6238
  };
@@ -4919,7 +6240,11 @@ export interface operations {
4919
6240
  path?: never;
4920
6241
  cookie?: never;
4921
6242
  };
4922
- requestBody?: never;
6243
+ requestBody?: {
6244
+ content: {
6245
+ "application/json": components["schemas"]["JobStatusRequest"];
6246
+ };
6247
+ };
4923
6248
  responses: {
4924
6249
  200: components["responses"]["JobStatusResponse"];
4925
6250
  "4XX": components["responses"]["RcError"];
@@ -4928,9 +6253,9 @@ export interface operations {
4928
6253
  };
4929
6254
  jobStop: {
4930
6255
  parameters: {
4931
- query: {
6256
+ query?: {
4932
6257
  /** @description Numeric identifier of the job to cancel. */
4933
- jobid: components["parameters"]["Job_StopPostJobidParam"];
6258
+ jobid?: components["parameters"]["Job_StopPostJobidParam"];
4934
6259
  /** @description Run the command asynchronously. Returns a job id immediately. */
4935
6260
  _async?: components["parameters"]["GlobalAsyncParam"];
4936
6261
  };
@@ -4938,7 +6263,11 @@ export interface operations {
4938
6263
  path?: never;
4939
6264
  cookie?: never;
4940
6265
  };
4941
- requestBody?: never;
6266
+ requestBody?: {
6267
+ content: {
6268
+ "application/json": components["schemas"]["JobStopRequest"];
6269
+ };
6270
+ };
4942
6271
  responses: {
4943
6272
  200: components["responses"]["EmptyObjectResponse"];
4944
6273
  "4XX": components["responses"]["RcError"];
@@ -4947,9 +6276,9 @@ export interface operations {
4947
6276
  };
4948
6277
  jobStopgroup: {
4949
6278
  parameters: {
4950
- query: {
6279
+ query?: {
4951
6280
  /** @description Stats group name whose active jobs should be stopped. */
4952
- group: components["parameters"]["Job_StopgroupPostGroupParam"];
6281
+ group?: components["parameters"]["Job_StopgroupPostGroupParam"];
4953
6282
  /** @description Run the command asynchronously. Returns a job id immediately. */
4954
6283
  _async?: components["parameters"]["GlobalAsyncParam"];
4955
6284
  };
@@ -4957,7 +6286,11 @@ export interface operations {
4957
6286
  path?: never;
4958
6287
  cookie?: never;
4959
6288
  };
4960
- requestBody?: never;
6289
+ requestBody?: {
6290
+ content: {
6291
+ "application/json": components["schemas"]["JobStopgroupRequest"];
6292
+ };
6293
+ };
4961
6294
  responses: {
4962
6295
  200: components["responses"]["EmptyObjectResponse"];
4963
6296
  "4XX": components["responses"]["RcError"];
@@ -4966,11 +6299,11 @@ export interface operations {
4966
6299
  };
4967
6300
  operationsList: {
4968
6301
  parameters: {
4969
- query: {
6302
+ query?: {
4970
6303
  /** @description Remote name or path to list, for example `drive:`. */
4971
- fs: components["parameters"]["Operations_ListPostFsParam"];
6304
+ fs?: components["parameters"]["Operations_ListPostFsParam"];
4972
6305
  /** @description Directory path within `fs` to list; leave empty to target the root. */
4973
- remote: components["parameters"]["Operations_ListPostRemoteParam"];
6306
+ remote?: components["parameters"]["Operations_ListPostRemoteParam"];
4974
6307
  /** @description Optional JSON-encoded object of listing flags (e.g. `{ "recurse": true, "showHash": true }`). */
4975
6308
  opt?: components["parameters"]["Operations_ListPostOptParam"];
4976
6309
  /** @description Set to true to list directories recursively. */
@@ -5002,7 +6335,11 @@ export interface operations {
5002
6335
  path?: never;
5003
6336
  cookie?: never;
5004
6337
  };
5005
- requestBody?: never;
6338
+ requestBody?: {
6339
+ content: {
6340
+ "application/json": components["schemas"]["OperationsListRequest"];
6341
+ };
6342
+ };
5006
6343
  responses: {
5007
6344
  200: components["responses"]["OperationsListResponse"];
5008
6345
  "4XX": components["responses"]["RcError"];
@@ -5011,11 +6348,11 @@ export interface operations {
5011
6348
  };
5012
6349
  operationsStat: {
5013
6350
  parameters: {
5014
- query: {
6351
+ query?: {
5015
6352
  /** @description Remote name or path that contains the item to inspect. */
5016
- fs: components["parameters"]["Operations_StatPostFsParam"];
6353
+ fs?: components["parameters"]["Operations_StatPostFsParam"];
5017
6354
  /** @description Path to the file or directory within `fs` to describe. */
5018
- remote: components["parameters"]["Operations_StatPostRemoteParam"];
6355
+ remote?: components["parameters"]["Operations_StatPostRemoteParam"];
5019
6356
  /** @description Optional JSON object of listing flags, matching those accepted by `operations/list`. */
5020
6357
  opt?: components["parameters"]["Operations_StatPostOptParam"];
5021
6358
  /** @description Assign the request to a custom stats group. */
@@ -5027,7 +6364,11 @@ export interface operations {
5027
6364
  path?: never;
5028
6365
  cookie?: never;
5029
6366
  };
5030
- requestBody?: never;
6367
+ requestBody?: {
6368
+ content: {
6369
+ "application/json": components["schemas"]["OperationsStatRequest"];
6370
+ };
6371
+ };
5031
6372
  responses: {
5032
6373
  200: components["responses"]["OperationsStatResponse"];
5033
6374
  "4XX": components["responses"]["RcError"];
@@ -5036,9 +6377,9 @@ export interface operations {
5036
6377
  };
5037
6378
  operationsAbout: {
5038
6379
  parameters: {
5039
- query: {
6380
+ query?: {
5040
6381
  /** @description Remote name or path to query for capacity information. */
5041
- fs: components["parameters"]["Operations_AboutPostFsParam"];
6382
+ fs?: components["parameters"]["Operations_AboutPostFsParam"];
5042
6383
  /** @description Assign the request to a custom stats group. */
5043
6384
  _group?: components["parameters"]["GlobalGroupParam"];
5044
6385
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5048,7 +6389,11 @@ export interface operations {
5048
6389
  path?: never;
5049
6390
  cookie?: never;
5050
6391
  };
5051
- requestBody?: never;
6392
+ requestBody?: {
6393
+ content: {
6394
+ "application/json": components["schemas"]["OperationsAboutRequest"];
6395
+ };
6396
+ };
5052
6397
  responses: {
5053
6398
  200: components["responses"]["OperationsAboutResponse"];
5054
6399
  "4XX": components["responses"]["RcError"];
@@ -5057,11 +6402,11 @@ export interface operations {
5057
6402
  };
5058
6403
  operationsUploadfile: {
5059
6404
  parameters: {
5060
- query: {
6405
+ query?: {
5061
6406
  /** @description Remote name or path where the uploaded file should be stored. */
5062
- fs: components["parameters"]["Operations_UploadfilePostFsParam"];
6407
+ fs?: components["parameters"]["Operations_UploadfilePostFsParam"];
5063
6408
  /** @description Destination path within `fs` for the uploaded file. */
5064
- remote: components["parameters"]["Operations_UploadfilePostRemoteParam"];
6409
+ remote?: components["parameters"]["Operations_UploadfilePostRemoteParam"];
5065
6410
  /** @description Assign the request to a custom stats group. */
5066
6411
  _group?: components["parameters"]["GlobalGroupParam"];
5067
6412
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5085,11 +6430,11 @@ export interface operations {
5085
6430
  };
5086
6431
  operationsPurge: {
5087
6432
  parameters: {
5088
- query: {
6433
+ query?: {
5089
6434
  /** @description Remote name or path from which to remove all contents. */
5090
- fs: components["parameters"]["Operations_PurgePostFsParam"];
6435
+ fs?: components["parameters"]["Operations_PurgePostFsParam"];
5091
6436
  /** @description Path within `fs` whose contents should be purged. */
5092
- remote: components["parameters"]["Operations_PurgePostRemoteParam"];
6437
+ remote?: components["parameters"]["Operations_PurgePostRemoteParam"];
5093
6438
  /** @description JSON encoded config overrides applied for this call only. */
5094
6439
  _config?: components["parameters"]["GlobalConfigParam"];
5095
6440
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -5103,7 +6448,11 @@ export interface operations {
5103
6448
  path?: never;
5104
6449
  cookie?: never;
5105
6450
  };
5106
- requestBody?: never;
6451
+ requestBody?: {
6452
+ content: {
6453
+ "application/json": components["schemas"]["OperationsPurgeRequest"];
6454
+ };
6455
+ };
5107
6456
  responses: {
5108
6457
  200: components["responses"]["EmptyObjectResponse"];
5109
6458
  "4XX": components["responses"]["RcError"];
@@ -5112,11 +6461,11 @@ export interface operations {
5112
6461
  };
5113
6462
  operationsMkdir: {
5114
6463
  parameters: {
5115
- query: {
6464
+ query?: {
5116
6465
  /** @description Remote name or path in which to create a directory. */
5117
- fs: components["parameters"]["Operations_MkdirPostFsParam"];
6466
+ fs?: components["parameters"]["Operations_MkdirPostFsParam"];
5118
6467
  /** @description Directory path within `fs` to create. */
5119
- remote: components["parameters"]["Operations_MkdirPostRemoteParam"];
6468
+ remote?: components["parameters"]["Operations_MkdirPostRemoteParam"];
5120
6469
  /** @description Assign the request to a custom stats group. */
5121
6470
  _group?: components["parameters"]["GlobalGroupParam"];
5122
6471
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5126,7 +6475,11 @@ export interface operations {
5126
6475
  path?: never;
5127
6476
  cookie?: never;
5128
6477
  };
5129
- requestBody?: never;
6478
+ requestBody?: {
6479
+ content: {
6480
+ "application/json": components["schemas"]["OperationsMkdirRequest"];
6481
+ };
6482
+ };
5130
6483
  responses: {
5131
6484
  200: components["responses"]["EmptyObjectResponse"];
5132
6485
  "4XX": components["responses"]["RcError"];
@@ -5135,11 +6488,11 @@ export interface operations {
5135
6488
  };
5136
6489
  operationsRmdir: {
5137
6490
  parameters: {
5138
- query: {
6491
+ query?: {
5139
6492
  /** @description Remote name or path containing the directory to remove. */
5140
- fs: components["parameters"]["Operations_RmdirPostFsParam"];
6493
+ fs?: components["parameters"]["Operations_RmdirPostFsParam"];
5141
6494
  /** @description Directory path within `fs` to delete. */
5142
- remote: components["parameters"]["Operations_RmdirPostRemoteParam"];
6495
+ remote?: components["parameters"]["Operations_RmdirPostRemoteParam"];
5143
6496
  /** @description Assign the request to a custom stats group. */
5144
6497
  _group?: components["parameters"]["GlobalGroupParam"];
5145
6498
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5149,7 +6502,11 @@ export interface operations {
5149
6502
  path?: never;
5150
6503
  cookie?: never;
5151
6504
  };
5152
- requestBody?: never;
6505
+ requestBody?: {
6506
+ content: {
6507
+ "application/json": components["schemas"]["OperationsRmdirRequest"];
6508
+ };
6509
+ };
5153
6510
  responses: {
5154
6511
  200: components["responses"]["EmptyObjectResponse"];
5155
6512
  "4XX": components["responses"]["RcError"];
@@ -5158,11 +6515,11 @@ export interface operations {
5158
6515
  };
5159
6516
  operationsCheck: {
5160
6517
  parameters: {
5161
- query: {
6518
+ query?: {
5162
6519
  /** @description Source remote name or path to verify, e.g. `drive:`. */
5163
- srcFs: components["parameters"]["Operations_CheckPostSrcFsParam"];
6520
+ srcFs?: components["parameters"]["Operations_CheckPostSrcFsParam"];
5164
6521
  /** @description Destination remote name or path that should match the source. */
5165
- dstFs: components["parameters"]["Operations_CheckPostDstFsParam"];
6522
+ dstFs?: components["parameters"]["Operations_CheckPostDstFsParam"];
5166
6523
  /** @description Set to true to read file contents during comparison instead of relying on hashes. */
5167
6524
  download?: components["parameters"]["Operations_CheckPostDownloadParam"];
5168
6525
  /** @description Hash name to expect in the supplied SUM file, such as `md5`. */
@@ -5194,7 +6551,11 @@ export interface operations {
5194
6551
  path?: never;
5195
6552
  cookie?: never;
5196
6553
  };
5197
- requestBody?: never;
6554
+ requestBody?: {
6555
+ content: {
6556
+ "application/json": components["schemas"]["OperationsCheckRequest"];
6557
+ };
6558
+ };
5198
6559
  responses: {
5199
6560
  200: components["responses"]["OperationsCheckResponse"];
5200
6561
  "4XX": components["responses"]["RcError"];
@@ -5203,11 +6564,11 @@ export interface operations {
5203
6564
  };
5204
6565
  syncSync: {
5205
6566
  parameters: {
5206
- query: {
6567
+ query?: {
5207
6568
  /** @description Source remote path to sync from, e.g. `drive:src`. */
5208
- srcFs: components["parameters"]["Sync_SyncPostSrcFsParam"];
6569
+ srcFs?: components["parameters"]["Sync_SyncPostSrcFsParam"];
5209
6570
  /** @description Destination remote path to sync to, e.g. `drive:dst`. */
5210
- dstFs: components["parameters"]["Sync_SyncPostDstFsParam"];
6571
+ dstFs?: components["parameters"]["Sync_SyncPostDstFsParam"];
5211
6572
  /** @description Set to true to create empty source directories on the destination. */
5212
6573
  createEmptySrcDirs?: components["parameters"]["Sync_SyncPostCreateEmptySrcDirsParam"];
5213
6574
  /** @description JSON encoded config overrides applied for this call only. */
@@ -5223,7 +6584,11 @@ export interface operations {
5223
6584
  path?: never;
5224
6585
  cookie?: never;
5225
6586
  };
5226
- requestBody?: never;
6587
+ requestBody?: {
6588
+ content: {
6589
+ "application/json": components["schemas"]["SyncSyncRequest"];
6590
+ };
6591
+ };
5227
6592
  responses: {
5228
6593
  200: components["responses"]["SyncJobResponse"];
5229
6594
  "4XX": components["responses"]["RcError"];
@@ -5232,11 +6597,11 @@ export interface operations {
5232
6597
  };
5233
6598
  syncCopy: {
5234
6599
  parameters: {
5235
- query: {
6600
+ query?: {
5236
6601
  /** @description Source remote path to copy from. */
5237
- srcFs: components["parameters"]["Sync_CopyPostSrcFsParam"];
6602
+ srcFs?: components["parameters"]["Sync_CopyPostSrcFsParam"];
5238
6603
  /** @description Destination remote path to copy to. */
5239
- dstFs: components["parameters"]["Sync_CopyPostDstFsParam"];
6604
+ dstFs?: components["parameters"]["Sync_CopyPostDstFsParam"];
5240
6605
  /** @description Set to true to replicate empty source directories on the destination. */
5241
6606
  createEmptySrcDirs?: components["parameters"]["Sync_CopyPostCreateEmptySrcDirsParam"];
5242
6607
  /** @description JSON encoded config overrides applied for this call only. */
@@ -5252,7 +6617,11 @@ export interface operations {
5252
6617
  path?: never;
5253
6618
  cookie?: never;
5254
6619
  };
5255
- requestBody?: never;
6620
+ requestBody?: {
6621
+ content: {
6622
+ "application/json": components["schemas"]["SyncCopyRequest"];
6623
+ };
6624
+ };
5256
6625
  responses: {
5257
6626
  200: components["responses"]["SyncJobResponse"];
5258
6627
  "4XX": components["responses"]["RcError"];
@@ -5261,11 +6630,11 @@ export interface operations {
5261
6630
  };
5262
6631
  syncMove: {
5263
6632
  parameters: {
5264
- query: {
6633
+ query?: {
5265
6634
  /** @description Source remote path whose contents will be moved. */
5266
- srcFs: components["parameters"]["Sync_MovePostSrcFsParam"];
6635
+ srcFs?: components["parameters"]["Sync_MovePostSrcFsParam"];
5267
6636
  /** @description Destination remote path that will receive moved files. */
5268
- dstFs: components["parameters"]["Sync_MovePostDstFsParam"];
6637
+ dstFs?: components["parameters"]["Sync_MovePostDstFsParam"];
5269
6638
  /** @description Set to true to create empty source directories on the destination. */
5270
6639
  createEmptySrcDirs?: components["parameters"]["Sync_MovePostCreateEmptySrcDirsParam"];
5271
6640
  /** @description Set to true to delete empty directories from the source after the move completes. */
@@ -5283,7 +6652,11 @@ export interface operations {
5283
6652
  path?: never;
5284
6653
  cookie?: never;
5285
6654
  };
5286
- requestBody?: never;
6655
+ requestBody?: {
6656
+ content: {
6657
+ "application/json": components["schemas"]["SyncMoveRequest"];
6658
+ };
6659
+ };
5287
6660
  responses: {
5288
6661
  200: components["responses"]["SyncJobResponse"];
5289
6662
  "4XX": components["responses"]["RcError"];
@@ -5292,11 +6665,11 @@ export interface operations {
5292
6665
  };
5293
6666
  syncBisync: {
5294
6667
  parameters: {
5295
- query: {
6668
+ query?: {
5296
6669
  /** @description First remote directory, e.g. `drive:path1`. */
5297
- path1: components["parameters"]["Sync_BisyncPostPath1Param"];
6670
+ path1?: components["parameters"]["Sync_BisyncPostPath1Param"];
5298
6671
  /** @description Second remote directory, e.g. `drive:path2`. */
5299
- path2: components["parameters"]["Sync_BisyncPostPath2Param"];
6672
+ path2?: components["parameters"]["Sync_BisyncPostPath2Param"];
5300
6673
  /** @description Set to true to simulate the bisync run without making changes. */
5301
6674
  dryRun?: components["parameters"]["Sync_BisyncPostDryRunParam"];
5302
6675
  /** @description Set to true to perform a one-time resync, rebuilding bisync history. */
@@ -5342,7 +6715,11 @@ export interface operations {
5342
6715
  path?: never;
5343
6716
  cookie?: never;
5344
6717
  };
5345
- requestBody?: never;
6718
+ requestBody?: {
6719
+ content: {
6720
+ "application/json": components["schemas"]["SyncBisyncRequest"];
6721
+ };
6722
+ };
5346
6723
  responses: {
5347
6724
  200: components["responses"]["SyncJobResponse"];
5348
6725
  "4XX": components["responses"]["RcError"];
@@ -5361,7 +6738,11 @@ export interface operations {
5361
6738
  path?: never;
5362
6739
  cookie?: never;
5363
6740
  };
5364
- requestBody?: never;
6741
+ requestBody?: {
6742
+ content: {
6743
+ "application/json": components["schemas"]["OptionsBlocksRequest"];
6744
+ };
6745
+ };
5365
6746
  responses: {
5366
6747
  200: components["responses"]["OptionsBlocksResponse"];
5367
6748
  "4XX": components["responses"]["RcError"];
@@ -5382,7 +6763,11 @@ export interface operations {
5382
6763
  path?: never;
5383
6764
  cookie?: never;
5384
6765
  };
5385
- requestBody?: never;
6766
+ requestBody?: {
6767
+ content: {
6768
+ "application/json": components["schemas"]["OptionsGetRequest"];
6769
+ };
6770
+ };
5386
6771
  responses: {
5387
6772
  200: components["responses"]["OptionsGetResponse"];
5388
6773
  "4XX": components["responses"]["RcError"];
@@ -5403,7 +6788,11 @@ export interface operations {
5403
6788
  path?: never;
5404
6789
  cookie?: never;
5405
6790
  };
5406
- requestBody?: never;
6791
+ requestBody?: {
6792
+ content: {
6793
+ "application/json": components["schemas"]["OptionsInfoRequest"];
6794
+ };
6795
+ };
5407
6796
  responses: {
5408
6797
  200: components["responses"]["OptionsInfoResponse"];
5409
6798
  "4XX": components["responses"]["RcError"];
@@ -5452,7 +6841,11 @@ export interface operations {
5452
6841
  path?: never;
5453
6842
  cookie?: never;
5454
6843
  };
5455
- requestBody?: never;
6844
+ requestBody?: {
6845
+ content: {
6846
+ "application/json": components["schemas"]["OptionsSetRequest"];
6847
+ };
6848
+ };
5456
6849
  responses: {
5457
6850
  200: components["responses"]["EmptyObjectResponse"];
5458
6851
  "4XX": components["responses"]["RcError"];
@@ -5471,7 +6864,11 @@ export interface operations {
5471
6864
  path?: never;
5472
6865
  cookie?: never;
5473
6866
  };
5474
- requestBody?: never;
6867
+ requestBody?: {
6868
+ content: {
6869
+ "application/json": components["schemas"]["OptionsLocalRequest"];
6870
+ };
6871
+ };
5475
6872
  responses: {
5476
6873
  200: components["responses"]["OptionsLocalResponse"];
5477
6874
  "4XX": components["responses"]["RcError"];
@@ -5490,7 +6887,11 @@ export interface operations {
5490
6887
  path?: never;
5491
6888
  cookie?: never;
5492
6889
  };
5493
- requestBody?: never;
6890
+ requestBody?: {
6891
+ content: {
6892
+ "application/json": components["schemas"]["ServeListRequest"];
6893
+ };
6894
+ };
5494
6895
  responses: {
5495
6896
  200: components["responses"]["ServeListResponse"];
5496
6897
  "4XX": components["responses"]["RcError"];
@@ -5499,13 +6900,13 @@ export interface operations {
5499
6900
  };
5500
6901
  serveStart: {
5501
6902
  parameters: {
5502
- query: {
6903
+ query?: {
5503
6904
  /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
5504
- type: components["parameters"]["Serve_StartPostTypeParam"];
6905
+ type?: components["parameters"]["Serve_StartPostTypeParam"];
5505
6906
  /** @description Remote path that will be served. */
5506
- fs: components["parameters"]["Serve_StartPostFsParam"];
6907
+ fs?: components["parameters"]["Serve_StartPostFsParam"];
5507
6908
  /** @description Address and port to bind the server to, such as `:5572` or `localhost:8080`. */
5508
- addr: components["parameters"]["Serve_StartPostAddrParam"];
6909
+ addr?: components["parameters"]["Serve_StartPostAddrParam"];
5509
6910
  /** @description Additional arbitrary parameters allowed. */
5510
6911
  params?: components["parameters"]["Serve_StartPostAdditionalParam"];
5511
6912
  /** @description JSON encoded config overrides applied for this call only. */
@@ -5521,7 +6922,11 @@ export interface operations {
5521
6922
  path?: never;
5522
6923
  cookie?: never;
5523
6924
  };
5524
- requestBody?: never;
6925
+ requestBody?: {
6926
+ content: {
6927
+ "application/json": components["schemas"]["ServeStartRequest"];
6928
+ };
6929
+ };
5525
6930
  responses: {
5526
6931
  200: components["responses"]["ServeStartResponse"];
5527
6932
  "4XX": components["responses"]["RcError"];
@@ -5530,9 +6935,9 @@ export interface operations {
5530
6935
  };
5531
6936
  serveStop: {
5532
6937
  parameters: {
5533
- query: {
6938
+ query?: {
5534
6939
  /** @description Identifier of the running serve instance returned by `serve/start`. */
5535
- id: components["parameters"]["Serve_StopPostIdParam"];
6940
+ id?: components["parameters"]["Serve_StopPostIdParam"];
5536
6941
  /** @description Assign the request to a custom stats group. */
5537
6942
  _group?: components["parameters"]["GlobalGroupParam"];
5538
6943
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5542,7 +6947,11 @@ export interface operations {
5542
6947
  path?: never;
5543
6948
  cookie?: never;
5544
6949
  };
5545
- requestBody?: never;
6950
+ requestBody?: {
6951
+ content: {
6952
+ "application/json": components["schemas"]["ServeStopRequest"];
6953
+ };
6954
+ };
5546
6955
  responses: {
5547
6956
  200: components["responses"]["EmptyObjectResponse"];
5548
6957
  "4XX": components["responses"]["RcError"];
@@ -5561,7 +6970,11 @@ export interface operations {
5561
6970
  path?: never;
5562
6971
  cookie?: never;
5563
6972
  };
5564
- requestBody?: never;
6973
+ requestBody?: {
6974
+ content: {
6975
+ "application/json": components["schemas"]["ServeStopallRequest"];
6976
+ };
6977
+ };
5565
6978
  responses: {
5566
6979
  200: components["responses"]["EmptyObjectResponse"];
5567
6980
  "4XX": components["responses"]["RcError"];
@@ -5580,9 +6993,13 @@ export interface operations {
5580
6993
  path?: never;
5581
6994
  cookie?: never;
5582
6995
  };
5583
- requestBody?: never;
6996
+ requestBody?: {
6997
+ content: {
6998
+ "application/json": components["schemas"]["ServeTypesRequest"];
6999
+ };
7000
+ };
5584
7001
  responses: {
5585
- 200: components["responses"]["EmptyResponse"];
7002
+ 200: components["responses"]["ServeTypesResponse"];
5586
7003
  "4XX": components["responses"]["RcError"];
5587
7004
  "5XX": components["responses"]["RcError"];
5588
7005
  };
@@ -5603,7 +7020,11 @@ export interface operations {
5603
7020
  path?: never;
5604
7021
  cookie?: never;
5605
7022
  };
5606
- requestBody?: never;
7023
+ requestBody?: {
7024
+ content: {
7025
+ "application/json": components["schemas"]["VfsForgetRequest"];
7026
+ };
7027
+ };
5607
7028
  responses: {
5608
7029
  200: components["responses"]["VfsForgetResponse"];
5609
7030
  "4XX": components["responses"]["RcError"];
@@ -5624,7 +7045,11 @@ export interface operations {
5624
7045
  path?: never;
5625
7046
  cookie?: never;
5626
7047
  };
5627
- requestBody?: never;
7048
+ requestBody?: {
7049
+ content: {
7050
+ "application/json": components["schemas"]["VfsListRequest"];
7051
+ };
7052
+ };
5628
7053
  responses: {
5629
7054
  200: components["responses"]["VfsListResponse"];
5630
7055
  "4XX": components["responses"]["RcError"];
@@ -5649,7 +7074,11 @@ export interface operations {
5649
7074
  path?: never;
5650
7075
  cookie?: never;
5651
7076
  };
5652
- requestBody?: never;
7077
+ requestBody?: {
7078
+ content: {
7079
+ "application/json": components["schemas"]["VfsPollIntervalRequest"];
7080
+ };
7081
+ };
5653
7082
  responses: {
5654
7083
  200: components["responses"]["VfsPollIntervalResponse"];
5655
7084
  "4XX": components["responses"]["RcError"];
@@ -5670,7 +7099,11 @@ export interface operations {
5670
7099
  path?: never;
5671
7100
  cookie?: never;
5672
7101
  };
5673
- requestBody?: never;
7102
+ requestBody?: {
7103
+ content: {
7104
+ "application/json": components["schemas"]["VfsQueueRequest"];
7105
+ };
7106
+ };
5674
7107
  responses: {
5675
7108
  200: components["responses"]["VfsQueueResponse"];
5676
7109
  "4XX": components["responses"]["RcError"];
@@ -5679,13 +7112,13 @@ export interface operations {
5679
7112
  };
5680
7113
  vfsQueueSetExpiry: {
5681
7114
  parameters: {
5682
- query: {
7115
+ query?: {
5683
7116
  /** @description Optional VFS identifier for the queued item. */
5684
7117
  fs?: components["parameters"]["Vfs_QueueSetExpiryPostFsParam"];
5685
7118
  /** @description Queue item ID as returned by `vfs/queue`. */
5686
- id: components["parameters"]["Vfs_QueueSetExpiryPostIdParam"];
7119
+ id?: components["parameters"]["Vfs_QueueSetExpiryPostIdParam"];
5687
7120
  /** @description New eligibility time in seconds (may be negative for immediate upload). */
5688
- expiry: components["parameters"]["Vfs_QueueSetExpiryPostExpiryParam"];
7121
+ expiry?: components["parameters"]["Vfs_QueueSetExpiryPostExpiryParam"];
5689
7122
  /** @description Set to true to treat `expiry` as relative to the current value. */
5690
7123
  relative?: components["parameters"]["Vfs_QueueSetExpiryPostRelativeParam"];
5691
7124
  /** @description Assign the request to a custom stats group. */
@@ -5697,7 +7130,11 @@ export interface operations {
5697
7130
  path?: never;
5698
7131
  cookie?: never;
5699
7132
  };
5700
- requestBody?: never;
7133
+ requestBody?: {
7134
+ content: {
7135
+ "application/json": components["schemas"]["VfsQueueSetExpiryRequest"];
7136
+ };
7137
+ };
5701
7138
  responses: {
5702
7139
  200: components["responses"]["EmptyObjectResponse"];
5703
7140
  "4XX": components["responses"]["RcError"];
@@ -5722,7 +7159,11 @@ export interface operations {
5722
7159
  path?: never;
5723
7160
  cookie?: never;
5724
7161
  };
5725
- requestBody?: never;
7162
+ requestBody?: {
7163
+ content: {
7164
+ "application/json": components["schemas"]["VfsRefreshRequest"];
7165
+ };
7166
+ };
5726
7167
  responses: {
5727
7168
  200: components["responses"]["VfsRefreshResponse"];
5728
7169
  "4XX": components["responses"]["RcError"];
@@ -5743,7 +7184,11 @@ export interface operations {
5743
7184
  path?: never;
5744
7185
  cookie?: never;
5745
7186
  };
5746
- requestBody?: never;
7187
+ requestBody?: {
7188
+ content: {
7189
+ "application/json": components["schemas"]["VfsStatsRequest"];
7190
+ };
7191
+ };
5747
7192
  responses: {
5748
7193
  200: components["responses"]["VfsStatsResponse"];
5749
7194
  "4XX": components["responses"]["RcError"];
@@ -5752,9 +7197,9 @@ export interface operations {
5752
7197
  };
5753
7198
  pluginsctlAddPlugin: {
5754
7199
  parameters: {
5755
- query: {
7200
+ query?: {
5756
7201
  /** @description Repository URL of the plugin to install. */
5757
- url: components["parameters"]["Pluginsctl_AddPluginPostUrlParam"];
7202
+ url?: components["parameters"]["Pluginsctl_AddPluginPostUrlParam"];
5758
7203
  /** @description Assign the request to a custom stats group. */
5759
7204
  _group?: components["parameters"]["GlobalGroupParam"];
5760
7205
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5764,7 +7209,11 @@ export interface operations {
5764
7209
  path?: never;
5765
7210
  cookie?: never;
5766
7211
  };
5767
- requestBody?: never;
7212
+ requestBody?: {
7213
+ content: {
7214
+ "application/json": components["schemas"]["PluginsctlAddPluginRequest"];
7215
+ };
7216
+ };
5768
7217
  responses: {
5769
7218
  200: components["responses"]["EmptyObjectResponse"];
5770
7219
  "4XX": components["responses"]["RcError"];
@@ -5787,7 +7236,11 @@ export interface operations {
5787
7236
  path?: never;
5788
7237
  cookie?: never;
5789
7238
  };
5790
- requestBody?: never;
7239
+ requestBody?: {
7240
+ content: {
7241
+ "application/json": components["schemas"]["PluginsctlGetPluginsForTypeRequest"];
7242
+ };
7243
+ };
5791
7244
  responses: {
5792
7245
  200: components["responses"]["PluginsctlGetPluginsForTypeResponse"];
5793
7246
  "4XX": components["responses"]["RcError"];
@@ -5806,7 +7259,11 @@ export interface operations {
5806
7259
  path?: never;
5807
7260
  cookie?: never;
5808
7261
  };
5809
- requestBody?: never;
7262
+ requestBody?: {
7263
+ content: {
7264
+ "application/json": components["schemas"]["PluginsctlListPluginsRequest"];
7265
+ };
7266
+ };
5810
7267
  responses: {
5811
7268
  200: components["responses"]["PluginsctlListPluginsResponse"];
5812
7269
  "4XX": components["responses"]["RcError"];
@@ -5825,7 +7282,11 @@ export interface operations {
5825
7282
  path?: never;
5826
7283
  cookie?: never;
5827
7284
  };
5828
- requestBody?: never;
7285
+ requestBody?: {
7286
+ content: {
7287
+ "application/json": components["schemas"]["PluginsctlListTestPluginsRequest"];
7288
+ };
7289
+ };
5829
7290
  responses: {
5830
7291
  200: components["responses"]["PluginsctlListTestPluginsResponse"];
5831
7292
  "4XX": components["responses"]["RcError"];
@@ -5834,9 +7295,9 @@ export interface operations {
5834
7295
  };
5835
7296
  pluginsctlRemovePlugin: {
5836
7297
  parameters: {
5837
- query: {
7298
+ query?: {
5838
7299
  /** @description Name of the plugin to uninstall. */
5839
- name: components["parameters"]["Pluginsctl_RemovePluginPostNameParam"];
7300
+ name?: components["parameters"]["Pluginsctl_RemovePluginPostNameParam"];
5840
7301
  /** @description Assign the request to a custom stats group. */
5841
7302
  _group?: components["parameters"]["GlobalGroupParam"];
5842
7303
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5846,7 +7307,11 @@ export interface operations {
5846
7307
  path?: never;
5847
7308
  cookie?: never;
5848
7309
  };
5849
- requestBody?: never;
7310
+ requestBody?: {
7311
+ content: {
7312
+ "application/json": components["schemas"]["PluginsctlRemovePluginRequest"];
7313
+ };
7314
+ };
5850
7315
  responses: {
5851
7316
  200: components["responses"]["EmptyResponse"];
5852
7317
  "4XX": components["responses"]["RcError"];
@@ -5855,9 +7320,9 @@ export interface operations {
5855
7320
  };
5856
7321
  pluginsctlRemoveTestPlugin: {
5857
7322
  parameters: {
5858
- query: {
7323
+ query?: {
5859
7324
  /** @description Name of the test plugin to uninstall. */
5860
- name: components["parameters"]["Pluginsctl_RemoveTestPluginPostNameParam"];
7325
+ name?: components["parameters"]["Pluginsctl_RemoveTestPluginPostNameParam"];
5861
7326
  /** @description Assign the request to a custom stats group. */
5862
7327
  _group?: components["parameters"]["GlobalGroupParam"];
5863
7328
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5867,7 +7332,11 @@ export interface operations {
5867
7332
  path?: never;
5868
7333
  cookie?: never;
5869
7334
  };
5870
- requestBody?: never;
7335
+ requestBody?: {
7336
+ content: {
7337
+ "application/json": components["schemas"]["PluginsctlRemoveTestPluginRequest"];
7338
+ };
7339
+ };
5871
7340
  responses: {
5872
7341
  200: components["responses"]["EmptyResponse"];
5873
7342
  "4XX": components["responses"]["RcError"];