Interface LikesApi
-
@Produces("application/json") @Path("/rest/comment-likes/{jclouds.api-version}/projects") public interface LikesApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LikePagegetLikes(String project, String repo, int pullRequestId, int commentId)RequestStatuslikeComment(String project, String repo, int pullRequestId, int commentId)RequestStatusunlikeComment(String project, String repo, int pullRequestId, int commentId)
-
-
-
Method Detail
-
getLikes
@Named("comments:getLikes") @Consumes("application/json") @Path("/{project}/repos/{repo}/pull-requests/{pullRequestId}/comments/{commentId}/likes") @GET LikePage getLikes(@PathParam("project") String project, @PathParam("repo") String repo, @PathParam("pullRequestId") int pullRequestId, @PathParam("commentId") int commentId)
-
likeComment
@Named("comments:likeComment") @Consumes("application/json") @Path("/{project}/repos/{repo}/pull-requests/{pullRequestId}/comments/{commentId}/likes") @POST RequestStatus likeComment(@PathParam("project") String project, @PathParam("repo") String repo, @PathParam("pullRequestId") int pullRequestId, @PathParam("commentId") int commentId)
-
unlikeComment
@Named("comments:unlikeComment") @Consumes("application/json") @Path("/{project}/repos/{repo}/pull-requests/{pullRequestId}/comments/{commentId}/likes") @DELETE RequestStatus unlikeComment(@PathParam("project") String project, @PathParam("repo") String repo, @PathParam("pullRequestId") int pullRequestId, @PathParam("commentId") int commentId)
-
-