How to get space and page level permission from confluence cloud through rest api

Sachin Somannavar March 1, 2024

Want to see in space level who all have what kind of access and on page level who all have what kind of access through rest api call

3 answers

0 votes
Sachin Somannavar March 1, 2024
{'results': [{'operation': 'read', 'restrictions': {'user': {'results': [], 'start': 0, 'limit': 100, 'size': 0}, 'group': {'results': [], 'start': 0, 'limit': 100, 'size': 0}}

getting empty list in results , what do we need to do here

 

0 votes
Sachin Somannavar March 1, 2024

looking for endpoint , by hitting can I get a space level access information like which user has what permission on space level and  which user has what all permission on page level , need to maintain this metadata , through rest api I am building this solution , have tried this all endpoint 

#url = f'https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id}'
#url = f'https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id}/restriction/byOperation'
#url = f'https://api.atlassian.com/ex/confluence/cloudid/rest/api/user'
#url = f'https://api.atlassian.com/ex/confluence/cloudid/rest/api/space/freshworks?expand=permissions'
#url = f'https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id}?expand=permissions'
#url = f'https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id}/permission/check'

0 votes
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 1, 2024
Sachin Somannavar March 1, 2024

Thanks Seba , will check this and get back to you on this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events