public List < GitlabProject > getProjectsWithPagination ( Pagination pagination ) throws IOException { StringBuilder tailUrl = new StringBuilder ( GitlabProject . URL ) ; if ( pagination != null ) { Query query = pagination . asQuery ( ) ; tailUrl . append ( query . toString ( ) ) ; } return Arrays . asList ( retrieve ( ) . method ( GET ) . to ( tailUrl . toString ( ) , GitlabProject [ ] . class ) ) ; }
Get a list of projects by pagination accessible by the authenticated user .