Interface CompareApi


  • @Produces("application/json")
    @Path("/rest")
    public interface CompareApi
    • Method Detail

      • changes

        @Named("compare:changes")
        @Consumes("application/json")
        @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/compare/changes")
        @GET
        ChangePage changes​(@PathParam("project")
                           String project,
                           @PathParam("repo")
                           String repo,
                           @Nullable @QueryParam("from")
                           String fromRef,
                           @Nullable @QueryParam("to")
                           String toRef,
                           @Nullable @QueryParam("fromRepo")
                           String fromRepo,
                           @Nullable @QueryParam("start")
                           Integer start,
                           @Nullable @QueryParam("limit")
                           Integer limit)
      • commits

        @Named("compare:commits")
        @Consumes("application/json")
        @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/compare/commits")
        @GET
        CommitPage commits​(@PathParam("project")
                           String project,
                           @PathParam("repo")
                           String repo,
                           @Nullable @QueryParam("from")
                           String fromRef,
                           @Nullable @QueryParam("to")
                           String toRef,
                           @Nullable @QueryParam("fromRepo")
                           String fromRepo,
                           @Nullable @QueryParam("start")
                           Integer start,
                           @Nullable @QueryParam("limit")
                           Integer limit)