rclone-openapi 1.0.22 → 1.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.json +79 -66
- package/openapi.yaml +61 -52
- package/package.json +1 -1
- package/types.d.ts +35 -32
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Rclone RC API",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "1.72.0",
|
|
6
6
|
"description": "Full OpenAPI specification for the Rclone RC API.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "GitHub Repository",
|
|
@@ -5978,9 +5978,13 @@
|
|
|
5978
5978
|
"schema": {
|
|
5979
5979
|
"type": "object",
|
|
5980
5980
|
"required": [
|
|
5981
|
+
"name",
|
|
5981
5982
|
"type"
|
|
5982
5983
|
],
|
|
5983
5984
|
"properties": {
|
|
5985
|
+
"name": {
|
|
5986
|
+
"type": "string"
|
|
5987
|
+
},
|
|
5984
5988
|
"type": {
|
|
5985
5989
|
"type": "string"
|
|
5986
5990
|
},
|
|
@@ -6553,76 +6557,85 @@
|
|
|
6553
6557
|
"schema": {
|
|
6554
6558
|
"type": "object",
|
|
6555
6559
|
"properties": {
|
|
6556
|
-
"
|
|
6557
|
-
"type": "string",
|
|
6558
|
-
"description": "Path relative to the remote root."
|
|
6559
|
-
},
|
|
6560
|
-
"Name": {
|
|
6561
|
-
"type": "string",
|
|
6562
|
-
"description": "Base name of the entry."
|
|
6563
|
-
},
|
|
6564
|
-
"Size": {
|
|
6565
|
-
"type": "number",
|
|
6566
|
-
"description": "Object size in bytes."
|
|
6567
|
-
},
|
|
6568
|
-
"MimeType": {
|
|
6569
|
-
"type": "string",
|
|
6570
|
-
"description": "MIME type where available."
|
|
6571
|
-
},
|
|
6572
|
-
"ModTime": {
|
|
6573
|
-
"type": "string",
|
|
6574
|
-
"description": "Modification timestamp in RFC3339 format."
|
|
6575
|
-
},
|
|
6576
|
-
"IsDir": {
|
|
6577
|
-
"type": "boolean",
|
|
6578
|
-
"description": "True if the entry is a directory."
|
|
6579
|
-
},
|
|
6580
|
-
"Hashes": {
|
|
6581
|
-
"type": "object",
|
|
6582
|
-
"additionalProperties": {
|
|
6583
|
-
"type": "string"
|
|
6584
|
-
},
|
|
6585
|
-
"description": "Hash digests keyed by algorithm when requested."
|
|
6586
|
-
},
|
|
6587
|
-
"ID": {
|
|
6588
|
-
"type": "string",
|
|
6589
|
-
"description": "Backend-specific identifier when provided."
|
|
6590
|
-
},
|
|
6591
|
-
"OrigID": {
|
|
6592
|
-
"type": "string",
|
|
6593
|
-
"description": "Original backend identifier when recorded."
|
|
6594
|
-
},
|
|
6595
|
-
"IsBucket": {
|
|
6596
|
-
"type": "boolean",
|
|
6597
|
-
"description": "True for bucket/root entries on bucket-based remotes."
|
|
6598
|
-
},
|
|
6599
|
-
"Tier": {
|
|
6600
|
-
"type": "string",
|
|
6601
|
-
"description": "Storage class or tier, if supplied by the backend."
|
|
6602
|
-
},
|
|
6603
|
-
"Encrypted": {
|
|
6604
|
-
"type": "string",
|
|
6605
|
-
"description": "Encrypted entry name when using crypt remotes."
|
|
6606
|
-
},
|
|
6607
|
-
"EncryptedPath": {
|
|
6608
|
-
"type": "string",
|
|
6609
|
-
"description": "Encrypted path when using crypt remotes."
|
|
6610
|
-
},
|
|
6611
|
-
"Metadata": {
|
|
6560
|
+
"item": {
|
|
6612
6561
|
"type": "object",
|
|
6613
|
-
"
|
|
6614
|
-
|
|
6562
|
+
"nullable": true,
|
|
6563
|
+
"properties": {
|
|
6564
|
+
"Path": {
|
|
6565
|
+
"type": "string",
|
|
6566
|
+
"description": "Path relative to the remote root."
|
|
6567
|
+
},
|
|
6568
|
+
"Name": {
|
|
6569
|
+
"type": "string",
|
|
6570
|
+
"description": "Base name of the entry."
|
|
6571
|
+
},
|
|
6572
|
+
"Size": {
|
|
6573
|
+
"type": "number",
|
|
6574
|
+
"description": "Object size in bytes."
|
|
6575
|
+
},
|
|
6576
|
+
"MimeType": {
|
|
6577
|
+
"type": "string",
|
|
6578
|
+
"description": "MIME type where available."
|
|
6579
|
+
},
|
|
6580
|
+
"ModTime": {
|
|
6581
|
+
"type": "string",
|
|
6582
|
+
"description": "Modification timestamp in RFC3339 format."
|
|
6583
|
+
},
|
|
6584
|
+
"IsDir": {
|
|
6585
|
+
"type": "boolean",
|
|
6586
|
+
"description": "True if the entry is a directory."
|
|
6587
|
+
},
|
|
6588
|
+
"Hashes": {
|
|
6589
|
+
"type": "object",
|
|
6590
|
+
"additionalProperties": {
|
|
6591
|
+
"type": "string"
|
|
6592
|
+
},
|
|
6593
|
+
"description": "Hash digests keyed by algorithm when requested."
|
|
6594
|
+
},
|
|
6595
|
+
"ID": {
|
|
6596
|
+
"type": "string",
|
|
6597
|
+
"description": "Backend-specific identifier when provided."
|
|
6598
|
+
},
|
|
6599
|
+
"OrigID": {
|
|
6600
|
+
"type": "string",
|
|
6601
|
+
"description": "Original backend identifier when recorded."
|
|
6602
|
+
},
|
|
6603
|
+
"IsBucket": {
|
|
6604
|
+
"type": "boolean",
|
|
6605
|
+
"description": "True for bucket/root entries on bucket-based remotes."
|
|
6606
|
+
},
|
|
6607
|
+
"Tier": {
|
|
6608
|
+
"type": "string",
|
|
6609
|
+
"description": "Storage class or tier, if supplied by the backend."
|
|
6610
|
+
},
|
|
6611
|
+
"Encrypted": {
|
|
6612
|
+
"type": "string",
|
|
6613
|
+
"description": "Encrypted entry name when using crypt remotes."
|
|
6614
|
+
},
|
|
6615
|
+
"EncryptedPath": {
|
|
6616
|
+
"type": "string",
|
|
6617
|
+
"description": "Encrypted path when using crypt remotes."
|
|
6618
|
+
},
|
|
6619
|
+
"Metadata": {
|
|
6620
|
+
"type": "object",
|
|
6621
|
+
"additionalProperties": {
|
|
6622
|
+
"nullable": true
|
|
6623
|
+
},
|
|
6624
|
+
"description": "Backend-provided metadata map."
|
|
6625
|
+
}
|
|
6615
6626
|
},
|
|
6616
|
-
"
|
|
6627
|
+
"required": [
|
|
6628
|
+
"Path",
|
|
6629
|
+
"Name",
|
|
6630
|
+
"Size",
|
|
6631
|
+
"MimeType",
|
|
6632
|
+
"ModTime",
|
|
6633
|
+
"IsDir"
|
|
6634
|
+
]
|
|
6617
6635
|
}
|
|
6618
6636
|
},
|
|
6619
6637
|
"required": [
|
|
6620
|
-
"
|
|
6621
|
-
"Name",
|
|
6622
|
-
"Size",
|
|
6623
|
-
"MimeType",
|
|
6624
|
-
"ModTime",
|
|
6625
|
-
"IsDir"
|
|
6638
|
+
"item"
|
|
6626
6639
|
]
|
|
6627
6640
|
}
|
|
6628
6641
|
}
|
package/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.1.0
|
|
2
2
|
info:
|
|
3
3
|
title: Rclone RC API
|
|
4
|
-
version:
|
|
4
|
+
version: 1.72.0
|
|
5
5
|
description: "Full OpenAPI specification for the Rclone RC API."
|
|
6
6
|
contact:
|
|
7
7
|
name: GitHub Repository
|
|
@@ -3507,8 +3507,11 @@ components:
|
|
|
3507
3507
|
schema:
|
|
3508
3508
|
type: object
|
|
3509
3509
|
required:
|
|
3510
|
+
- name
|
|
3510
3511
|
- type
|
|
3511
3512
|
properties:
|
|
3513
|
+
name:
|
|
3514
|
+
type: string
|
|
3512
3515
|
type:
|
|
3513
3516
|
type: string
|
|
3514
3517
|
provider:
|
|
@@ -3911,59 +3914,65 @@ components:
|
|
|
3911
3914
|
schema:
|
|
3912
3915
|
type: object
|
|
3913
3916
|
properties:
|
|
3914
|
-
|
|
3915
|
-
type: string
|
|
3916
|
-
description: "Path relative to the remote root."
|
|
3917
|
-
Name:
|
|
3918
|
-
type: string
|
|
3919
|
-
description: "Base name of the entry."
|
|
3920
|
-
Size:
|
|
3921
|
-
type: number
|
|
3922
|
-
description: "Object size in bytes."
|
|
3923
|
-
MimeType:
|
|
3924
|
-
type: string
|
|
3925
|
-
description: "MIME type where available."
|
|
3926
|
-
ModTime:
|
|
3927
|
-
type: string
|
|
3928
|
-
description: "Modification timestamp in RFC3339 format."
|
|
3929
|
-
IsDir:
|
|
3930
|
-
type: boolean
|
|
3931
|
-
description: "True if the entry is a directory."
|
|
3932
|
-
Hashes:
|
|
3933
|
-
type: object
|
|
3934
|
-
additionalProperties:
|
|
3935
|
-
type: string
|
|
3936
|
-
description: "Hash digests keyed by algorithm when requested."
|
|
3937
|
-
ID:
|
|
3938
|
-
type: string
|
|
3939
|
-
description: "Backend-specific identifier when provided."
|
|
3940
|
-
OrigID:
|
|
3941
|
-
type: string
|
|
3942
|
-
description: "Original backend identifier when recorded."
|
|
3943
|
-
IsBucket:
|
|
3944
|
-
type: boolean
|
|
3945
|
-
description: "True for bucket/root entries on bucket-based remotes."
|
|
3946
|
-
Tier:
|
|
3947
|
-
type: string
|
|
3948
|
-
description: "Storage class or tier, if supplied by the backend."
|
|
3949
|
-
Encrypted:
|
|
3950
|
-
type: string
|
|
3951
|
-
description: "Encrypted entry name when using crypt remotes."
|
|
3952
|
-
EncryptedPath:
|
|
3953
|
-
type: string
|
|
3954
|
-
description: "Encrypted path when using crypt remotes."
|
|
3955
|
-
Metadata:
|
|
3917
|
+
item:
|
|
3956
3918
|
type: object
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3919
|
+
nullable: true
|
|
3920
|
+
properties:
|
|
3921
|
+
Path:
|
|
3922
|
+
type: string
|
|
3923
|
+
description: "Path relative to the remote root."
|
|
3924
|
+
Name:
|
|
3925
|
+
type: string
|
|
3926
|
+
description: "Base name of the entry."
|
|
3927
|
+
Size:
|
|
3928
|
+
type: number
|
|
3929
|
+
description: "Object size in bytes."
|
|
3930
|
+
MimeType:
|
|
3931
|
+
type: string
|
|
3932
|
+
description: "MIME type where available."
|
|
3933
|
+
ModTime:
|
|
3934
|
+
type: string
|
|
3935
|
+
description: "Modification timestamp in RFC3339 format."
|
|
3936
|
+
IsDir:
|
|
3937
|
+
type: boolean
|
|
3938
|
+
description: "True if the entry is a directory."
|
|
3939
|
+
Hashes:
|
|
3940
|
+
type: object
|
|
3941
|
+
additionalProperties:
|
|
3942
|
+
type: string
|
|
3943
|
+
description: "Hash digests keyed by algorithm when requested."
|
|
3944
|
+
ID:
|
|
3945
|
+
type: string
|
|
3946
|
+
description: "Backend-specific identifier when provided."
|
|
3947
|
+
OrigID:
|
|
3948
|
+
type: string
|
|
3949
|
+
description: "Original backend identifier when recorded."
|
|
3950
|
+
IsBucket:
|
|
3951
|
+
type: boolean
|
|
3952
|
+
description: "True for bucket/root entries on bucket-based remotes."
|
|
3953
|
+
Tier:
|
|
3954
|
+
type: string
|
|
3955
|
+
description: "Storage class or tier, if supplied by the backend."
|
|
3956
|
+
Encrypted:
|
|
3957
|
+
type: string
|
|
3958
|
+
description: "Encrypted entry name when using crypt remotes."
|
|
3959
|
+
EncryptedPath:
|
|
3960
|
+
type: string
|
|
3961
|
+
description: "Encrypted path when using crypt remotes."
|
|
3962
|
+
Metadata:
|
|
3963
|
+
type: object
|
|
3964
|
+
additionalProperties:
|
|
3965
|
+
nullable: true
|
|
3966
|
+
description: "Backend-provided metadata map."
|
|
3967
|
+
required:
|
|
3968
|
+
- Path
|
|
3969
|
+
- Name
|
|
3970
|
+
- Size
|
|
3971
|
+
- MimeType
|
|
3972
|
+
- ModTime
|
|
3973
|
+
- IsDir
|
|
3960
3974
|
required:
|
|
3961
|
-
-
|
|
3962
|
-
- Name
|
|
3963
|
-
- Size
|
|
3964
|
-
- MimeType
|
|
3965
|
-
- ModTime
|
|
3966
|
-
- IsDir
|
|
3975
|
+
- item
|
|
3967
3976
|
OptionsBlocksResponse:
|
|
3968
3977
|
description: "Names of option blocks that can be queried with `options/get` or `options/info`."
|
|
3969
3978
|
content:
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -2390,6 +2390,7 @@ export interface components {
|
|
|
2390
2390
|
};
|
|
2391
2391
|
content: {
|
|
2392
2392
|
"application/json": {
|
|
2393
|
+
name: string;
|
|
2393
2394
|
type: string;
|
|
2394
2395
|
provider?: string;
|
|
2395
2396
|
} & {
|
|
@@ -2646,38 +2647,40 @@ export interface components {
|
|
|
2646
2647
|
};
|
|
2647
2648
|
content: {
|
|
2648
2649
|
"application/json": {
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2650
|
+
item: {
|
|
2651
|
+
/** @description Path relative to the remote root. */
|
|
2652
|
+
Path: string;
|
|
2653
|
+
/** @description Base name of the entry. */
|
|
2654
|
+
Name: string;
|
|
2655
|
+
/** @description Object size in bytes. */
|
|
2656
|
+
Size: number;
|
|
2657
|
+
/** @description MIME type where available. */
|
|
2658
|
+
MimeType: string;
|
|
2659
|
+
/** @description Modification timestamp in RFC3339 format. */
|
|
2660
|
+
ModTime: string;
|
|
2661
|
+
/** @description True if the entry is a directory. */
|
|
2662
|
+
IsDir: boolean;
|
|
2663
|
+
/** @description Hash digests keyed by algorithm when requested. */
|
|
2664
|
+
Hashes?: {
|
|
2665
|
+
[key: string]: string;
|
|
2666
|
+
};
|
|
2667
|
+
/** @description Backend-specific identifier when provided. */
|
|
2668
|
+
ID?: string;
|
|
2669
|
+
/** @description Original backend identifier when recorded. */
|
|
2670
|
+
OrigID?: string;
|
|
2671
|
+
/** @description True for bucket/root entries on bucket-based remotes. */
|
|
2672
|
+
IsBucket?: boolean;
|
|
2673
|
+
/** @description Storage class or tier, if supplied by the backend. */
|
|
2674
|
+
Tier?: string;
|
|
2675
|
+
/** @description Encrypted entry name when using crypt remotes. */
|
|
2676
|
+
Encrypted?: string;
|
|
2677
|
+
/** @description Encrypted path when using crypt remotes. */
|
|
2678
|
+
EncryptedPath?: string;
|
|
2679
|
+
/** @description Backend-provided metadata map. */
|
|
2680
|
+
Metadata?: {
|
|
2681
|
+
[key: string]: unknown;
|
|
2682
|
+
};
|
|
2683
|
+
} | null;
|
|
2681
2684
|
};
|
|
2682
2685
|
};
|
|
2683
2686
|
};
|