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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,978
Community Members
 
Community Events
176
Community Groups

Get Permissions of all files or pages using REST api

I have the lastest Confluence Server and want to get the Permissions of Files or Pages using REST API. I want to see all users and their related permission on every page or file. Please help me.

I tried to find API to get Permission. I didn't get till now.


1 answer

1 accepted

0 votes
Answer accepted
DPKJ Community Leader May 03, 2020

@Mahesh_Kumar_Yadav  Do check out this API - https://docs.atlassian.com/ConfluenceServer/rest/7.3.5/#api/content/{id}/restriction

Make sure you check all expand parameters!

I am testing using it.

image.png

DPKJ Community Leader May 04, 2020

@Mahesh_Kumar_Yadav  Can you please elaborate on response you got, if you are admin you must get some JSON response in result.

I have tried this API multiple time and it is working fine on my instance.

Yes, it's working fine, below my output.

 

image.png

This will give you the restrictions only at the page level, the space level permissions and parent page level permissions will be ignored, Am I correct ?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events