public List < Project > getStarredProjects ( int page , int perPage ) throws GitLabApiException { Form formData = new GitLabApiForm ( ) . withParam ( "starred" , true ) . withParam ( PAGE_PARAM , page ) . withParam ( PER_PAGE_PARAM , perPage ) ; Response response = get ( Response . Status . OK , formData . asMap ( ) , "projects" ) ; return ( response . readEntity ( new GenericType < List < Project > > ( ) { } ) ) ; }
Get a list of projects starred by the authenticated user in the specified page range .