@Path(value="/images") @Consumes(value="application/json") public interface ImageApi extends Closeable
ImageApi| Modifier and Type | Interface and Description |
|---|---|
static class |
ImageApi.ParseImages |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int id) |
Image |
get(int id) |
Image |
get(String slug) |
PagedIterable<Image> |
list() |
IterableWithMarker<Image> |
list(ImageListOptions options) |
@Named(value="image:list") @GET PagedIterable<Image> list()
@Named(value="image:list") @GET IterableWithMarker<Image> list(ImageListOptions options)
@Named(value="image:get")
@GET
@Path(value="/{id}")
@Nullable
Image get(@PathParam(value="id")
int id)
@Named(value="image:get")
@GET
@Path(value="/{slug}")
@Nullable
Image get(@PathParam(value="slug")
String slug)
@Named(value="image:delete")
@DELETE
@Path(value="/{id}")
void delete(@PathParam(value="id")
int id)
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.