Unable to filter and get only root level Glossary Terms
Affected module Does it impact the UI, backend or Ingestion Framework? - backend
Describe the bug Unable to get only list of Glossary Terms that do not have any parent
To Reproduce
- Hit API
/api/v1/glossaryTerms?glossary=<GLOSSARY_ID>&parent=null
Expected behavior Should have some way to filter out Glossary Terms that do not have any parent
Version:
- OS: [e.g. iOS]
- Python version:
- OpenMetadata version: [e.g. 0.8]
- OpenMetadata Ingestion package version: [e.g.
openmetadata-ingestion[docker]==XYZ]
Additional context None
@darth-coder00,
GET .../api/v1/glossary=GlossaryID
Gives all the terms in the entire glossary. Can you for now filter this on the UI and build a list of root terms where parent field is not present in the term that is returned. While it can be quickly fixed in the backend, doing it the right way is quire involved.
GET .../api/v1/glossary=GlossaryID&parent=parentID
This works to get terms that are children of glossary term identified by parentID and not at the root.
Let's keep this issue open to provide a way to support getting the root terms.
CC @harshach
@sureshms do we want to do this in this release?
@sureshms @harshach can I pick this up?