public class Document extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateDocumentResp |
create(CreateDocumentReq req)
创建文档,创建新版文档,文档标题和目录可选。
|
CreateDocumentResp |
create(CreateDocumentReq req,
RequestOptions reqOptions)
创建文档,创建新版文档,文档标题和目录可选。
|
GetDocumentResp |
get(GetDocumentReq req)
获取文档基本信息,获取文档最新版本号、标题等
在调用此接口前,请仔细阅读[新版文档 OpenAPI 接口校验规则](https://bytedance.feishu.cn/docx/doxcnby5Y0yoACL3PdfZqrJEm6f#doxcnWKAE4aSaIU4GcdLInSaVde),了解相关规则及约束。
|
GetDocumentResp |
get(GetDocumentReq req,
RequestOptions reqOptions)
获取文档基本信息,获取文档最新版本号、标题等
在调用此接口前,请仔细阅读[新版文档 OpenAPI 接口校验规则](https://bytedance.feishu.cn/docx/doxcnby5Y0yoACL3PdfZqrJEm6f#doxcnWKAE4aSaIU4GcdLInSaVde),了解相关规则及约束。
|
RawContentDocumentResp |
rawContent(RawContentDocumentReq req)
获取文档纯文本内容,获取文档的纯文本内容。
|
RawContentDocumentResp |
rawContent(RawContentDocumentReq req,
RequestOptions reqOptions)
获取文档纯文本内容,获取文档的纯文本内容。
|
public Document(Config config)
public CreateDocumentResp create(CreateDocumentReq req, RequestOptions reqOptions) throws Exception
在调用此接口前,请仔细阅读[新版文档 OpenAPI 接口校验规则](https://bytedance.feishu.cn/docx/doxcnby5Y0yoACL3PdfZqrJEm6f#doxcnyoyCgwS8ywWwMtQr9yjZ2f),了解相关规则及约束。 ;
频率限制:单个应用调用频率上限为每秒 3 次。 ;
官网API文档链接:https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/document/create ;
Exceptionpublic CreateDocumentResp create(CreateDocumentReq req) throws Exception
在调用此接口前,请仔细阅读[新版文档 OpenAPI 接口校验规则](https://bytedance.feishu.cn/docx/doxcnby5Y0yoACL3PdfZqrJEm6f#doxcnyoyCgwS8ywWwMtQr9yjZ2f),了解相关规则及约束。 ;
频率限制:单个应用调用频率上限为每秒 3 次。 ;
官网API文档链接:https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/document/create ;
Exceptionpublic GetDocumentResp get(GetDocumentReq req, RequestOptions reqOptions) throws Exception
在调用此接口前,请仔细阅读[新版文档 OpenAPI 接口校验规则](https://bytedance.feishu.cn/docx/doxcnby5Y0yoACL3PdfZqrJEm6f#doxcnWKAE4aSaIU4GcdLInSaVde),了解相关规则及约束。 ;
频率限制:单个应用调用频率上限为每秒 5 次。 ;
官网API文档链接:https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/document/get ;
Exceptionpublic GetDocumentResp get(GetDocumentReq req) throws Exception
在调用此接口前,请仔细阅读[新版文档 OpenAPI 接口校验规则](https://bytedance.feishu.cn/docx/doxcnby5Y0yoACL3PdfZqrJEm6f#doxcnWKAE4aSaIU4GcdLInSaVde),了解相关规则及约束。 ;
频率限制:单个应用调用频率上限为每秒 5 次。 ;
官网API文档链接:https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/document/get ;
Exceptionpublic RawContentDocumentResp rawContent(RawContentDocumentReq req, RequestOptions reqOptions) throws Exception
在调用此接口前,请仔细阅读[新版文档 OpenAPI 接口校验规则](https://bytedance.feishu.cn/docx/doxcnby5Y0yoACL3PdfZqrJEm6f#doxcnQeqI4wiKIMis6GNvCOBuqg),了解相关规则及约束。 ;
频率限制:单个应用调用频率上限为每秒 5 次。 ;
官网API文档链接:https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/document/raw_content ;
Exceptionpublic RawContentDocumentResp rawContent(RawContentDocumentReq req) throws Exception
在调用此接口前,请仔细阅读[新版文档 OpenAPI 接口校验规则](https://bytedance.feishu.cn/docx/doxcnby5Y0yoACL3PdfZqrJEm6f#doxcnQeqI4wiKIMis6GNvCOBuqg),了解相关规则及约束。 ;
频率限制:单个应用调用频率上限为每秒 5 次。 ;
官网API文档链接:https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/document/raw_content ;
ExceptionCopyright © 2024. All rights reserved.