Interface BucketApi


  • @Consumes("application/json")
    @Produces("application/json")
    public interface BucketApi
    • Method Detail

      • createBucket

        @Named("b2_create_bucket")
        @POST
        @Path("/b2api/v2/b2_create_bucket")
        Bucket createBucket​(String bucketName,
                            BucketType bucketType)
      • deleteBucket

        @Named("b2_delete_bucket")
        @POST
        @Path("/b2api/v2/b2_delete_bucket")
        Bucket deleteBucket​(String bucketId)
      • updateBucket

        @Named("b2_update_bucket")
        @POST
        @Path("/b2api/v2/b2_update_bucket")
        Bucket updateBucket​(String bucketId,
                            BucketType bucketType)
      • listBuckets

        @Named("b2_list_buckets")
        @POST
        @Path("/b2api/v2/b2_list_buckets")
        BucketList listBuckets()