@Singleton public class GitHubResource extends Object
Constructor and Description |
---|
GitHubResource(com.atlassian.sal.api.message.I18nResolver i18nResolver,
CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getAvailableRepositories(javax.ws.rs.core.UriInfo uriInfo,
String username,
RestRequest request) |
javax.ws.rs.core.Response |
getBranches(javax.ws.rs.core.UriInfo uriInfo,
String owner,
String name,
RestRequest request) |
public GitHubResource(com.atlassian.sal.api.message.I18nResolver i18nResolver, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager)
public javax.ws.rs.core.Response getAvailableRepositories(@Context javax.ws.rs.core.UriInfo uriInfo, String username, RestRequest request)
uriInfo
- username
- public javax.ws.rs.core.Response getBranches(@Context javax.ws.rs.core.UriInfo uriInfo, String owner, String name, RestRequest request)
uriInfo
- owner
- Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.