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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But i am correct about that you want to display this information from DC in Cloud, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, I saw tags for Confluence Cloud. You used wrong ones, if this question is DC related.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So you mean something like this table with each space and each admin who have used ToC macro on which page?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.