Is there a way that we can fetch the space admins in confluence data center by using the API's. I wanted to list of space admins who have used a particular macro.
If so, can you give me a solution on how to proceed with this
Hello @umashri
Not directly, you can use an endpoint from https://developer.atlassian.com/server/confluence/rest/v950/api-group-space-permissions/#api-rest-api-space-spacekey-permissions-get
and Get all space permissions for a specific space is the focus endpoint. There isn't an endpoint that can directly fetch this.
Another one is: https://developer.atlassian.com/server/confluence/rest/v950/api-group-space/#api-rest-api-space-spacekey-get
With this endpoint you would focus on "permissions" part of JSON.
Hello @umashri I want to clarify, that i understand you correclty.You want to display list of admins from Data Center that have used particular macro in Confluence Cloud?And what does used mean for you? Does that mean adding macro to page, or is it about particular admin opening page with that particular macro (aka render)?
Hi @Adriian Semotiuk _Wombats Corp_ , it goes like suppose i take up the table-of-contents macro used in around 1000+ pages across various spaces, so i wanted the list of space admins who have used this table-of-contents macro in their respective spaces.
Hi @Nikola Perisic , it goes like suppose i take up the table-of-contents macro used in around 1000+ pages across various spaces, so i wanted the list of space admins who have used this table-of-contents macro in their respective spaces.
But i am correct about that you want to display this information from DC in Cloud, right?
in DC itself i want to display
It looks like you're new here. Sign in or register to get started.