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
Accepted answer

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
Published Thursday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

228 views 3 7
Read article

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