public List < Epic > getEpics ( Object groupIdOrPath , Integer authorId , String labels , EpicOrderBy orderBy , SortOrder sortOrder , String search , int page , int perPage ) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm ( page , perPage ) . withParam ( "author_id" , authorId ) . withParam ( "labels" , labels ) . withParam ( "order_by" , orderBy ) . withParam ( "sort" , sortOrder ) . withParam ( "search" , search ) ; Response response = get ( Response . Status . OK , formData . asMap ( ) , "groups" , getGroupIdOrPath ( groupIdOrPath ) , "epics" ) ; return ( response . readEntity ( new GenericType < List < Epic > > ( ) { } ) ) ; }
Gets all epics of the requested group and its subgroups using the specified page and per page setting .