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
{'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
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can find everything in Confluence rest api docs:
- space perm - https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions/#api-spaces-id-permissions-get
- page restrictions - https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions/#api-group-content-restrictions
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.