public GitlabAward createAward ( GitlabIssue issue , Integer noteId , String awardName ) throws IOException { Query query = new Query ( ) . append ( "name" , awardName ) ; String tailUrl = GitlabProject . URL + "/" + issue . getProjectId ( ) + GitlabIssue . URL + "/" + issue . getId ( ) + GitlabNote . URL + noteId + GitlabAward . URL + query . toString ( ) ; return dispatch ( ) . to ( tailUrl , GitlabAward . class ) ; }
Create an award for an issue note