Interface DefaultReviewersApi


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

      • listConditions

        @Named("default-reviewers:list-conditions")
        @Consumes("application/json")
        @Path("/{project}/repos/{repo}/conditions")
        @GET
        List<Condition> listConditions​(@PathParam("project")
                                       String project,
                                       @PathParam("repo")
                                       String repo)
      • createCondition

        @Named("default-reviewers:create-condition")
        @Consumes("application/json")
        @Path("/{project}/repos/{repo}/condition")
        @POST
        Condition createCondition​(@PathParam("project")
                                  String project,
                                  @PathParam("repo")
                                  String repo,
                                  CreateCondition condition)
      • updateCondition

        @Named("default-reviewers:update-condition")
        @Consumes("application/json")
        @Path("/{project}/repos/{repo}/condition/{id}")
        @PUT
        Condition updateCondition​(@PathParam("project")
                                  String project,
                                  @PathParam("repo")
                                  String repo,
                                  @PathParam("id")
                                  long id,
                                  CreateCondition condition)
      • deleteCondition

        @Named("default-reviewers:delete-condition")
        @Consumes("application/json")
        @Path("/{project}/repos/{repo}/condition/{id}")
        @DELETE
        RequestStatus deleteCondition​(@PathParam("project")
                                      String project,
                                      @PathParam("repo")
                                      String repo,
                                      @PathParam("id")
                                      long id)