How to fetch space level permissions in confluence server?

I need to get permissions from a defined space using Confluence Server REST API.
I am aware of Cloud REST API, but I’m looking for a Server one.

Can anyone help with any workaround for fetching space level permissions?

Thanks