Class GitHubResource


  • @Singleton
    public class GitHubResource
    extends Object
    • Constructor Detail

      • GitHubResource

        public GitHubResource​(com.atlassian.sal.api.message.I18nResolver i18nResolver,
                              CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager)
    • Method Detail

      • getAvailableRepositories

        public javax.ws.rs.core.Response getAvailableRepositories​(@Context
                                                                  javax.ws.rs.core.UriInfo uriInfo,
                                                                  String username,
                                                                  RestRequest request)
        Parameters:
        uriInfo -
        username -
        Returns:
      • getBranches

        public javax.ws.rs.core.Response getBranches​(@Context
                                                     javax.ws.rs.core.UriInfo uriInfo,
                                                     String owner,
                                                     String name,
                                                     RestRequest request)
        Parameters:
        uriInfo -
        owner -
        Returns: