Reputation: 143
I have owner permission on all of org repos how can I retrieve info about repos?
I tried
curl -H "Authorization: token ***" https://api.github.com/users/MYuser/orgs?
returns empty response
also
curl -H "Authorization: token ***" https://api.github.com/users/MYuser/orgs/Myorg/repos?
returns 404
and please if anybody knows how to get tags from specific org repo , share the answer :)
Upvotes: 0
Views: 341
Reputation: 2440
According to the doc
curl -H "Authorization: token ***" \
https://api.github.com/orgs/{org}/repos?type=private
where {org}
is your organization
Upvotes: 1