Skip to content

Latest commit

 

History

History
109 lines (70 loc) · 3.96 KB

StorageApi.md

File metadata and controls

109 lines (70 loc) · 3.96 KB

barcode\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(ctx, optional) Get disc usage

GetDiscUsage Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *StorageApiGetDiscUsageOpts optional parameters nil if no parameters

GetDiscUsage Optional Parameters

Optional parameters are passed through a pointer to a StorageApiGetDiscUsageOpts struct

Name Type Description Notes
StorageName optional.String Storage name

GetDiscUsage Return type

DiscUsage

[Back to API list] [Back to Model list] [Back to README]

GetFileVersions

FileVersions GetFileVersions(ctx, path, optional) Get file versions

GetFileVersions Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
path string File path e.g. '/file.ext'
optional *StorageApiGetFileVersionsOpts optional parameters nil if no parameters

GetFileVersions Optional Parameters

Optional parameters are passed through a pointer to a StorageApiGetFileVersionsOpts struct

Name Type Description Notes
StorageName optional.String Storage name

GetFileVersions Return type

FileVersions

[Back to API list] [Back to Model list] [Back to README]

ObjectExists

ObjectExist ObjectExists(ctx, path, optional) Check if file or folder exists

ObjectExists Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
path string File or folder path e.g. '/file.ext' or '/folder'
optional *StorageApiObjectExistsOpts optional parameters nil if no parameters

ObjectExists Optional Parameters

Optional parameters are passed through a pointer to a StorageApiObjectExistsOpts struct

Name Type Description Notes
StorageName optional.String Storage name
VersionId optional.String File version ID

ObjectExists Return type

ObjectExist

[Back to API list] [Back to Model list] [Back to README]

StorageExists

StorageExist StorageExists(ctx, storageName) Check if storage exists

StorageExists Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
storageName string Storage name

StorageExists Return type

StorageExist

[Back to API list] [Back to Model list] [Back to README]