Aspose.Cells Cloud API – Get Files List (Folder Contents)
The GetFilesList API (GET https://api.aspose.cloud/v4.0/cells/storage/folder/{path}) retrieves the collection of files and subfolders stored in a specified folder of Aspose.Cells Cloud storage, enabling developers to browse cloud-based Excel workbooks, archives, and other supported file types programmatically using the v4.0 REST API.
The Get Files List Web API
GET https://api.aspose.cloud/v4.0/cells/storage/folder/{path}
Security and Authentication
The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.
Request Parameters
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
|---|---|---|---|
| path | String | Path | - |
| storageName | String | Query | - |
- Value – Array of
StorageFileobjects. Each object contains:Name– File or folder name.IsFolder–trueif the entry is a folder.Size– Size in bytes (folders report0).ModifiedDate– Last modification timestamp (ISO 8601).
Response
[
{
"Name": "FilesList",
"DataType": {
"Identifier": "Class",
"Reference": "FilesList"
}
}
]
Sample response headers
HTTP/1.1 200 OK
Content-Type: application/json
HTTP Status Codes
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | The request completed successfully. |
| 400 | Bad Request | The request is malformed or one or more parameters are invalid. |
| 401 | Unauthorized | Authentication failed, or the JWT token is missing or expired. |
| 404 | Not Found | The requested workbook, worksheet, or resource was not found. |
| 500 | Internal Server Error | The server encountered an unexpected error while processing the request. |
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions 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.
How to Use the Get Files List API with SDKs?
Get Files List API Specification
The Get Files List API Specification defines a publicly accessible programming interface and enables you to carry out REST interactions directly from a web browser.
Use Aspose.Cells Cloud SDKs
Using the SDK is the fastest way to develop, as it abstracts away the low‑level details, allowing you to use the API with short code.
Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: