I know there is a rest endpoint to check if a user can read/update an existing page: https://developer.atlassian.com/cloud/confluence/rest/api-group-content-permissions/.
However what I want to know if a specific user can add a new page to a space. I couldn't find a rest endpoint for that. I know that I can list permissions for a space by calling /wiki/rest/api/space?expand=permissions. But that only gives me a view of the permissions I would then need to make sense of them manually (cross reference groups etc.). This seems error prone to me.
Is there an easier way that I am unaware of?