Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get all the restricted pages from a space via api?

ruchimahajan March 5, 2024

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.

1 answer

1 accepted

0 votes
Answer accepted
Perisic Nikola
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2024
ruchimahajan March 5, 2024

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?

Perisic Nikola
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2024

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.

 

ruchimahajan March 5, 2024

okay, Thanks for the information Perisic.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events