SuperAPI AI 工具集

inbox-mark-all-read

通用与其它

查看项目

更新于 10-16 00:32

技能介绍

用途:将 GitHub 通知批量标记为已读,避免逐条处理。

主要能力与使用方式:

  1. 标记全部通知已读:gh api --method PUT /notifications
  2. 标记指定仓库的全部通知已读:gh api --method PUT /repos/{owner}/{repo}/notifications,其中 {owner} 和 {repo} 需替换为仓库所有者与名称。
  3. 标记指定时间之后的通知已读:在上述命令中加入 last_read_at 参数,例如:gh api --method PUT /notifications -f last_read_at=2024-01-01T00:00:00Z。

适用场景:通知积压时快速清理;针对单个仓库清理通知;按时间点批量清理。

限制:资料未提供其他参数、权限要求、平台限制或返回结果说明,暂未提供。