Cloud-based Excel File Management – Check Storage Existence
Check Storage Existence (storageExists)
Summary – The storageExists endpoint lets you confirm whether a specific storage container is available in Aspose.Cells Cloud. Use it before performing file‑related operations to avoid runtime errors. The API returns a JSON object containing an Exists boolean that indicates the storage status.
Web API
GET https://api.aspose.cloud/v4.0/cells/storage/{storageName}/exist
Function Description
The storageExists API checks whether a specified storage exists in the Aspose.Cells cloud service. This functionality is critical for ensuring that all operations dependent on storage can proceed without errors.
Request Parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| storageName | String | Path | The name of the storage to check for existence. |
Response Description
{
"Name": "StorageExist",
"Description": ["Indicates whether the specified storage exists."],
"Type": "Class",
"IsAbstract": false,
"Properties": [
{
"Name": "Exists",
"Description": [
"Indicates if the storage exists.",
"This property returns true if the storage is present; otherwise, it returns false."
],
"Nullable": true,
"ReadOnly": false,
"IsInherit": false,
"DataType": {
"Identifier": "Boolean",
"Name": "boolean"
}
}
]
}
Error Codes
| HTTP Status | Meaning |
|---|---|
| 200 OK | Request succeeded; response contains the Exists flag. |
| 401 Unauthorized | Missing or invalid authentication token. |
| 404 Not Found | The specified storageName does not exist. |
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface, allowing developers to seamlessly interact with the REST API directly from a web browser.
Excel API SDK
Utilizing an SDK is the most efficient approach to accelerate development. An SDK abstracts low‑level implementation details, enabling developers to concentrate on their project tasks. For a comprehensive list of available Aspose.Cells Cloud SDKs, please visit the GitHub repository.
The following code examples demonstrate how to make API calls to Aspose.Cells web services using various SDKs: