【需求】妙记(minutes)需要删除接口

Open
#2,905 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
go
Domain
cli

Research direction

Start by reading the existing lark-cli minutes commands and the native minutes minutes resource to understand how commands and high-risk writes are handled. The issue calls for a new OpenAPI deletion endpoint as well as a CLI command, with owner-only user permissions and --yes confirmation; the optional batch behavior also needs a decision. Done means the deletion capability is available through the API and CLI, with tests covering the requested permission and confirmation behavior.

Written by the indexing model from the issue text.

Description

domain/doc domain/minutes enhancement

需求

希望 lark-cli minutes 提供删除妙记的能力(例如 lark-cli minutes +delete --minute-token <token>),以及对应的开放平台 OpenAPI。

现状

lark-cli 1.0.99 的 minutes 下目前有 +detail、+download、+search、+upload、+update(改标题)、+summary、+todo、+speaker-replace、+word-replace 等命令,可以创建、查询、修改妙记,但没有删除。minutes minutes 原生资源也只有 get。开放平台妙记文档里同样没找到删除接口。

结果是:用 +upload 生成的妙记、或者 agent 批量处理后不再需要的妙记,只能到网页上一条条手动删除,自动化流程在这一步断开。

期望

  • 开放平台提供删除妙记(移入回收站即可)的 OpenAPI,支持 user 身份,权限范围限于妙记所有者。
  • lark-cli 增加对应命令,按 high-risk-write 处理,需要 --yes 确认。
  • 如果能支持一次传多个 minute_token 批量删除更好。

场景

  • 测试 / 调试 +upload 时产生的临时妙记需要清理。
  • agent 根据 +search 结果(按时间、关键词)清理过期或重复的妙记。
Dominant language
Go
Stars
18.2k
Forks
1.4k
Avg merge
1d 3h
Merged PRs (30d)
18

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from larksuite/cli

All issues in larksuite/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.