Get Row Description from an Excel Worksheet – Aspose.Cells Cloud API
Prerequisites:
- Obtain a valid JWT access token and include it in the
Authorization: Bearer <jwt token>header. - Ensure the workbook is stored in Aspose Cloud storage or specify the folder path where it resides.
- Use API version v3.0 as shown in the endpoint URL.
This REST API retrieves row data by its index on an Excel worksheet.
REST API
GET https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}
Request parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | The name of the workbook file. |
| sheetName | string | path | The name of the worksheet within the workbook. |
| rowIndex | integer | path | Zero‑based index of the row to retrieve. |
| folder | string | query | The folder that contains the workbook. |
| storageName | string | query | The name of the storage where the workbook resides. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you perform 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. Include the Authorization: Bearer <jwt token> header to authenticate the request.
Notes / Error handling: The API may return the following HTTP status codes:
- 200 – Success; the row data is returned.
- 401 – Unauthorized; the JWT token is missing or invalid.
- 404 – Not found; the specified workbook, worksheet, or row does not exist.
- 500 – Internal server error; an unexpected condition occurred.
For a complete list of error codes, see the Aspose.Cells Cloud Error Codes documentation.
Cloud SDK Family
Using an SDK is the fastest way to develop. An SDK abstracts low‑level details so you can focus on your project tasks. Please check the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to call Aspose.Cells web services using various SDKs: