|
|
|
上面那个 delete 不行
这个直接一把把所有未读的点都去掉了:
curl -L \
-X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/notifications \
-d '{"last_read_at": null,"read":true}' |
|