企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

企业微信办公功能 - 文档、微盘、邮件、日程、待办、会议、直播、打卡、审批、汇报、人事、会议室、紧急通知、公费电话

Actions298

文档 → [智能文档] 获取页面结构

AI-generated

Summary

Fetch the page hierarchy of an intelligent document.

Inputs

  • docid (required) — 智能文档的 docid,可通过“新建文档”(文档类型选智能文档)获得

Output shape

A JSON object representing the page structure (blocks, children, and metadata).

The response contains the nested layout of the document; if the hierarchy is large it may be paginated, otherwise a single structure object is returned.

Examples

Example 1: Retrieve page hierarchy for a newly created smart document

Set docid to the document's ID and execute the operation.

Example 2: Get structure of an existing smart document to use its blocks

Provide the existing docid and call the node; the returned structure can be processed further.

Links

Discussion