jolly-traffic-67085
07/22/2022, 4:08 AMjolly-traffic-67085
07/22/2022, 4:19 AM{
search(input: {type: GLOSSARY_TERM,query:"*", filters:{field: "glossaryNode",value: "urn:li:glossaryNode:184d95df-a2b5-4479-a1b3-2cbd952a4325"}}
){
searchResults{
entity{
urn
type
... on GlossaryTerm{
urn
schemaMetadata{
datasetUrn
fields{
fieldPath
description
}
}
}
}
matchedFields{
name
value
}
}
}
}
bulky-soccer-26729
07/22/2022, 3:07 PMglossaryNode
field on a glossary term. There could be a couple of ways to do this, but what we do through the UI in order to get all the terms underneath a node is to go through the node and get all its children. You could use this query and pass in the urn of the parent node you care about
query getGlossaryNode($urn: String!) {
glossaryNode(urn: $urn) {
children: relationships(
input: {
types: ["IsPartOf"]
direction: INCOMING
start: 0
count: 1000
}
) {
relationships {
entity {
urn
type
... on GlossaryNode {
properties {
name
}
}
... on GlossaryTerm {
properties {
name
}
}
}
}
}
}
}
bulky-soccer-26729
07/22/2022, 3:07 PMjolly-traffic-67085
07/23/2022, 1:48 PMbig-carpet-38439
07/25/2022, 10:33 PM