Which api of confluence permission is? I want to get the authorized user or group in the page, how can I get this data?
Hi @apathytz , just checing Confluence Java API and it looks like there are quite useful methods which can be invoked on Page (https://docs.atlassian.com/ConfluenceServer/javadoc/7.10.1/com/atlassian/confluence/pages/Page.html) object, like:
Is there a similar interface for rest api?
I think you can use this endpoint : https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-api-content-get and you can use expand attribute to require permissions info. So for getting read restrictions for users and groups, it can be like:
thank you very much. This API is for obtaining page permissions. Is there an API for obtaining space permissions? For example, I want to get a certain space, who can create or delete documents, etc.
It looks like you're new here. Sign in or register to get started.