更新草稿
PUT {{base_url}}/baike/v1/drafts/:draft_id
根据 draft_id 更新草稿内容,已审批的草稿无法编辑
参考接口文档:更新草稿
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
user_id_type | string | 用户 ID 类型。可选值:open_id、union_id、user_id |
Request Body
{"aliases"=>[{"display_status"=>{"allow_highlight"=>true, "allow_search"=>true}, "key"=>"企业百科"}], "description"=>"企业百科是飞书提供的一款知识管理工具,通过企业百科可以帮助企业将分散的知识信息进行聚合,并通过UGC的方式,促进企业知识的保鲜和流通", "full_names"=>[{"display_status"=>{"allow_highlight"=>true, "allow_search"=>true}, "key"=>"企业百科"}], "id"=>"enterprise_40217521", "main_keys"=>[{"display_status"=>{"allow_highlight"=>true, "allow_search"=>true}, "key"=>"企业百科"}], "related_meta"=>{"abbreviations"=>[{"id"=>"enterprise_51587960"}], "chats"=>[{"id"=>"ou-xxxxxx", "title"=>"飞书官网", "url"=>"https://www.feishu.cn/hc/zh-CN"}], "docs"=>[{"id"=>"ou-xxxxxx", "title"=>"飞书官网", "url"=>"https://www.feishu.cn/hc/zh-CN"}], "links"=>[{"id"=>"ou-xxxxxx", "title"=>"飞书官网", "url"=>"https://www.feishu.cn/hc/zh-CN"}], "oncalls"=>[{"id"=>"ou-xxxxxx", "title"=>"飞书官网", "url"=>"https://www.feishu.cn/hc/zh-CN"}], "users"=>[{"id"=>"ou-xxxxxx", "title"=>"飞书官网", "url"=>"https://www.feishu.cn/hc/zh-CN"}]}}