Skip to content

Latest commit

 

History

History
110 lines (67 loc) · 2.44 KB

StorageApi.md

File metadata and controls

110 lines (67 loc) · 2.44 KB

Aspose.BarCode.Cloud.Sdk.Api.StorageApi

All URIs are relative to https://api.aspose.cloud/v3.0

Method HTTP request Description
GetDiscUsage GET /barcode/storage/disc Get disc usage
GetFileVersions GET /barcode/storage/version/{path} Get file versions
ObjectExists GET /barcode/storage/exist/{path} Check if file or folder exists
StorageExists GET /barcode/storage/{storageName}/exist Check if storage exists

GetDiscUsage

DiscUsage GetDiscUsage (string storageName = null)

Get disc usage

Parameters

Name Type Description Notes
storageName string Storage name [optional]

Return type

DiscUsage

HTTP request headers

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

GetFileVersions

FileVersions GetFileVersions (string path, string storageName = null)

Get file versions

Parameters

Name Type Description Notes
path string File path e.g. '/file.ext'
storageName string Storage name [optional]

Return type

FileVersions

HTTP request headers

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

ObjectExists

ObjectExist ObjectExists (string path, string storageName = null, string versionId = null)

Check if file or folder exists

Parameters

Name Type Description Notes
path string File or folder path e.g. '/file.ext' or '/folder'
storageName string Storage name [optional]
versionId string File version ID [optional]

Return type

ObjectExist

HTTP request headers

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

StorageExists

StorageExist StorageExists (string storageName)

Check if storage exists

Parameters

Name Type Description Notes
storageName string Storage name

Return type

StorageExist

HTTP request headers

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