All URIs are relative to https://api.aspose.cloud/v3.0
Method | HTTP request | Description |
---|---|---|
CopyFolder | PUT /barcode/storage/folder/copy/{srcPath} | Copy folder |
CreateFolder | PUT /barcode/storage/folder/{path} | Create the folder |
DeleteFolder | DELETE /barcode/storage/folder/{path} | Delete folder |
GetFilesList | GET /barcode/storage/folder/{path} | Get all files and folders within a folder |
MoveFolder | PUT /barcode/storage/folder/move/{srcPath} | Move folder |
void CopyFolder (string srcPath, string destPath, string srcStorageName = null, string destStorageName = null)
Copy folder
Name | Type | Description | Notes |
---|---|---|---|
srcPath | string | Source folder path e.g. '/src' | |
destPath | string | Destination folder path e.g. '/dst' | |
srcStorageName | string | Source storage name | [optional] |
destStorageName | string | Destination storage name | [optional] |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
void CreateFolder (string path, string storageName = null)
Create the folder
Name | Type | Description | Notes |
---|---|---|---|
path | string | Folder path to create e.g. 'folder_1/folder_2/' | |
storageName | string | Storage name | [optional] |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
void DeleteFolder (string path, string storageName = null, bool? recursive = null)
Delete folder
Name | Type | Description | Notes |
---|---|---|---|
path | string | Folder path e.g. '/folder' | |
storageName | string | Storage name | [optional] |
recursive | bool? | Enable to delete folders, subfolders and files | [optional] [default to false] |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
FilesList GetFilesList (string path, string storageName = null)
Get all files and folders within a folder
Name | Type | Description | Notes |
---|---|---|---|
path | string | Folder path e.g. '/folder' | |
storageName | string | Storage name | [optional] |
- Content-Type: application/json
- Accept: application/json
void MoveFolder (string srcPath, string destPath, string srcStorageName = null, string destStorageName = null)
Move folder
Name | Type | Description | Notes |
---|---|---|---|
srcPath | string | Folder path to move e.g. '/folder' | |
destPath | string | Destination folder path to move to e.g '/dst' | |
srcStorageName | string | Source storage name | [optional] |
destStorageName | string | Destination storage name | [optional] |
void (empty response body)
- Content-Type: application/json
- Accept: application/json