上传文件至 Aspose 手机
Contents
[
Hide
]
Aspose Cells API:上传文件
PUT http://api.aspose.cloud/v4.0/cells/storage/file/{path}
功能描述
这上传文件API 使开发人员能够将文件直接上传到云存储,以便使用 Aspose Cells 进行处理。
请求参数上传文件API 是
| 参数名称 | 类型 | 路径/查询字符串/HTTP 正文 | 描述 |
|---|---|---|---|
| 上传文件 | 文件 | 表单数据 | 将文件上传到云存储。 |
| 小路 | 细绳 | 小路 | 云存储中的目标路径。指定文件上传的路径。 |
| 存储名称 | 细绳 | 询问 | 将上传文件的存储名称。 |
响应描述
{
"Name": "FilesUploadResult",
"Description": [
"File upload result"
],
"Type": "Class",
"IsAbstract": false,
"Properties": [
{
"Name": "Uploaded",
"Description": [
"List of uploaded file names"
],
"Nullable": true,
"ReadOnly": false,
"IsInherit": false,
"DataType": {
"Identifier": "Container",
"Reference": "String",
"ElementDataType": {
"Identifier": "String",
"Name": "string"
},
"Name": "container"
}
},
{
"Name": "Errors",
"Description": [
"List of errors."
],
"Nullable": true,
"ReadOnly": false,
"IsInherit": false,
"DataType": {
"Identifier": "Container",
"Reference": "Error",
"ElementDataType": {
"Identifier": "Class",
"Reference": "Error",
"Name": "class:error"
},
"Name": "container"
}
}
]
}
OpenAPI 规范
这OpenAPI 规范提供了 API 的详细描述,使开发人员能够直接从 Web 浏览器执行 REST 交互。
Aspose Cells API SDK
利用 SDK 可以管理底层细节,从而提高开发效率,使开发人员能够专注于项目任务。访问GitHub 存储库以获取 Aspose.Cells Cloud SDKs 的完整列表。
以下代码示例说明了如何使用各种 SDK 调用 Aspose.Cells Web 服务: