public List < Diff > getDiff ( Object projectIdOrPath , String sha ) throws GitLabApiException { Response response = get ( Response . Status . OK , null , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "repository" , "commits" , sha , "diff" ) ; return ( response . readEntity ( new GenericType < List < Diff > > ( ) { } ) ) ; }
Get the list of diffs of a commit in a project .