I can get a list of permissions from the Confluence REST API (using PythonConfluenceAPI):
p = api.get_space_information(space_key, expand=“permissions”)[‘permissions’]
I get a list of dictionaries, with information about operations and subjects. But there are mismatches between the information from the API, and the permissions displayed in Confluence:
- There are operations in the API that are not in the browser (update blogpost).
- There are operations in the browser that are not in the API (space export, space admin, mail delete).
- There are entries in the API list that have no operation specified at all, and these entries are often duplicated appear multiple times.
What I really want to get is a list of space admins. I’m hoping someone can explain these permission structures the API is giving me.