Skip to content

Latest commit

 

History

History
188 lines (88 loc) · 3.08 KB

Repo.md

File metadata and controls

188 lines (88 loc) · 3.08 KB

repo

Repository


repo.listForAuthUser(options)

Repository

Parameter Description
options Object, Optional request options

repo.listForUser(username, options)

Repository

Parameter Description
username String, username of the user
options Object, Optional request options

repo.listForOrg(org, options)

Repository

Parameter Description
org String, org name
options Object, Optional request options

repo.get(full_name, options)

Repository

Parameter Description
full_name String, owner/repo name of repo
options Object, Optional request options

repo.getById(id, options)

Undocumented function to return a repository by its ID. See http://stackoverflow.com/questions/28778568/how-to-find-the-new-location-of-a-repository-after-a-rename

Parameter Description
id String, id of the repo
options Object, Optional request options

repo.listContributors(full_name, options)

Repository

Parameter Description
full_name String, owner/repo name of repo
options Object, Optional request options

repo.listLanguages(full_name, options)

Repository

Parameter Description
full_name String, owner/repo name of repo
options Object, Optional request options

repo.listTeams(full_name, options)

Repository

Parameter Description
full_name String, owner/repo name of repo
options Object, Optional request options

repo.listTags(full_name, options)

Repository

Parameter Description
full_name String, owner/repo name of repo
options Object, Optional request options

repo.listBranches(full_name, options)

Repository

Parameter Description
full_name String, owner/repo name of repo
options Object, Optional request options

repo.getBranch(full_name, branch, options)

Repository

Parameter Description
full_name String, owner/repo name of repo
branch String, name of the branch
options Object, Optional request options

repo.delete(full_name, options)

Repository

Parameter Description
full_name String, owner/repo name of repo
options Object, Optional request options