rclone-openapi 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.json +47 -6
- package/openapi.yaml +35 -5
- package/package.json +1 -1
- package/types.d.ts +26 -6
package/openapi.json
CHANGED
|
@@ -2355,7 +2355,7 @@
|
|
|
2355
2355
|
],
|
|
2356
2356
|
"responses": {
|
|
2357
2357
|
"200": {
|
|
2358
|
-
"$ref": "#/components/responses/
|
|
2358
|
+
"$ref": "#/components/responses/SyncJobResponse"
|
|
2359
2359
|
},
|
|
2360
2360
|
"4XX": {
|
|
2361
2361
|
"$ref": "#/components/responses/RcError"
|
|
@@ -2397,7 +2397,7 @@
|
|
|
2397
2397
|
],
|
|
2398
2398
|
"responses": {
|
|
2399
2399
|
"200": {
|
|
2400
|
-
"$ref": "#/components/responses/
|
|
2400
|
+
"$ref": "#/components/responses/SyncJobResponse"
|
|
2401
2401
|
},
|
|
2402
2402
|
"4XX": {
|
|
2403
2403
|
"$ref": "#/components/responses/RcError"
|
|
@@ -2442,7 +2442,7 @@
|
|
|
2442
2442
|
],
|
|
2443
2443
|
"responses": {
|
|
2444
2444
|
"200": {
|
|
2445
|
-
"$ref": "#/components/responses/
|
|
2445
|
+
"$ref": "#/components/responses/SyncJobResponse"
|
|
2446
2446
|
},
|
|
2447
2447
|
"4XX": {
|
|
2448
2448
|
"$ref": "#/components/responses/RcError"
|
|
@@ -2529,7 +2529,7 @@
|
|
|
2529
2529
|
],
|
|
2530
2530
|
"responses": {
|
|
2531
2531
|
"200": {
|
|
2532
|
-
"$ref": "#/components/responses/
|
|
2532
|
+
"$ref": "#/components/responses/SyncJobResponse"
|
|
2533
2533
|
},
|
|
2534
2534
|
"4XX": {
|
|
2535
2535
|
"$ref": "#/components/responses/RcError"
|
|
@@ -5432,6 +5432,22 @@
|
|
|
5432
5432
|
}
|
|
5433
5433
|
}
|
|
5434
5434
|
},
|
|
5435
|
+
"SyncJobResponse": {
|
|
5436
|
+
"description": "Response for sync operations, containing job ID if async.",
|
|
5437
|
+
"content": {
|
|
5438
|
+
"application/json": {
|
|
5439
|
+
"schema": {
|
|
5440
|
+
"type": "object",
|
|
5441
|
+
"properties": {
|
|
5442
|
+
"jobid": {
|
|
5443
|
+
"type": "integer",
|
|
5444
|
+
"description": "Job ID of the operation."
|
|
5445
|
+
}
|
|
5446
|
+
}
|
|
5447
|
+
}
|
|
5448
|
+
}
|
|
5449
|
+
}
|
|
5450
|
+
},
|
|
5435
5451
|
"RcNoopResponse": {
|
|
5436
5452
|
"description": "Echoes any supplied parameters, useful for testing RC connectivity.",
|
|
5437
5453
|
"content": {
|
|
@@ -5703,7 +5719,26 @@
|
|
|
5703
5719
|
"type": "boolean"
|
|
5704
5720
|
},
|
|
5705
5721
|
"what": {
|
|
5706
|
-
"type": "string"
|
|
5722
|
+
"type": "string",
|
|
5723
|
+
"enum": [
|
|
5724
|
+
"transferring",
|
|
5725
|
+
"deleting",
|
|
5726
|
+
"checking",
|
|
5727
|
+
"importing",
|
|
5728
|
+
"hashing",
|
|
5729
|
+
"merging",
|
|
5730
|
+
"listing",
|
|
5731
|
+
"moving",
|
|
5732
|
+
"renaming"
|
|
5733
|
+
]
|
|
5734
|
+
},
|
|
5735
|
+
"started_at": {
|
|
5736
|
+
"type": "string",
|
|
5737
|
+
"description": "ISO8601 timestamp when the transfer started."
|
|
5738
|
+
},
|
|
5739
|
+
"completed_at": {
|
|
5740
|
+
"type": "string",
|
|
5741
|
+
"description": "ISO8601 timestamp when the transfer completed."
|
|
5707
5742
|
},
|
|
5708
5743
|
"timestamp": {
|
|
5709
5744
|
"type": "integer"
|
|
@@ -6142,6 +6177,9 @@
|
|
|
6142
6177
|
"renames": {
|
|
6143
6178
|
"type": "number"
|
|
6144
6179
|
},
|
|
6180
|
+
"listed": {
|
|
6181
|
+
"type": "number"
|
|
6182
|
+
},
|
|
6145
6183
|
"serverSideCopies": {
|
|
6146
6184
|
"type": "number"
|
|
6147
6185
|
},
|
|
@@ -6194,7 +6232,6 @@
|
|
|
6194
6232
|
"deletes",
|
|
6195
6233
|
"elapsedTime",
|
|
6196
6234
|
"errors",
|
|
6197
|
-
"eta",
|
|
6198
6235
|
"fatalError",
|
|
6199
6236
|
"retryError",
|
|
6200
6237
|
"renames",
|
|
@@ -8234,6 +8271,10 @@
|
|
|
8234
8271
|
"speed": {
|
|
8235
8272
|
"type": "number",
|
|
8236
8273
|
"description": "Current transfer speed in bytes per second."
|
|
8274
|
+
},
|
|
8275
|
+
"speedAvg": {
|
|
8276
|
+
"type": "number",
|
|
8277
|
+
"description": "Current speed in bytes per second as an exponentially weighted moving average."
|
|
8237
8278
|
}
|
|
8238
8279
|
},
|
|
8239
8280
|
"additionalProperties": true
|
package/openapi.yaml
CHANGED
|
@@ -1292,7 +1292,7 @@ paths:
|
|
|
1292
1292
|
- $ref: "#/components/parameters/GlobalAsyncParam"
|
|
1293
1293
|
responses:
|
|
1294
1294
|
"200":
|
|
1295
|
-
$ref: "#/components/responses/
|
|
1295
|
+
$ref: "#/components/responses/SyncJobResponse"
|
|
1296
1296
|
"4XX":
|
|
1297
1297
|
$ref: "#/components/responses/RcError"
|
|
1298
1298
|
"5XX":
|
|
@@ -1313,7 +1313,7 @@ paths:
|
|
|
1313
1313
|
- $ref: "#/components/parameters/GlobalAsyncParam"
|
|
1314
1314
|
responses:
|
|
1315
1315
|
"200":
|
|
1316
|
-
$ref: "#/components/responses/
|
|
1316
|
+
$ref: "#/components/responses/SyncJobResponse"
|
|
1317
1317
|
"4XX":
|
|
1318
1318
|
$ref: "#/components/responses/RcError"
|
|
1319
1319
|
"5XX":
|
|
@@ -1335,7 +1335,7 @@ paths:
|
|
|
1335
1335
|
- $ref: "#/components/parameters/GlobalAsyncParam"
|
|
1336
1336
|
responses:
|
|
1337
1337
|
"200":
|
|
1338
|
-
$ref: "#/components/responses/
|
|
1338
|
+
$ref: "#/components/responses/SyncJobResponse"
|
|
1339
1339
|
"4XX":
|
|
1340
1340
|
$ref: "#/components/responses/RcError"
|
|
1341
1341
|
"5XX":
|
|
@@ -1371,7 +1371,7 @@ paths:
|
|
|
1371
1371
|
- $ref: "#/components/parameters/GlobalAsyncParam"
|
|
1372
1372
|
responses:
|
|
1373
1373
|
"200":
|
|
1374
|
-
$ref: "#/components/responses/
|
|
1374
|
+
$ref: "#/components/responses/SyncJobResponse"
|
|
1375
1375
|
"4XX":
|
|
1376
1376
|
$ref: "#/components/responses/RcError"
|
|
1377
1377
|
"5XX":
|
|
@@ -3146,6 +3146,16 @@ components:
|
|
|
3146
3146
|
schema:
|
|
3147
3147
|
type: object
|
|
3148
3148
|
properties: {}
|
|
3149
|
+
SyncJobResponse:
|
|
3150
|
+
description: "Response for sync operations, containing job ID if async."
|
|
3151
|
+
content:
|
|
3152
|
+
application/json:
|
|
3153
|
+
schema:
|
|
3154
|
+
type: object
|
|
3155
|
+
properties:
|
|
3156
|
+
jobid:
|
|
3157
|
+
type: integer
|
|
3158
|
+
description: "Job ID of the operation."
|
|
3149
3159
|
RcNoopResponse:
|
|
3150
3160
|
description: "Echoes any supplied parameters, useful for testing RC connectivity."
|
|
3151
3161
|
content:
|
|
@@ -3332,6 +3342,22 @@ components:
|
|
|
3332
3342
|
type: boolean
|
|
3333
3343
|
what:
|
|
3334
3344
|
type: string
|
|
3345
|
+
enum:
|
|
3346
|
+
- transferring
|
|
3347
|
+
- deleting
|
|
3348
|
+
- checking
|
|
3349
|
+
- importing
|
|
3350
|
+
- hashing
|
|
3351
|
+
- merging
|
|
3352
|
+
- listing
|
|
3353
|
+
- moving
|
|
3354
|
+
- renaming
|
|
3355
|
+
started_at:
|
|
3356
|
+
type: string
|
|
3357
|
+
description: "ISO8601 timestamp when the transfer started."
|
|
3358
|
+
completed_at:
|
|
3359
|
+
type: string
|
|
3360
|
+
description: "ISO8601 timestamp when the transfer completed."
|
|
3335
3361
|
timestamp:
|
|
3336
3362
|
type: integer
|
|
3337
3363
|
error:
|
|
@@ -3617,6 +3643,8 @@ components:
|
|
|
3617
3643
|
type: boolean
|
|
3618
3644
|
renames:
|
|
3619
3645
|
type: number
|
|
3646
|
+
listed:
|
|
3647
|
+
type: number
|
|
3620
3648
|
serverSideCopies:
|
|
3621
3649
|
type: number
|
|
3622
3650
|
serverSideCopyBytes:
|
|
@@ -3654,7 +3682,6 @@ components:
|
|
|
3654
3682
|
- deletes
|
|
3655
3683
|
- elapsedTime
|
|
3656
3684
|
- errors
|
|
3657
|
-
- eta
|
|
3658
3685
|
- fatalError
|
|
3659
3686
|
- retryError
|
|
3660
3687
|
- renames
|
|
@@ -5054,6 +5081,9 @@ components:
|
|
|
5054
5081
|
speed:
|
|
5055
5082
|
type: number
|
|
5056
5083
|
description: "Current transfer speed in bytes per second."
|
|
5084
|
+
speedAvg:
|
|
5085
|
+
type: number
|
|
5086
|
+
description: "Current speed in bytes per second as an exponentially weighted moving average."
|
|
5057
5087
|
additionalProperties: true
|
|
5058
5088
|
CoreStatsChecking:
|
|
5059
5089
|
type: object
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -2047,6 +2047,8 @@ export interface components {
|
|
|
2047
2047
|
size?: number;
|
|
2048
2048
|
/** @description Current transfer speed in bytes per second. */
|
|
2049
2049
|
speed?: number;
|
|
2050
|
+
/** @description Current speed in bytes per second as an exponentially weighted moving average. */
|
|
2051
|
+
speedAvg?: number;
|
|
2050
2052
|
} & {
|
|
2051
2053
|
[key: string]: unknown;
|
|
2052
2054
|
};
|
|
@@ -2102,6 +2104,18 @@ export interface components {
|
|
|
2102
2104
|
"application/json": Record<string, never>;
|
|
2103
2105
|
};
|
|
2104
2106
|
};
|
|
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
|
+
};
|
|
2118
|
+
};
|
|
2105
2119
|
/** @description Echoes any supplied parameters, useful for testing RC connectivity. */
|
|
2106
2120
|
RcNoopResponse: {
|
|
2107
2121
|
headers: {
|
|
@@ -2236,7 +2250,12 @@ export interface components {
|
|
|
2236
2250
|
size?: number;
|
|
2237
2251
|
bytes?: number;
|
|
2238
2252
|
checked?: boolean;
|
|
2239
|
-
|
|
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;
|
|
2240
2259
|
timestamp?: number;
|
|
2241
2260
|
error?: string;
|
|
2242
2261
|
jobid?: number;
|
|
@@ -2462,11 +2481,12 @@ export interface components {
|
|
|
2462
2481
|
deletes: number;
|
|
2463
2482
|
elapsedTime: number;
|
|
2464
2483
|
errors: number;
|
|
2465
|
-
eta
|
|
2484
|
+
eta?: number | null;
|
|
2466
2485
|
fatalError: boolean;
|
|
2467
2486
|
lastError?: string;
|
|
2468
2487
|
retryError: boolean;
|
|
2469
2488
|
renames: number;
|
|
2489
|
+
listed?: number;
|
|
2470
2490
|
serverSideCopies: number;
|
|
2471
2491
|
serverSideCopyBytes: number;
|
|
2472
2492
|
serverSideMoveBytes: number;
|
|
@@ -5202,7 +5222,7 @@ export interface operations {
|
|
|
5202
5222
|
};
|
|
5203
5223
|
requestBody?: never;
|
|
5204
5224
|
responses: {
|
|
5205
|
-
200: components["responses"]["
|
|
5225
|
+
200: components["responses"]["SyncJobResponse"];
|
|
5206
5226
|
"4XX": components["responses"]["RcError"];
|
|
5207
5227
|
"5XX": components["responses"]["RcError"];
|
|
5208
5228
|
};
|
|
@@ -5231,7 +5251,7 @@ export interface operations {
|
|
|
5231
5251
|
};
|
|
5232
5252
|
requestBody?: never;
|
|
5233
5253
|
responses: {
|
|
5234
|
-
200: components["responses"]["
|
|
5254
|
+
200: components["responses"]["SyncJobResponse"];
|
|
5235
5255
|
"4XX": components["responses"]["RcError"];
|
|
5236
5256
|
"5XX": components["responses"]["RcError"];
|
|
5237
5257
|
};
|
|
@@ -5262,7 +5282,7 @@ export interface operations {
|
|
|
5262
5282
|
};
|
|
5263
5283
|
requestBody?: never;
|
|
5264
5284
|
responses: {
|
|
5265
|
-
200: components["responses"]["
|
|
5285
|
+
200: components["responses"]["SyncJobResponse"];
|
|
5266
5286
|
"4XX": components["responses"]["RcError"];
|
|
5267
5287
|
"5XX": components["responses"]["RcError"];
|
|
5268
5288
|
};
|
|
@@ -5321,7 +5341,7 @@ export interface operations {
|
|
|
5321
5341
|
};
|
|
5322
5342
|
requestBody?: never;
|
|
5323
5343
|
responses: {
|
|
5324
|
-
200: components["responses"]["
|
|
5344
|
+
200: components["responses"]["SyncJobResponse"];
|
|
5325
5345
|
"4XX": components["responses"]["RcError"];
|
|
5326
5346
|
"5XX": components["responses"]["RcError"];
|
|
5327
5347
|
};
|