I am creating a service for which I want to fetch all the pages which have restriction "Only specific people can view and edit" set to it. I
tried this endpoint confluence_base_instance/rest/api/content/{id}/restriction but in this also there is no where explicitly specified that this is a restricted page. Is there any response value through which I can check it?
I want to do this for both confluence cloud and confluence data center.
Any help would be appreciated.
Welcome to the community @ruchimahajan !
Refer to this page: https://community.atlassian.com/t5/Confluence-questions/Provide-a-list-of-restricted-pages-across-my-Confluence-instance/qaq-p/2487632 and the Trudy's comment
After that, you can refer to this page: https://community.atlassian.com/t5/Confluence-questions/How-do-you-get-a-list-of-all-locked-pages/qaq-p/2265870
Hi Perisic
Thanks for sharing, but all these answers are asking to fetch the data from confluence db. But I don't have access to confluence db. I need some specific response parameter through which I can identify whether this page is a locked/restricted page or not?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ruchi,
Other than that documentation, sadly, your request cannot be fullfilled. Also you were saying about the confluence db. For this you would need a query, where you should be asking Atlassian to pull the data for you. Since the support for the support has ended, if you have a cloud instance, raise a support for the cloud but reference the problem that you are having and if it's possible to fetch the data that you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.