public Project starProject ( Object projectIdOrPath ) throws GitLabApiException { Response . Status expectedStatus = ( isApiVersion ( ApiVersion . V3 ) ? Response . Status . OK : Response . Status . CREATED ) ; Response response = post ( expectedStatus , ( Form ) null , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "star" ) ; return ( response . readEntity ( Project . class ) ) ; }
Star a project .