jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 skeleton and bucket ops (#270)
Date Wed, 25 May 2016 22:32:13 GMT
> +import org.jclouds.rest.annotations.MapBinder;
> +import org.jclouds.rest.annotations.PayloadParam;
> +import org.jclouds.rest.annotations.PayloadParams;
> +import org.jclouds.rest.annotations.RequestFilters;
> +import org.jclouds.rest.binders.BindToJsonPayload;
> +
> +@RequestFilters(RequestAuthorization.class)
> +@BlobScope(CONTAINER)
> +public interface BucketApi {
> +   @Named("b2_create_bucket")
> +   @POST
> +   @Path("/b2api/v1/b2_create_bucket")
> +   @MapBinder(BindToJsonPayload.class)
> +   @PayloadParams(keys = {"accountId"}, values = {"{jclouds.identity}"})
> +   @Consumes(APPLICATION_JSON)
> +   @Produces(APPLICATION_JSON)

Done.

---
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/270/files/03ae2f5286f0feaaa7f66a03e3b037897a95d668#r64665027
Mime
View raw message