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.
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
It looks like you're new here. Sign in or register to get started.