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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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 we get a tree structure of a confluence page via API call

Hi Team,

I am using confluence API to get data from pages . I can read them with page ids and space key . However i am not sure how to proceed with below 2 points .


1. Since pages has tables ,i am using ?expand=body.view to read HTML and parsing it accordingly . Now may has link to different page but its a URL not page id (for ex : ending with confluence/x/zGwCPTQ\). How can i recursively get data from pages(Page id) . Can we get page id using API ? 

1. Tree structure of any page ? Parent child relationship etc . I can see in response it gives main home page url not direct relationship among pages.

Any kind of help would be highly appreciated .

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

Get to know the Confluence team!

Go “behind the screen” to meet some of the Confluence Cloud team. In this video series, we tackle some of the hard-hitting questions you never knew you wanted the answer to!  Meet some of the ...

236 views 0 10
Read article

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