SuperAPI AI 工具集

inbox-manage-subscription

通用与其它

查看项目

更新于 10-16 00:32

技能介绍

用途:管理 GitHub 通知线程的订阅状态,适用于需要批量或脚本化处理通知订阅的场景。

主要能力:提供三种操作。忽略(静音)一个线程:gh api --method PUT /notifications/threads/{thread_id}/subscription -f ignored=true;关注一个线程:gh api --method PUT /notifications/threads/{thread_id}/subscription -f ignored=false;完全取消订阅:gh api --method DELETE /notifications/threads/{thread_id}/subscription。

使用方式:将命令中的 {thread_id} 替换为通知的 id 字段值,通过 GitHub CLI(gh)执行。

限制:资料未说明前置条件、权限要求、平台差异或错误处理方式,以上信息暂未提供。