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

Accepted Answer
0 votes

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
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

44 views 2 4
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you