The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Better practice ? Api Calls to confluence

Kai Krause
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 8, 2025

Hi, 
i want to get of all permissions from all spaces from confluence.  

first i call all spaces with 

 

{base_url}/wiki/api/v2/spaces ,
then i get for every space the permission via 

 

{base_url}/wiki/api/v2/spaces/{space_id}/permissions
and then for every group or user the name via 

 

{base_url}/wiki/rest/api/user or 

 

{base_url}/wiki/rest/api/group/by-id

That are many apicalls to do that , I think i didnt see the simple solution to get the names from one earlyer call. So i cant save the time to call the naming apis. 

any ideas ? 


BR
Kai 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Brant Schroeder
Community Champion
May 22, 2025

@Kai Krause I believe that there are some apps that simplify this.  I think CLI from appfire can help.   There might be others but you would have to check the Atlassian marketplace. Using the API calls does require you to hit multiple APIs to get everything back.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events