Interface ImageApi
-
- All Superinterfaces:
AutoCloseable
,Closeable
@Path("/images") @Consumes("application/json") public interface ImageApi extends Closeable
Provides access to Images via the REST API.- See Also:
- ,
ImageApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ImageApi.ParseImages
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(int id)
Image
get(int id)
Image
get(String slug)
PagedIterable<Image>
list()
IterableWithMarker<Image>
list(ImageListOptions options)
-
-
-
Method Detail
-
list
@Named("image:list") @GET PagedIterable<Image> list()
-
list
@Named("image:list") @GET IterableWithMarker<Image> list(ImageListOptions options)
-
delete
@Named("image:delete") @DELETE @Path("/{id}") void delete(@PathParam("id") int id)
-
-