v1
latestOpenAPI 3.0.32026-07-13218142597.2 KBGet all ancestors of folder
Returns all ancestors for a given folder 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 folder by id.
Permissions required: Permission to access the Confluence site ('Can use' global permission). Permission to view the folder and its corresponding space
Path parameters
The ID of the folder.
Query parameters
Maximum number of items per result to return. If more results exist, call the endpoint with the highest ancestor's ID to fetch the next set of results.
Response
Returned if the requested ancestors are returned.