How to use REST api to get the same list shown here: https://github.com/notifications/subscriptions #54561
Replies: 4 comments
-
Does the REST API at this link #about-github-notifications help? |
Beta Was this translation helpful? Give feedback.
-
Its close! But not quite. That API seems to list recent notifications (like an email you get about something you are subscribed to). It more about the data from this page: https://github.com/notifications?query=is%3Aunread What I'd like to get is a list of 'active subscriptions'. Which is what this page is showing: https://github.com/notifications/subscriptions](https://github.com/notifications/subscriptions). I'd like to avoid screen scraping and was hoping there was a REST API call to do the same. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I would like to use the REST Api to access the list of subscriptions shown at this URL:
https://github.com/notifications/subscriptions
I've searched the REST API docs and can't find a route that returns exactly this information. Did I miss something?
It would be nice if it cold return a "most recently subscribed to" sorted list as well just like in that UI.
Beta Was this translation helpful? Give feedback.
All reactions