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

46 lines
1.1 KiB
GraphQL
Raw Normal View History

query getGlossaryTerm($urn: String!, $start: Int, $count: Int) {
glossaryTerm(urn: $urn) {
urn
type
name
hierarchicalName
isRealtedTerms: relationships(types: ["IsA"], direction: OUTGOING, start: $start, count: $count) {
start
count
total
relationships {
entity {
... on GlossaryTerm {
urn
}
}
}
}
hasRealtedTerms: relationships(types: ["HasA"], direction: OUTGOING, start: $start, count: $count) {
start
count
total
relationships {
entity {
... on GlossaryTerm {
urn
}
}
}
}
ownership {
...ownershipFields
}
glossaryTermInfo {
definition
termSource
sourceRef
sourceUrl
customProperties {
key
value
}
}
}
}