GET /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}
Returns whether the specified content restriction applies to a group.
For example, if a page with id=123
has a read
restriction for the 123456
group id,
the following request will return true
:
/wiki/rest/api/content/123/restriction/byOperation/read/byGroupId/123456
Note that a response of true
does not guarantee that the group can view the page, as it does not account for
account-inherited restrictions, space permissions, or even product access. For more
information, see Confluence permissions.
Permissions required: Permission to view the content.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The ID of the content that the restriction applies to. |
groupId |
String | Yes |
The id of the group to be queried for whether the content restriction applies to it. |
operationKey |
String | Yes |
The operation that the restriction applies to. Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.