GET /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}
Returns the restictions on a piece of content for a given operation (read or update).
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 to be queried for its restrictions. |
operationKey |
String | Yes |
The operation type of the restrictions to be returned. Possible values:
|
Query parameters
Name | Type | Required | Description |
---|---|---|---|
limit |
Integer | No |
The maximum number of users and the maximum number of groups, in the returned restrictions, to return per page. Note, this may be restricted by fixed system limits. Default value: 100 |
expand[] |
Array | No |
A multi-value parameter indicating which properties of the content restrictions to expand.
|
start |
Integer | No |
The starting index of the users and groups in the returned restrictions. Default value: 0 |
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.