Get restrictions by operation
GET {{baseUrl}}/api/content/:id/restriction/byOperation?expand=<string>&expand=<string>
Returns restrictions on a piece of content by operation. This method is similar to Get restrictions except that the operations are properties of the return object, rather than items in a results array.
Permissions required: Permission to view the content.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
expand | string | A multi-value parameter indicating which properties of the content | |
| restrictions to expand. |
-
restrictions.userreturns the piece of content that the restrictions are applied to. Expanded by default. -
restrictions.groupreturns the piece of content that the restrictions are applied to. Expanded by default. -
contentreturns the piece of content that the restrictions are applied to. | |expand| string | | A multi-value parameter indicating which properties of the content restrictions to expand. -
restrictions.userreturns the piece of content that the restrictions are applied to. Expanded by default. -
restrictions.groupreturns the piece of content that the restrictions are applied to. Expanded by default. -
contentreturns the piece of content that the restrictions are applied to. |
RESPONSES
status: OK
{"_links":{}}