Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Java API to fetch user spaces

Dishant Sharma January 1, 2023

I want to make a plugin that can fetch spaces that a user can access. I just want to know the Java APIs that I have to use in order to fetch the user spaces. 

1 answer

1 vote
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2023

Hi @Dishant Sharma ,

you can use SpaceManager (https://docs.atlassian.com/ConfluenceServer/javadoc/7.12.0/com/atlassian/confluence/spaces/SpaceManager.html) to fetch spaces and personal spaces. 

Moreover, you can find some useful api for user using SpacePermissionManager Api (https://docs.atlassian.com/atlassian-confluence/6.2.1/com/atlassian/confluence/security/SpacePermissionManager.html)

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events