rclone-openapi 1.0.20 → 1.0.21
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 +28 -4
- package/openapi.yaml +20 -4
- package/package.json +1 -1
- package/types.d.ts +20 -4
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": {
|
|
@@ -5705,6 +5721,14 @@
|
|
|
5705
5721
|
"what": {
|
|
5706
5722
|
"type": "string"
|
|
5707
5723
|
},
|
|
5724
|
+
"started_at": {
|
|
5725
|
+
"type": "string",
|
|
5726
|
+
"description": "ISO8601 timestamp when the transfer started."
|
|
5727
|
+
},
|
|
5728
|
+
"completed_at": {
|
|
5729
|
+
"type": "string",
|
|
5730
|
+
"description": "ISO8601 timestamp when the transfer completed."
|
|
5731
|
+
},
|
|
5708
5732
|
"timestamp": {
|
|
5709
5733
|
"type": "integer"
|
|
5710
5734
|
},
|
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,12 @@ components:
|
|
|
3332
3342
|
type: boolean
|
|
3333
3343
|
what:
|
|
3334
3344
|
type: string
|
|
3345
|
+
started_at:
|
|
3346
|
+
type: string
|
|
3347
|
+
description: "ISO8601 timestamp when the transfer started."
|
|
3348
|
+
completed_at:
|
|
3349
|
+
type: string
|
|
3350
|
+
description: "ISO8601 timestamp when the transfer completed."
|
|
3335
3351
|
timestamp:
|
|
3336
3352
|
type: integer
|
|
3337
3353
|
error:
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -2102,6 +2102,18 @@ export interface components {
|
|
|
2102
2102
|
"application/json": Record<string, never>;
|
|
2103
2103
|
};
|
|
2104
2104
|
};
|
|
2105
|
+
/** @description Response for sync operations, containing job ID if async. */
|
|
2106
|
+
SyncJobResponse: {
|
|
2107
|
+
headers: {
|
|
2108
|
+
[name: string]: unknown;
|
|
2109
|
+
};
|
|
2110
|
+
content: {
|
|
2111
|
+
"application/json": {
|
|
2112
|
+
/** @description Job ID of the operation. */
|
|
2113
|
+
jobid?: number;
|
|
2114
|
+
};
|
|
2115
|
+
};
|
|
2116
|
+
};
|
|
2105
2117
|
/** @description Echoes any supplied parameters, useful for testing RC connectivity. */
|
|
2106
2118
|
RcNoopResponse: {
|
|
2107
2119
|
headers: {
|
|
@@ -2237,6 +2249,10 @@ export interface components {
|
|
|
2237
2249
|
bytes?: number;
|
|
2238
2250
|
checked?: boolean;
|
|
2239
2251
|
what?: string;
|
|
2252
|
+
/** @description ISO8601 timestamp when the transfer started. */
|
|
2253
|
+
started_at?: string;
|
|
2254
|
+
/** @description ISO8601 timestamp when the transfer completed. */
|
|
2255
|
+
completed_at?: string;
|
|
2240
2256
|
timestamp?: number;
|
|
2241
2257
|
error?: string;
|
|
2242
2258
|
jobid?: number;
|
|
@@ -5202,7 +5218,7 @@ export interface operations {
|
|
|
5202
5218
|
};
|
|
5203
5219
|
requestBody?: never;
|
|
5204
5220
|
responses: {
|
|
5205
|
-
200: components["responses"]["
|
|
5221
|
+
200: components["responses"]["SyncJobResponse"];
|
|
5206
5222
|
"4XX": components["responses"]["RcError"];
|
|
5207
5223
|
"5XX": components["responses"]["RcError"];
|
|
5208
5224
|
};
|
|
@@ -5231,7 +5247,7 @@ export interface operations {
|
|
|
5231
5247
|
};
|
|
5232
5248
|
requestBody?: never;
|
|
5233
5249
|
responses: {
|
|
5234
|
-
200: components["responses"]["
|
|
5250
|
+
200: components["responses"]["SyncJobResponse"];
|
|
5235
5251
|
"4XX": components["responses"]["RcError"];
|
|
5236
5252
|
"5XX": components["responses"]["RcError"];
|
|
5237
5253
|
};
|
|
@@ -5262,7 +5278,7 @@ export interface operations {
|
|
|
5262
5278
|
};
|
|
5263
5279
|
requestBody?: never;
|
|
5264
5280
|
responses: {
|
|
5265
|
-
200: components["responses"]["
|
|
5281
|
+
200: components["responses"]["SyncJobResponse"];
|
|
5266
5282
|
"4XX": components["responses"]["RcError"];
|
|
5267
5283
|
"5XX": components["responses"]["RcError"];
|
|
5268
5284
|
};
|
|
@@ -5321,7 +5337,7 @@ export interface operations {
|
|
|
5321
5337
|
};
|
|
5322
5338
|
requestBody?: never;
|
|
5323
5339
|
responses: {
|
|
5324
|
-
200: components["responses"]["
|
|
5340
|
+
200: components["responses"]["SyncJobResponse"];
|
|
5325
5341
|
"4XX": components["responses"]["RcError"];
|
|
5326
5342
|
"5XX": components["responses"]["RcError"];
|
|
5327
5343
|
};
|