|
void
|
addCollaborator(String owner, String name, String user)
Adds a collaborator to the given repository
|
|
void
|
addComment(String owner, String name, String body, String commitId, int line, String path, int position)
Creates a commit comment
|
|
void
|
addEmails(List<String> emails)
Add one or more e-mail addresses to the currently authenticated user's account
|
|
void
|
addTeamMember(int id, String user)
Add given user to team with given id
|
|
void
|
addTeamRepository(int id, String owner, String name)
|
|
Issue
|
closeIssue(String user, String repository, String issueId)
|
|
Comment
|
createComment(String user, String repository, String issueId, String comment)
Create comment on specified issue id
|
|
Key
|
createDeployKey(String owner, String name, String title, String key)
Returns a new deploy key
|
|
Comment
|
createGistComment(String gistId, String comment)
Creates a comment on the specified gist id
|
|
Issue
|
createIssue(String user, String repository, String title, String body, String assignee)
|
|
Key
|
createKey(String title, String key)
Create key for currently authenticated user
|
|
Label
|
createLabel(String user, String repository, String name, String color)
Creates a new label
|
|
Milestone
|
createMilestone(String user, String repository, String title, String state, String description, Date dueOn)
Creates a new milestone
|
|
Repository
|
createRepository(String name, String description, boolean isPrivate, boolean hasIssues, boolean hasWiki, boolean hasDownloads)
|
|
Repository
|
createRepositoryForOrg(String organization, String name, String description, boolean isPrivate, boolean hasIssues, boolean hasWiki, boolean hasDownloads)
Create a new repository for the given organization
|
|
DownloadResource
|
createResource(String owner, String name, String resourceName, long size, String description, String contentType)
Creates a new download resource
|
|
Team
|
createTeam(String organization, String teamName, TeamPermission teamPermission, List<String> repoNames)
|
|
void
|
deleteComment(String user, String repository, String commentId)
Delete the issue comment with the given id
|
|
void
|
deleteCommitComment(String owner, String name, long commentId)
Deletes the given comment
|
|
void
|
deleteDeployKey(String owner, String name, int id)
Deletes a deploy key given the given id
|
|
void
|
deleteDownload(String owner, String name, int id)
Deletes a download given the provided id
|
|
void
|
deleteGist(String gistId)
Deletes the given gist
|
|
void
|
deleteGistComment(long commentId)
Deletes the given comment
|
|
void
|
deleteKey(int id)
|
|
void
|
deleteLabel(String user, String repository, String label)
Deletes the given label
|
|
void
|
deleteMilestone(String user, String repository, String number)
Deletes a given milestone
|
|
void
|
deleteTeam(int id)
Delete the team with the given id
|
|
Comment
|
editComment(String user, String repository, Long commentId, String body)
Edits the body of the comment represented by the given comment id
|
|
void
|
editCommitComment(String owner, String name, String body, String commitId, int line, String path, int position)
Edits a given comment
|
|
Key
|
editDeployKey(String owner, String name, String title, String key)
Edits a given deploy key
|
|
Comment
|
editGistComment(long commentId, String body)
Updates the given comment
|
|
Key
|
editKey(int keyId, String title, String key)
Edit key for currently authenticated user
|
|
Repository
|
editRepository(String owner, String name, String description, Boolean isPrivate, Boolean hasIssues, Boolean hasWiki, Boolean hasDownloads)
Edit given repository.
|
|
Team
|
editTeam(int id, String name, TeamPermission teamPermission)
Edit the given team.
|
|
void
|
follow(String user)
Make the currently authenticated user follow the given user
|
|
Gist
|
forkGist(String gistId)
Forks the given gist
|
|
Repository
|
forkRepository(String owner, String name)
Fork given repository into new repository under the currently
authenticated user.
|
|
Repository
|
forkRepositoryForOrg(String organization, String owner, String name)
Fork given repository into new repository.
|
|
List<RepositoryBranch>
|
getBranches(String owner, String name)
Get branches in given repository
|
|
List<User>
|
getCollaborators(String owner, String name)
Returns the list of collaborators of the given repository
|
|
CommitComment
|
getComment(String owner, String name, long commentId)
Returns a comment from commit with the given id
|
|
List<Comment>
|
getComments(String user, String repository, String issueId)
|
|
RepositoryCommit
|
getCommit(String owner, String name, String sha)
Returns a commit with given SHA-1 from given repository
|
|
List<RepositoryCommit>
|
getCommits(String owner, String name)
Returns a list of the commits for a given repository
|
|
List<RepositoryCommit>
|
getCommitsBySha(String owner, String name, String sha, String path)
Returns all commits in given repository beginning at an optional commit SHA-1
and affecting an optional path.
|
|
List<CommitComment>
|
getCommmitComments(String owner, String name, String sha)
Returns all comments on commit with given Sha
|
|
List<Contributor>
|
getContributors(String owner, String name, boolean includeAnonymous)
Get contributors to repository
|
|
User
|
getCurrentUser()
Get the currently authenticated user
|
|
Key
|
getDeployKey(String owner, String name, int id)
Returns the key that corresponds to the given id
|
|
List<Key>
|
getDeployKeys(String owner, String name)
Returns all deploys keys associated with the given repository
|
|
Download
|
getDownload(String owner, String name, int id)
Returns a single download given the provided id
|
|
List<String>
|
getEmails()
Get all e-mail addresses for the currently authenticated user
|
|
List<User>
|
getFollowers(String user)
Returns a list of followers for given user, if no one is provided the current authenticated user will be used
|
|
List<User>
|
getFollowing(String user)
Returns a list users following the given user, if no one is provided the current authenticated user will be used
|
|
List<Repository>
|
getForks(String owner, String name)
Get all the forks of the given repository
|
|
Gist
|
getGist(String id)
Returns the gist according to the given id
|
|
Comment
|
getGistComment(long commentId)
Returns the comment according to the given id
|
|
List<Comment>
|
getGistComments(String gistId)
Returns a list of comments for the given gist
|
|
List<Gist>
|
getGists(String user)
Returns a list of gists for the specified user
|
|
Issue
|
getIssue(String user, String repository, String issueId)
Get the issue represented by the given issueId
|
|
IssueEvent
|
getIssueEvent(String user, String repository, long eventId)
Get issue event for repository
|
|
List<Issue>
|
getIssues(String user, String repository, Map<String, String> filterData)
Get a list of Issue objects that match the specified filter data
|
|
List<Issue>
|
getIssuesCretedAfter(String user, String repository, int minutes)
|
|
List<Issue>
|
getIssuesSinceNumber(String user, String repository, int fromIssueNumber)
|
|
Key
|
getKey(int id)
|
|
List<Key>
|
getKeys()
Get all public keys for currently authenticated user
|
|
Label
|
getLabel(String user, String repository, String label)
Returns a single label
|
|
List<Label>
|
getLabels(String user, String repository)
Returns a list of labels for the given repository and user
|
|
Map<String, Long>
|
getLanguages(String owner, String name)
Get languages used in given repository
|
|
Milestone
|
getMilestone(String user, String repository, String number)
Returns a single milestone
|
|
List<Milestone>
|
getMilestones(String user, String repository, String state)
Returns a list of milestones for the given repository
|
|
List<Repository>
|
getOrgRepositories(String organization, Map<String, String> filterData)
Get organization repositories for the given organization
|
|
List<Repository>
|
getRepositories(Map<String, String> filterData)
Get repositories for the currently authenticated user
|
|
List<Repository>
|
getRepositoriesForUser(String user)
Get repositories for the given user
|
|
Repository
|
getRepository(String owner, String name)
|
|
List<Gist>
|
getStarredGist()
Returns the starred gists for the currently authenticated user
|
|
List<RepositoryTag>
|
getTags(String owner, String name)
Get tags in given repository
|
|
Team
|
getTeam(int id)
|
|
List<User>
|
getTeamMembers(int id)
Get members of team with given id
|
|
List<Repository>
|
getTeamRepositories(int id)
Get all repositories for given team
|
|
List<Team>
|
getTeamsForOrg(String organization)
Get all teams in the given organization
|
|
User
|
getUserByLoginName(String loginName)
Get user with given login name
|
|
List<Repository>
|
getWatched(String user)
Get repositories watched by the given user
|
|
List<User>
|
getWatchers(String owner, String name)
Get users watching given repository
|
|
boolean
|
isCollaborator(String owner, String name, String user)
Returns whether the user is a collaborator of the given repository
|
|
boolean
|
isFollowing(String user)
Returns wether the authenticated user is following the given user
|
|
boolean
|
isStarred(String gistId)
Returns whether the gist is starred or not
|
|
boolean
|
isTeamMember(int id, String user)
Is the given user a member of the team with the given id
|
|
boolean
|
isWatching(String owner, String name)
Is currently authenticated user watching given repository?
|
|
void
|
removeCollaborator(String owner, String name, String user)
Removes a collaborator from the given repository
|
|
void
|
removeEmails(List<String> emails)
Removes one or more e-mail addresses to the currently authenticated user's account
|
|
void
|
removeTeamMember(int id, String user)
Remove given user from team with given id
|
|
void
|
removeTeamRepository(int id, String owner, String name)
Remove repository from team
|
|
void
|
setPassword(String password)
|
|
void
|
setServiceFactory(ServiceFactory serviceFactory)
|
|
void
|
setUser(String user)
|
|
void
|
setuser(String user)
|
|
void
|
starGist(String gistId)
Star the gist with the given id
|
|
void
|
unfollow(String user)
Make the currently authenticated user unfollow the given user
|
|
void
|
unstarGist(String gistId)
Unstar the gist with the given id
|
|
void
|
unwatch(String owner, String name)
Remove currently authenticated user as a watcher of the given repository
|
|
User
|
updateCurrentUser(String name, String email, String blog, String company, String location, Boolean hireable)
Updates the currently authenticated user using the given attributes.
|
|
void
|
watch(String owner, String name)
Add currently authenticated user as a watcher of the given repository
|