Cloud-based Excel File Management – Check Storage Existence

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. 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.

Check Storage Existence (storageExists)

Web API

GET https://api.aspose.cloud/v4.0/cells/storage/{storageName}/exist

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

Request Parameters

Parameter Name Type Location Description
storageName String Path The name of the storage to check for existence.

Response

{
  "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"
      }
    }
  ]
}

HTTP Status Codes

Code Meaning Description
200 OK Filter applied successfully; response contains operation details.
400 Bad Request Missing or invalid parameters (e.g., unsupported file type).
401 Unauthorized Invalid or missing JWT token.
413 Payload Too Large Uploaded file exceeds size limit.
500 Internal Server Error Unexpected server error.

How to Use the storage exists API with SDKs?

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.

You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make calls to the Cloud API with cURL.

Use Aspose.Cells Cloud SDKs

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: