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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can this be done via the REST API (or another API)?

This question is in reference to Atlassian Documentation: How to list which spaces a user can access

Ask your question here...

3 answers

1 accepted

0 votes
Answer accepted

You could achieve that using the Java API. At least that's what I'm working with.

Some classes that might help you there might be:

 

I never used the REST API but maybe this link might help you:

https://developer.atlassian.com/confdev/deprecated-apis/confluence-xml-rpc-and-soap-apis/remote-confluence-methods#RemoteConfluenceMethods-Permissions.1

This is a deprecated REST API  though, but it should still work.

 

What exactly do you mean?

You'll get the information using the shown SQL query. For that you need the permissions on the database server.

Do you want to display this information or what do you need the API for?

Yes, I do not have access to the database, so maybe displaying the result via some API is a solution.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence Cloud

Please tell us how you use Confluence space settings

Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with impro...

313 views 11 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you