Retrieving security for a page via REST API's



I'm trying to write some code to index the different pages / sites within Confluence.  Using the rest api's seems like the most logical path.  As part of this, I need to be able to do the following:


1. Find out all users / groups who are either allowed to view the page or not allowed to view

2. Be able to identify when the security for a page has changed, to then flag the page for re-indexation


I'd like to use the REST API's to do this, but I don't see any way for either of these tasks, based off the documentation / examples.


Thanks in advance!


1 answer

as for part 1 :

use page restrictions api :   (GET)


replace <server> & <page_id> with your values

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

346 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you