Expose notification mark as done functionality through API #15669
Replies: 7 comments 1 reply
-
Same for me, but I use Renovate. I have really good test coverage and would like not to be bored by notifications of Renovate PRs. |
Beta Was this translation helpful? Give feedback.
-
Gathering my notifications in a secondary application, this would be nice to have that application dismiss those notifications in GitHub. |
Beta Was this translation helpful? Give feedback.
-
Reviving this question if relevant. Working on cronjobs to perform clean tasks, and would love to mark notifications as done (/notifications/beta/archive) + unsubscribe from further updates (/notifications/beta/unsubscribe). |
Beta Was this translation helpful? Give feedback.
-
It would be very helpful if this was added.... |
Beta Was this translation helpful? Give feedback.
-
This API has been introduced: https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28#mark-a-thread-as-done However, there still doesn't seem to be an API parameter to filter notifications using |
Beta Was this translation helpful? Give feedback.
-
Yup. Just found this thread because I discovered I could not filter notifications from the API based on their "Done" status. In fact, not only can we not filter by "Done" status in the request, but the returned data itself seems to also not contain any any information about "Done" status. So there is no workaround at all? There is absolutely no way to get all notifications from github that are not marked as "Done"? |
Beta Was this translation helpful? Give feedback.
-
Currently, there is no way to mark a notification as done through the Github API. I would like to be able to mark a notification as "done" not just as "read".
Context: We use Dependabot on all or non-archived repositories and the lack of grouped updates for Dependabot results in flowing my notification view with PRs from Dependabot. I wanted to create a Github OAuth app that checks for PR notifications from Dependabot and automatically marks them as done, but that functionality is not exposed in the current API.
Beta Was this translation helpful? Give feedback.
All reactions