datahub/datahub-web-react/src/graphql/glossaryNode.graphql

58 lines
1.3 KiB
GraphQL
Raw Normal View History

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 {
...entityPrivileges
}
autoRenderAspects: aspects(input: { autoRenderOnly: true }) {
...autoRenderAspectFields
}
structuredProperties {
properties {
...structuredPropertiesFields
}
}
forms {
...formsFields
}
2024-06-21 11:03:56 -07:00
children: relationships(input: { types: ["IsPartOf"], direction: INCOMING, start: 0, count: 10000 }) {
total
relationships {
direction
entity {
type
urn
... on GlossaryNode {
...glossaryNode
}
... on GlossaryTerm {
...childGlossaryTerm
}
}
}
}
}
}