Class BitbucketResource

java.lang.Object
com.atlassian.bamboo.plugins.bitbucket.rest.resource.BitbucketResource

@Path("bb") @Consumes({"application/xml","application/json"}) @Produces({"application/xml","application/json"}) @Singleton public class BitbucketResource extends Object
  • Constructor Details

  • Method Details

    • getAvailableRepositories

      @POST @Path("repositories") public javax.ws.rs.core.Response getAvailableRepositories(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
    • getRepository

      @POST @Path("repository") public javax.ws.rs.core.Response getRepository(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
    • getBranches

      @POST @Path("branches") public javax.ws.rs.core.Response getBranches(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
    • getBranch

      @POST @Path("branch") public javax.ws.rs.core.Response getBranch(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
    • getDefaultBranch

      @POST @Path("branches/default") public javax.ws.rs.core.Response getDefaultBranch(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
    • getWebhooks

      @POST @Path("webhooks") public javax.ws.rs.core.Response getWebhooks(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
    • createWebhook

      @POST @Path("webhooks/create") public javax.ws.rs.core.Response createWebhook(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
    • destroyWebhook

      @POST @Path("webhooks/destroy") public javax.ws.rs.core.Response destroyWebhook(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)