public ProjectHook getHook ( Object projectIdOrPath , Integer hookId ) throws GitLabApiException { Response response = get ( Response . Status . OK , null , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "hooks" , hookId ) ; return ( response . readEntity ( ProjectHook . class ) ) ; }
Get a specific hook for project .