ruby on rails - List all contributors to a private github repository using github api -


i know possible public repository (get /repos/:owner/:repo/contributors) wondering if there way private repositories authenticated user using app member of. also, using octokit.rb gem answers in context appreciated.

if there way private repositories authenticated user using app member of.

create octokit client authenticated user:

client = octokit::client.new(access_token: authenticated_use.token) 

then list of collaborators repository:

client.collaborators("octokit/octokit.rb") 

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -