@Path(value="images") @Produces(value="application/json") @Consumes(value="application/json") public interface ImageApi extends Closeable
Modifier and Type | Method and Description |
---|---|
Image |
createImage(Image.CreateImage image) |
Image |
delete(String imageId) |
Image |
get(String imageId) |
List<Image> |
list() |
List<Image> |
list(GenericQueryOptions options) |
Image |
update(String imageId,
Image.UpdateImage image) |
@Named(value="images:list") @GET List<Image> list(GenericQueryOptions options)
@Named(value="image:get") @GET @Path(value="/{imageId}") Image get(@PathParam(value="imageId") String imageId)
@Named(value="image:create") @POST Image createImage(Image.CreateImage image)
@Named(value="image:update") @PUT @Path(value="/{imageId}") Image update(@PathParam(value="imageId") String imageId, Image.UpdateImage image)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.