The endpoint GET /api/tree/{containerDomainType}/{catalogueItemDomainType}/{catalogueItemId}/ancestors only works on catalogue/model items e.g. Data Models or child items of a model. It does not work on container types like Folder or VersionedFolder.
There should still be some way of getting the ancestors of containers to be able to build a tree item hierarchy up from a selected folder. This is required in the UI to be able to trace the full path of every item type, including containers.
Description
Required for:
The endpoint
GET /api/tree/{containerDomainType}/{catalogueItemDomainType}/{catalogueItemId}/ancestors
only works on catalogue/model items e.g. Data Models or child items of a model. It does not work on container types likeFolder
orVersionedFolder
.There should still be some way of getting the ancestors of containers to be able to build a tree item hierarchy up from a selected folder. This is required in the UI to be able to trace the full path of every item type, including containers.