> +@Consumes(MediaType.APPLICATION_JSON)
> +@Produces(MediaType.APPLICATION_JSON)
> +@RequestFilters({ ServiceKeyAuthentication.class })
> +@Path("/api/servicekeys")
> +public interface ServiceKeysApi {
> +
> + @Named("servicekeys:list")
> + @GET
> + List<ServiceKey> listServiceKeys();
> +
> + @Named("servicekeys:create")
> + @POST
> + ServiceKey createServiceKey(@WrapWith("description") String description);
> +
> + @Named("servicekeys:delete")
> + @Fallback(VoidOnServiceKeyNotFoundAnd500.class)
Fair enough. I was just following the API here and since it returns nothing I
did as well. Easy enough to implement the boolean value.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/149/files#r26269775