The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Which hierarchy logic does the Confluence REST API ancestors expansion follow?

Deleted user
April 15, 2019

Assuming i use the following REST call:

https://<confluence-url>/its/rest/api/content/<page-id>?expand=ancestors

I receive a JSON list of pages - all the ancestors of my requested page.

It looks to me as the list entries 0 and 1 of the response are the same page - which logic does that follow? Why does the space-homepage show up twice?

 

br D

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Oliver Haubold
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 3, 2020

LoL got the same question now ... have to build another workaround ... thanks Atlassian.

TAGS
AUG Leaders

Atlassian Community Events