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

This widget could not be displayed.

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.

 

This widget could not be displayed.

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?

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

60 views 2 3
Join discussion

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