@Path(value="/content/{id}/property")
public interface ContentIdPropertyResource
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(String id) |
javax.ws.rs.core.Response |
create2(String id,
String key) |
javax.ws.rs.core.Response |
deleteKey(String id,
String key) |
javax.ws.rs.core.Response |
findAll(String id,
String expand,
Integer start,
Integer limit) |
javax.ws.rs.core.Response |
findByKey(String id,
String key,
String expand) |
javax.ws.rs.core.Response |
update(String id,
String key) |
@GET
@Produces(value="application/json")
javax.ws.rs.core.Response findAll(@PathParam(value="id")
String id,
@QueryParam(value="expand")
String expand,
@QueryParam(value="start")
Integer start,
@QueryParam(value="limit") @DefaultValue(value="10")
Integer limit)
@POST
@Consumes(value="application/json")
@Produces(value="application/json")
javax.ws.rs.core.Response create(@PathParam(value="id")
String id)
@GET
@Produces(value="application/json")
@Path(value="/{key}")
javax.ws.rs.core.Response findByKey(@PathParam(value="id")
String id,
@PathParam(value="key")
String key,
@QueryParam(value="expand")
String expand)
@PUT
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="/{key}")
javax.ws.rs.core.Response update(@PathParam(value="id")
String id,
@PathParam(value="key")
String key)
@DELETE
@Produces(value="application/json")
@Path(value="/{key}")
javax.ws.rs.core.Response deleteKey(@PathParam(value="id")
String id,
@PathParam(value="key")
String key)
This work is licensed under a Creative Commons Attribution 4.0 International License.