Let's say there is a repository foo/bar
which I forked to me/custom-bar
. How do I check programmatically (API call maybe?) given foo/bar
that there exists a fork that I own from this upstream? Currently, GitHub has the repos/owner/id/forks
API endpoint that returns upto 100 entries if you explicitly mention it. I don't see any parameters for creating a custom query for this particular problem. Counting in the rate-limiting and stuff, I don't think it's possible to know this using this API endpoint if I had say a fork of the linux project where over 20k+ forks exist. Is there any fast and efficient way to know this?
Note: I don't want to use authentication if at all possible.