mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-24 17:18:02 +00:00
55 lines
1.1 KiB
GraphQL
55 lines
1.1 KiB
GraphQL
fragment childGlossaryTerm on GlossaryTerm {
|
|
urn
|
|
type
|
|
name
|
|
hierarchicalName
|
|
properties {
|
|
name
|
|
}
|
|
}
|
|
|
|
query getGlossaryNode($urn: String!) {
|
|
glossaryNode(urn: $urn) {
|
|
urn
|
|
type
|
|
exists
|
|
properties {
|
|
name
|
|
description
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
parentNodes {
|
|
...parentNodesFields
|
|
}
|
|
privileges {
|
|
canManageEntity
|
|
canManageChildren
|
|
}
|
|
children: relationships(
|
|
input: {
|
|
types: ["IsPartOf"]
|
|
direction: INCOMING
|
|
start: 0
|
|
count: 10000
|
|
}
|
|
) {
|
|
total
|
|
relationships {
|
|
direction
|
|
entity {
|
|
type
|
|
urn
|
|
... on GlossaryNode {
|
|
...glossaryNode
|
|
}
|
|
... on GlossaryTerm {
|
|
...childGlossaryTerm
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|