Skip to content

Latest commit

 

History

History
142 lines (89 loc) · 3.55 KB

FolderApi.md

File metadata and controls

142 lines (89 loc) · 3.55 KB

Aspose.BarCode.Cloud.Sdk.Api.FolderApi

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

CopyFolder

void CopyFolder (string srcPath, string destPath, string srcStorageName = null, string destStorageName = null)

Copy folder

Parameters

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]

Return type

void (empty response body)

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

CreateFolder

void CreateFolder (string path, string storageName = null)

Create the folder

Parameters

Name Type Description Notes
path string Folder path to create e.g. 'folder_1/folder_2/'
storageName string Storage name [optional]

Return type

void (empty response body)

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

DeleteFolder

void DeleteFolder (string path, string storageName = null, bool? recursive = null)

Delete folder

Parameters

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]

Return type

void (empty response body)

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

GetFilesList

FilesList GetFilesList (string path, string storageName = null)

Get all files and folders within a folder

Parameters

Name Type Description Notes
path string Folder path e.g. '/folder'
storageName string Storage name [optional]

Return type

FilesList

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

MoveFolder

void MoveFolder (string srcPath, string destPath, string srcStorageName = null, string destStorageName = null)

Move folder

Parameters

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]

Return type

void (empty response body)

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json