Quantcast
Viewing all articles
Browse latest Browse all 3686

Is there a way to get the web link to a check suite notification retrieved by the github api

I am using the github api to retrieve the notifications on my account, i then want to get the url that you get when you click on the notification on the github website dashboard (https://github.com/notifications). I was able to do this for most notifications however i am stuck on trying to get such a url for CheckSuite notifications (e.g. notifications for failing action runs).

For most notification types there is useful information, which i am easily able to transform, in the ['subject']['url'] data. For example in a Pull request notification that would contain "https://api.github.com/repos/PaperMC/Paper/pulls/1189900000" which is not far off from the "https://github.com/PaperMC/Paper/pull/1189900000" i want. However for the CheckSuite notification that field is simply empty and with the rest of the data seemingly not being able to help me i could not find a way to get to a url such as "https://github.com/notTamion/paper/actions/runs/127480525450000000000". Here is a link to the corresponding documentation: https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28. i would appreciate it if anyone has any ideas as to how i could get that url.


Viewing all articles
Browse latest Browse all 3686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>