No API command for new "Done" state of notifications #24653
Replies: 8 comments 5 replies
-
👋 Welcome to the GitHub Support Community, @ltGuillaume!
ltGuillaume:
We can confirm here that there’s no API endpoint for achieving that goal. We’re always working to improve GitHub and the GitHub Support Community, and we consider every suggestion we receive. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I’ve submitted a request as you suggested. |
Beta Was this translation helpful? Give feedback.
-
8 months have passed and there is no api for that. |
Beta Was this translation helpful? Give feedback.
-
👋 @vchirikov - I’m not aware of any new REST API endpoints or GraphQL API mutations for accomplishing this nor am I aware of any planned feature work for this. I wish I had better news to share, though, if it helps for keeping up with the latest changes, I suggest monitoring Breaking changes and our GraphQL Changelog for the latest. |
Beta Was this translation helpful? Give feedback.
-
francisfuzz:
Still waiting for this here. Very frustrating that a developer first company isn’t API first when building things… |
Beta Was this translation helpful? Give feedback.
-
I suppose they don’t want us to automate getting rid of the stress in our lives. |
Beta Was this translation helpful? Give feedback.
-
@francisfuzz - Almost two years passed since your last reply, could you please share an update on this? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
GitHub has an undocumented Example request: POST https://api.github.com/graphql HTTP/1.1
# Headers omitted
{"operationName":"MarkNotificationAsDone","query":"mutation MarkNotificationAsDone($id: ID!) {\n markNotificationAsDone(input: {id: $id}) {\n __typename\n success\n }\n}","variables":{"id":"NT_ABCDEFG"}} It'd be nice if notification GraphQL queries/mutations were made publicly available. I created a similar thread to allow saving notifications through the API too: #39606 |
Beta Was this translation helpful? Give feedback.
-
It seems there is no API command to either read or set the new “Done” (completed) triage feature for notifications. As such, third-party applications cannot use the API to clean the inbox.
I have searched high and low for either documentation or anything mentioning this, but for now this issue seems to be completely discarded.
Beta Was this translation helpful? Give feedback.
All reactions