Interface CommitsApi


  • @Produces("application/json")
    @Path("/rest/api/{jclouds.api-version}/projects")
    public interface CommitsApi
    • Method Detail

      • get

        @Named("commits:get")
        @Consumes("application/json")
        @Path("/{project}/repos/{repo}/commits/{commitId}")
        @GET
        Commit get​(@PathParam("project")
                   String project,
                   @PathParam("repo")
                   String repo,
                   @PathParam("commitId")
                   String commitId,
                   @Nullable @QueryParam("path")
                   String path)
      • listChanges

        @Named("commits:list-changes")
        @Consumes("application/json")
        @Path("/{project}/repos/{repo}/commits/{commitId}/changes")
        @GET
        ChangePage listChanges​(@PathParam("project")
                               String project,
                               @PathParam("repo")
                               String repo,
                               @PathParam("commitId")
                               String commitId,
                               @Nullable @QueryParam("limit")
                               Integer limit,
                               @Nullable @QueryParam("start")
                               Integer start)
      • list

        @Named("commits:list")
        @Consumes("application/json")
        @Path("/{project}/repos/{repo}/commits")
        @GET
        CommitPage list​(@PathParam("project")
                        String project,
                        @PathParam("repo")
                        String repo,
                        @Nullable @QueryParam("withCounts")
                        Boolean withCounts,
                        @Nullable @QueryParam("followRenames")
                        Boolean followRenames,
                        @Nullable @QueryParam("ignoreMissing")
                        Boolean ignoreMissing,
                        @Nullable @QueryParam("merges")
                        String merges,
                        @Nullable @QueryParam("path")
                        String path,
                        @Nullable @QueryParam("since")
                        String since,
                        @Nullable @QueryParam("until")
                        String until,
                        @Nullable @QueryParam("limit")
                        Integer limit,
                        @Nullable @QueryParam("start")
                        Integer start)