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

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -