Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Get a List of all Spaces and Pages in a Confluence instance

Hi,

I'm hoping there's an endpoint where I can get all spaces and pages (including all descendant pages) in a Confluence instance. Anyone know of any solutions or workarounds?

2 answers

3 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 17, 2022

@Jacque Haddenham welcome to the Atlassian community 

You can use the API as described in the older post.  https://community.atlassian.com/t5/Confluence-questions/How-can-I-create-a-list-of-all-spaces-and-pages-on-the-Company/qaq-p/1132105

The account you use needs to have access to all the spaces and pages in order to access them.

Yeah... I was hoping there might be a single endpoint rather than having to use a combination of those 2 (we have a lot of spaces, and I was hoping to avoid having to send a request to get pages for each one of those). :-\

Thanks though

2 votes
Ismael Jimoh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 17, 2022

If you are on Confluence cloud and an administrator then you can see all spaces in the space permission administrator section (other than private user spaces).

You can also try using Rest API as described here: https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/ to search for pages and spaces. Result would be in JSON.

Regards

unfortunately not list all spaces while all categories options and all spaces  options have been chosen 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events