工具 API

aicanvas.reimport_page

用新的.aipage导入制品整份覆盖已有Page(二次编辑场景)。前置条件:需先调用manage.pre_import获取upload_url和file_key,并把重新打包的.aipage文件PUT上传到upload_url,然后调用本工具。调用成功后已有Page的内容被新制品整体替换并返回新版本号version;file_id与在线链接保持不变,已绑定的智能表关系原样保留,无需重新导入或重新绑定。注意:要求当前用户对该Page有编辑权限。 if both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick the target account before invoking this tool.

productivityOAuth1 积分

调用信息

工具标识
tencent-docs.aicanvas.reimport_page
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

file_id必填

已有Page的file_id(首次生成时manage.import_progress返回的file_id,或从Page在线链接解析)

file_key必填

新制品的文件唯一标识,由manage.pre_import返回,需已将重新打包的.aipage文件PUT上传到对应upload_url

file_name必填

文件名称(含.aipage后缀),需与pre_import时传入的file_name一致