> +   UploadUrlResponse getUploadUrl(@PayloadParam("bucketId") String bucketId);
> +
> +   @Named("b2_upload_file")
> +   @POST
> +   @MapBinder(UploadFileBinder.class)
> +   @Consumes(APPLICATION_JSON)
> +   UploadFileResponse uploadFile(@PayloadParam("uploadUrl") 
> UploadUrlResponse uploadUrl, @PayloadParam("b2Object") B2Object b2Object);
> +
> +   @Named("b2_delete_file_version")
> +   @POST
> +   @Path("/b2api/v1/b2_delete_file_version")
> +   @MapBinder(BindToJsonPayload.class)
> +   @RequestFilters(RequestAuthorization.class)
> +   @Consumes(APPLICATION_JSON)
> +   @Produces(APPLICATION_JSON)
> +   DeleteFileResponse deleteFileVersion(@PayloadParam("fileName") String 
> fileName, @PayloadParam("fileId") String fileId);

I changed `ParseB2ErrorFromJsonContent` to throw `KeyNotFoundException` -- what 
do you think?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/276/files/d27eef19e1ef39d560170786aa7a9ef1f711b71b#r66383342

Reply via email to