Documentation ¶
Overview ¶
Package platform 云文档/platform
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DocsMeta ¶
获取元数据
该接口用于根据 token 获取各类文件的元数据
See: https://open.feishu.cn/document/ugTM5UjL4ETO14COxkTN/uMjN3UjLzYzN14yM2cTN
POST https://open.feishu.cn/open-apis/suite/docs-api/meta
Example ¶
package main import ( "fmt" "github.com/ylck/feishu" "github.com/ylck/feishu/apis/capabilities/document/platform" ) func main() { var ctx *feishu.App payload := []byte("{}") accessToken := "" resp, err := platform.DocsMeta(ctx, payload, accessToken) fmt.Println(resp, err) }
Output:
func SearchObject ¶
文档搜索
该接口用于根据搜索条件进行文档搜索
See: https://open.feishu.cn/document/ugTM5UjL4ETO14COxkTN/ugDM4UjL4ADO14COwgTN
POST https://open.feishu.cn/open-apis/suite/docs-api/search/object
Example ¶
package main import ( "fmt" "github.com/ylck/feishu" "github.com/ylck/feishu/apis/capabilities/document/platform" ) func main() { var ctx *feishu.App payload := []byte("{}") accessToken := "" resp, err := platform.SearchObject(ctx, payload, accessToken) fmt.Println(resp, err) }
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.