public class Spreadsheet extends Object
| 构造器和说明 |
|---|
Spreadsheet(Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
CreateSpreadsheetResp |
create(CreateSpreadsheetReq req)
创建电子表格,在云空间指定目录下创建电子表格。
|
CreateSpreadsheetResp |
create(CreateSpreadsheetReq req,
RequestOptions reqOptions)
创建电子表格,在云空间指定目录下创建电子表格。
|
GetSpreadsheetResp |
get(GetSpreadsheetReq req)
获取电子表格信息,根据电子表格 token 获取电子表格的基础信息,包括电子表格的所有者、URL 链接等。
|
GetSpreadsheetResp |
get(GetSpreadsheetReq req,
RequestOptions reqOptions)
获取电子表格信息,根据电子表格 token 获取电子表格的基础信息,包括电子表格的所有者、URL 链接等。
|
PatchSpreadsheetResp |
patch(PatchSpreadsheetReq req)
修改电子表格属性,该接口用于修改电子表格的属性。
|
PatchSpreadsheetResp |
patch(PatchSpreadsheetReq req,
RequestOptions reqOptions)
修改电子表格属性,该接口用于修改电子表格的属性。
|
public Spreadsheet(Config config)
public CreateSpreadsheetResp create(CreateSpreadsheetReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic CreateSpreadsheetResp create(CreateSpreadsheetReq req) throws Exception
Exceptionpublic GetSpreadsheetResp get(GetSpreadsheetReq req, RequestOptions reqOptions) throws Exception
## 前提条件;;调用此接口前,请确保当前调用身份(tenant_access_token 或 user_access_token)已有电子表格的阅读、编辑等文档权限,否则接口将返回 HTTP 403 或 400 状态码。了解更多,参考[如何为应用或用户开通文档权限](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#16c6475a)。 ;
Exceptionpublic GetSpreadsheetResp get(GetSpreadsheetReq req) throws Exception
## 前提条件;;调用此接口前,请确保当前调用身份(tenant_access_token 或 user_access_token)已有电子表格的阅读、编辑等文档权限,否则接口将返回 HTTP 403 或 400 状态码。了解更多,参考[如何为应用或用户开通文档权限](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#16c6475a)。 ;
Exceptionpublic PatchSpreadsheetResp patch(PatchSpreadsheetReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic PatchSpreadsheetResp patch(PatchSpreadsheetReq req) throws Exception
ExceptionCopyright © 2026. All rights reserved.