@Path(value="/content/{id}/child")
public interface ContentIdChildResource
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
children(String id,
String expand,
Integer parentVersion) |
javax.ws.rs.core.Response |
childrenOfType(String id,
String type,
String expand,
Integer parentVersion,
Integer start,
Integer limit) |
javax.ws.rs.core.Response |
commentsOfContent(String id,
String expand,
Integer parentVersion,
Integer start,
Integer limit,
String location,
String depth) |
@GET
@Produces(value="application/json")
javax.ws.rs.core.Response children(@PathParam(value="id")
String id,
@QueryParam(value="expand")
String expand,
@QueryParam(value="parentVersion") @DefaultValue(value="0")
Integer parentVersion)
@GET
@Produces(value="application/json")
@Path(value="/{type}")
javax.ws.rs.core.Response childrenOfType(@PathParam(value="id")
String id,
@PathParam(value="type")
String type,
@QueryParam(value="expand")
String expand,
@QueryParam(value="parentVersion") @DefaultValue(value="0")
Integer parentVersion,
@QueryParam(value="start")
Integer start,
@QueryParam(value="limit") @DefaultValue(value="25")
Integer limit)
@GET
@Produces(value="application/json")
@Path(value="/comment")
javax.ws.rs.core.Response commentsOfContent(@PathParam(value="id")
String id,
@QueryParam(value="expand")
String expand,
@QueryParam(value="parentVersion") @DefaultValue(value="0")
Integer parentVersion,
@QueryParam(value="start")
Integer start,
@QueryParam(value="limit") @DefaultValue(value="25")
Integer limit,
@QueryParam(value="location")
String location,
@QueryParam(value="depth")
String depth)
This work is licensed under a Creative Commons Attribution 4.0 International License.