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

Retrieving security for a page via REST API's

Brian Mueller October 25, 2017

Hi,

 

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!

Brian

1 answer

0 votes
Ron Elazar November 1, 2017

as for part 1 :

use page restrictions api :   (GET)

<server>/rest/api/content/<page_id>/restriction/byOperation

replace <server> & <page_id> with your values

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events