able-evening-90828
01/24/2023, 10:43 PMquery childGlossaryTerms {
searchAcrossEntities(input: {
types: [GLOSSARY_TERM],
query: "",
orFilters: {
and: {
field: "parentNodes",
values: ["urn:li:glossaryNode:data-type"],
}
}
}) {
searchResults {
entity {
urn
type
}
}
}
}able-evening-90828
01/24/2023, 10:43 PMand: {
field: "parentNodes.nodes[0].urn",
values: ["urn:li:glossaryNode:data-type"],able-evening-90828
01/24/2023, 10:44 PMquery getGlossaryTerm {
glossaryTerm(urn: "urn:li:glossaryTerm:email") {
urn
parentNodes {
count,
nodes {
urn
type
parentNodes {
count,
nodes {
urn,
type
}
}
}
}
}
}
Response:
{
"data": {
"glossaryTerm": {
"urn": "urn:li:glossaryTerm:email",
"parentNodes": {
"count": 1,
"nodes": [
{
"urn": "urn:li:glossaryNode:data-type",
"type": "GLOSSARY_NODE",
"parentNodes": {
"count": 0,
"nodes": []
}
}
]
}
}
},
"extensions": {}
}big-carpet-38439
01/25/2023, 6:07 PMbig-carpet-38439
01/25/2023, 6:07 PMbig-carpet-38439
01/25/2023, 6:08 PMquery getGlossaryNode($urn: String!) {
glossaryNode(urn: $urn) {
urn
children: relationships(
input: {
types: ["IsPartOf"]
direction: INCOMING
start: 0
count: 10000
}
) {
total
relationships {
direction
entity {
type
urn
... on GlossaryNode {
... glossary node fields
}
... on GlossaryTerm {
... glossary term fields
}
}
}
}
}
}big-carpet-38439
01/25/2023, 6:09 PMable-evening-90828
01/25/2023, 6:25 PM