Github API v3 : retrieve all repos clone links in a given org #21877
-
I’m trying to find a proper way to retrieve every repository (clone) link within an org. For example https://github.com/RocketChat From the docs, I understand I have to request : https://api.github.com/orgs/RocketChat/projects/ and get the repo link field from there. But I only get :
What do I miss ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
According to the docs at https://developer.github.com/v3/projects/, this api is in preview, so you must specify a special Accept header to acknowledge that this is a preview that may change at any time. |
Beta Was this translation helpful? Give feedback.
-
Answering my own question : the answer is in the doc and is pretty straight-forward by broswing https://api.github.com/orgs/RocketChat , and look at the repos_url |
Beta Was this translation helpful? Give feedback.
-
Thank you for taking the time to answer. I posted a solution for my initial need. |
Beta Was this translation helpful? Give feedback.
Answering my own question : the answer is in the doc and is pretty straight-forward by broswing https://api.github.com/orgs/RocketChat , and look at the repos_url