public List < Package > getPackages ( Object projectIdOrPath , int page , int perPage ) throws GitLabApiException { Response response = get ( Response . Status . OK , getPageQueryParams ( page , perPage ) , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "packages" ) ; return response . readEntity ( new GenericType < List < Package > > ( ) { } ) ; }
Get a list of project packages for the specified page . Both Maven and NPM packages are included in results . When accessed without authentication only packages of public projects are returned .