对象存在

Excel API:对象存在

GET http://api.aspose.cloud/v4.0/cells/storage/exist/{path}

功能描述

objectExists API 允许开发人员验证 Aspose.Cells 云存储中指定文件或文件夹的存在。

请求参数对象存在API 是

参数名称 类型 路径/查询字符串/HTTP 正文 描述
小路 细绳 小路 云存储中文件或文件夹的路径。
存储名称 细绳 询问 文件所在存储的名称。
版本号 细绳 询问 文件的版本 ID(如果适用)。

响应描述

{
  "Name": "ObjectExist",
  "Description": [
    "Object exists"
  ],
  "Type": "Class",
  "IsAbstract": false,
  "Properties": [
    {
      "Name": "Exists",
      "Description": [
        "Indicates that the file or folder exists."
      ],
      "Nullable": true,
      "ReadOnly": false,
      "IsInherit": false,
      "DataType": {
        "Identifier": "Boolean",
        "Name": "boolean"
      }
    },
    {
      "Name": "IsFolder",
      "Description": [
        "True if it is a folder, false if it is a file."
      ],
      "Nullable": true,
      "ReadOnly": false,
      "IsInherit": false,
      "DataType": {
        "Identifier": "Boolean",
        "Name": "boolean"
      }
    }
  ]
}

OpenAPI 规范

OpenAPI 规范定义一个可公开访问的编程接口,并允许您直接从 Web 浏览器执行 REST 交互。

Excel API SDK

使用 SDK 是加速开发的最佳方式。SDK 负责处理底层细节,让您专注于项目任务。请查看GitHub 存储库以获取 Aspose.Cells Cloud SDKs 的完整列表。

以下代码示例演示了如何使用各种 SDK 调用 Aspose.Cells Web 服务: