@Path(value="/content/{id}/child/attachment")
public interface ContentIdChildAttachmentResource
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createAttachments(String id,
String status) |
javax.ws.rs.core.Response |
getAttachments(String id,
String expand,
Integer start,
Integer limit,
String filename,
String mediaType) |
javax.ws.rs.core.Response |
update(String attachmentId) |
javax.ws.rs.core.Response |
updateData(String attachmentId) |
@POST
@Produces(value="application/json")
javax.ws.rs.core.Response createAttachments(@PathParam(value="id")
String id,
@QueryParam(value="status") @DefaultValue(value="current")
String status)
@GET
@Produces(value="application/json")
javax.ws.rs.core.Response getAttachments(@PathParam(value="id")
String id,
@QueryParam(value="expand")
String expand,
@QueryParam(value="start")
Integer start,
@QueryParam(value="limit") @DefaultValue(value="50")
Integer limit,
@QueryParam(value="filename")
String filename,
@QueryParam(value="mediaType")
String mediaType)
@POST
@Produces(value="application/json")
@Path(value="/{attachmentId}/data")
javax.ws.rs.core.Response updateData(@PathParam(value="attachmentId")
String attachmentId)
@PUT
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="/{attachmentId}")
javax.ws.rs.core.Response update(@PathParam(value="attachmentId")
String attachmentId)
This work is licensed under a Creative Commons Attribution 4.0 International License.