| Package | Description |
|---|---|
| com.atlassian.stash.rest.client.api |
| Modifier and Type | Method and Description |
|---|---|
Page<Project> |
StashClient.getAccessibleProjects(long start,
long limit)
Get a list of all projects the user can see.
|
Page<UserSshKey> |
StashClient.getCurrentUserKeys(long start,
long limit)
Retrieves access keys (SSH public keys) for current user
|
Page<ProjectGroupPermission> |
StashClient.getProjectGroupPermissions(String projectKey,
String filter,
long start,
long limit)
Retrieve a page of groups that have been granted at least one permission for the specified project.
|
Page<Repository> |
StashClient.getProjectRepositories(String projectKey,
long start,
long limit)
Get a list of all repositories of a project
|
Page<ProjectUserPermission> |
StashClient.getProjectUserPermissions(String projectKey,
String filter,
long start,
long limit)
Retrieve a page of users that have been granted at least one permission for the specified project.
|
default Page<PullRequestStatus> |
StashClient.getPullRequestsByRepository(String projectKey,
String repositorySlug,
String branchName,
StashClient.PullRequestDirection direction,
StashClient.PullRequestStateFilter stateFilter,
StashClient.PullRequestsOrder order,
long start,
long limit)
Retrieve a page of pull requests to or from the specified repository.
|
Page<PullRequestStatus> |
StashClient.getPullRequestsByRepository(String projectKey,
String repositorySlug,
String branchName,
StashClient.PullRequestDirection direction,
StashClient.PullRequestStateFilter stateFilter,
StashClient.PullRequestsOrder order,
long start,
long limit,
AvatarRequest avatarRequest)
Retrieve a page of pull requests to or from the specified repository.
|
Page<Report> |
StashClient.getReports(String projectKey,
String repositorySlug,
String revision,
long start,
long limit)
Obtain a paginated list of code insights report for a given revision in a repository.
|
Page<Repository> |
StashClient.getRepositories(String projectName,
String query,
long start,
long limit)
Search for repositories the user can see.
|
Page<Branch> |
StashClient.getRepositoryBranches(String projectKey,
String repositorySlug,
String query,
long start,
long limit)
Search for the branches for a specific repository
|
Page<RepositorySshKey> |
StashClient.getRepositoryKeys(String projectKey,
String repositorySlug,
long start,
long limit)
Retrieves access keys (SSH public keys) for given repository
|
Page<MirrorServer> |
StashClient.getRepositoryMirrors(long repositoryId,
long start,
long limit)
Returns a page of mirrors for a repository.
|
Page<Tag> |
StashClient.getRepositoryTags(String projectKey,
String repositorySlug,
String query,
long start,
long limit)
Search for the tags for a specific repository
|
Page<User> |
StashClient.getUsers(String filterForUsername,
long start,
long limit)
Retrieve a List of users.
|
Copyright © 2020 Atlassian. All rights reserved.