OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

glossaryTerm api to list 1 level of children along with counts

Open chirag-madlani opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

  • Want to just query all the immediate children for glossary / terms along with respective childrenCount to list the glossary

API: /api/v1/glossaryTerms?parent=<PARENT_ID>&fields=childrenCount

[
  {
    id: SOME_ID,
    name: 'child-1',
    fullyQualifiedName: 'glossary-1.child-1',
    childrenCount: 2
  },
  {
    id: SOME_ID,
    name: 'child-2',
    fullyQualifiedName: 'glossary-1.child-2',
    childrenCount: 4
  },
  ....
]

chirag-madlani avatar Apr 25 '24 14:04 chirag-madlani