Sponsors

Microsoft logo

Radboud University logo

TU Delft logo

Become a sponsor

Here is a list of collections along with the Github API URL they cache data from. All URLs need to be prefixed with https://api.github.com/. In MongoDB, each entity is by default indexed by the parameter fields in each corresponding URL (see also the actual default indexes).

Collection name Github API URL Documentation URL
commit_comments #{user}/#{repo}/commits/#{sha}/comments commit comments
commits repos/#{user}/#{repo}/commits commits
events events events
followers users/#{user}/followers followers list
forks repos/#{user}/#{repo}/forks forks list
issues /repos/#{owner}/#{repo}/issues issues for a repo
issue_comments repos/#{owner}/#{repo}/issues/comments/#{comment_id} issue comments
issue_events repos/#{owner}/#{repo}/issues/events/#{event_id} issue events
org_members orgs/#{org}/members organization members
pull_request_comments repos/#{owner}/#{repo}/pulls/#{pullreq_id}/comments pull request review comments
pull_requests repos/#{user}/#{repo}/pulls pull requests
repo_collaborators repos/#{user}/#{repo}/collaborators repo collaborators
repo_labels repos/#{owner}/#{repo}/issues/#{issue_id}/labels issue labels
repos repos/#{user}/#{repo} repositories
users users/#{user} users
watchers repos/#{user}/#{repo}/stargazers stargazers