public List < Project > getUserProjects ( Object userIdOrUsername , ProjectFilter filter , int page , int perPage ) throws GitLabApiException { GitLabApiForm formData = filter . getQueryParams ( page , perPage ) ; Response response = get ( Response . Status . OK , formData . asMap ( ) , "users" , getUserIdOrUsername ( userIdOrUsername ) , "projects" ) ; return ( response . readEntity ( new GenericType < List < Project > > ( ) { } ) ) ; }
Get a list of visible projects owned by the given user in the specified page range .