77public async copyFile (request : CopyFileRequest ): Promise < any >
88```
99
10- Copy file
10+
1111
1212### Request Parameters
1313``` typescript
@@ -21,11 +21,11 @@ new CopyFile(
2121
2222Name | Type | Description | Notes
2323---- | ---- | ----------- | -----
24- ** srcPath** | ** string** | Source file path e.g. &# 39 ; /folder/file.ext &# 39 ; |
25- ** destPath** | ** string** | Destination file path |
26- ** srcStorageName** | ** string** | Source storage name | [ optional]
27- ** destStorageName** | ** string** | Destination storage name | [ optional]
28- ** versionId** | ** string** | File version ID to copy | [ optional]
24+ ** srcPath** | ** string** | |
25+ ** destPath** | ** string** | |
26+ ** srcStorageName** | ** string** | | [ optional]
27+ ** destStorageName** | ** string** | | [ optional]
28+ ** versionId** | ** string** | | [ optional]
2929
3030### Return type
3131
@@ -39,7 +39,7 @@ Promise< any >
3939public async deleteFile (request : DeleteFileRequest ): Promise < any >
4040```
4141
42- Delete file
42+
4343
4444### Request Parameters
4545``` typescript
@@ -51,9 +51,9 @@ new DeleteFile(
5151
5252Name | Type | Description | Notes
5353---- | ---- | ----------- | -----
54- ** path** | ** string** | File path e.g. &# 39 ; /folder/file.ext &# 39 ; |
55- ** storageName** | ** string** | Storage name | [ optional]
56- ** versionId** | ** string** | File version ID to delete | [ optional]
54+ ** path** | ** string** | |
55+ ** storageName** | ** string** | | [ optional]
56+ ** versionId** | ** string** | | [ optional]
5757
5858### Return type
5959
@@ -67,7 +67,7 @@ Promise< any >
6767public async downloadFile (request : DownloadFileRequest ): Promise < Buffer >
6868```
6969
70- Download file
70+
7171
7272### Request Parameters
7373``` typescript
@@ -79,9 +79,9 @@ new DownloadFile(
7979
8080Name | Type | Description | Notes
8181---- | ---- | ----------- | -----
82- ** path** | ** string** | File path e.g. &# 39 ; /folder/file.ext &# 39 ; |
83- ** storageName** | ** string** | Storage name | [ optional]
84- ** versionId** | ** string** | File version ID to download | [ optional]
82+ ** path** | ** string** | |
83+ ** storageName** | ** string** | | [ optional]
84+ ** versionId** | ** string** | | [ optional]
8585
8686### Return type
8787
@@ -95,7 +95,7 @@ Promise< Buffer >
9595public async moveFile (request : MoveFileRequest ): Promise < any >
9696```
9797
98- Move file
98+
9999
100100### Request Parameters
101101``` typescript
@@ -109,11 +109,11 @@ new MoveFile(
109109
110110Name | Type | Description | Notes
111111---- | ---- | ----------- | -----
112- ** srcPath** | ** string** | Source file path e.g. &# 39 ; /src.ext &# 39 ; |
113- ** destPath** | ** string** | Destination file path e.g. &# 39 ; /dest.ext &# 39 ; |
114- ** srcStorageName** | ** string** | Source storage name | [ optional]
115- ** destStorageName** | ** string** | Destination storage name | [ optional]
116- ** versionId** | ** string** | File version ID to move | [ optional]
112+ ** srcPath** | ** string** | |
113+ ** destPath** | ** string** | |
114+ ** srcStorageName** | ** string** | | [ optional]
115+ ** destStorageName** | ** string** | | [ optional]
116+ ** versionId** | ** string** | | [ optional]
117117
118118### Return type
119119
@@ -127,7 +127,7 @@ Promise< any >
127127public async uploadFile (request : UploadFileRequest ): Promise < FilesUploadResult >
128128```
129129
130- Upload file
130+
131131
132132### Request Parameters
133133``` typescript
@@ -139,9 +139,9 @@ new UploadFile(
139139
140140Name | Type | Description | Notes
141141---- | ---- | ----------- | -----
142- ** path** | ** string** | Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. |
142+ ** path** | ** string** | |
143143 ** file** | ** byte[ ] ** | File to upload |
144- ** storageName** | ** string** | Storage name | [ optional]
144+ ** storageName** | ** string** | | [ optional]
145145
146146### Return type
147147
0 commit comments