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 Leaders.
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 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events