v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Ancestors

Get all ancestors of page

Returns all ancestors for a given page by ID in top-to-bottom order (that is, the highest ancestor is the first item in the response payload). The number of results is limited by the limit parameter and additional results (if available) will be available by calling this endpoint with the ID of first ancestor in the response payload.

This endpoint returns minimal information about each ancestor. To fetch more details, use a related endpoint, such as Get page by id.

Permissions required: Permission to access the Confluence site ('Can use' global permission).

get/pages/{id}/ancestors

Path parameters

idinteger required

The ID of the page.

Query parameters

limitinteger

Maximum number of pages per result to return. If more results exist, call this endpoint with the highest ancestor's ID to fetch the next set of results.

Response

Returned if the requested ancestors are returned.