@Path(value="/content/{id}/restriction")
public interface ContentIdRestrictionResource
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
byOperation(String id,
String expand) |
javax.ws.rs.core.Response |
forOperation(String operationKey,
String id,
String expand,
Integer start,
Integer limit) |
@GET
@Produces(value="application/json")
@Path(value="/byOperation/{operationKey}")
javax.ws.rs.core.Response forOperation(@PathParam(value="operationKey")
String operationKey,
@PathParam(value="id")
String id,
@QueryParam(value="expand") @DefaultValue(value="restrictions.user,restrictions.group")
String expand,
@QueryParam(value="start")
Integer start,
@QueryParam(value="limit") @DefaultValue(value="100")
Integer limit)
@GET
@Produces(value="application/json")
@Path(value="/byOperation")
javax.ws.rs.core.Response byOperation(@PathParam(value="id")
String id,
@QueryParam(value="expand") @DefaultValue(value="update.restrictions.user,read.restrictions.group,read.restrictions.user,update.restrictions.group")
String expand)
This work is licensed under a Creative Commons Attribution 4.0 International License.