mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-30 03:56:04 +00:00

Co-authored-by: John Joyce <john@Mac-2465.lan> Co-authored-by: John Joyce <john@Mac-1293.lan>
103 lines
2.2 KiB
GraphQL
103 lines
2.2 KiB
GraphQL
query getContainer($urn: String!) {
|
|
container(urn: $urn) {
|
|
urn
|
|
type
|
|
exists
|
|
lastIngested
|
|
platform {
|
|
...platformFields
|
|
}
|
|
properties {
|
|
name
|
|
qualifiedName
|
|
description
|
|
externalUrl
|
|
customProperties {
|
|
key
|
|
value
|
|
}
|
|
}
|
|
privileges {
|
|
...entityPrivileges
|
|
}
|
|
editableProperties {
|
|
description
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
tags {
|
|
...globalTagsFields
|
|
}
|
|
institutionalMemory {
|
|
...institutionalMemoryFields
|
|
}
|
|
glossaryTerms {
|
|
...glossaryTerms
|
|
}
|
|
subTypes {
|
|
typeNames
|
|
}
|
|
entities(input: { start: 0, count: 1 }) {
|
|
total
|
|
}
|
|
container {
|
|
...entityContainer
|
|
}
|
|
parentContainers {
|
|
...parentContainersFields
|
|
}
|
|
domain {
|
|
...entityDomain
|
|
}
|
|
...entityDataProduct
|
|
deprecation {
|
|
...deprecationFields
|
|
}
|
|
dataPlatformInstance {
|
|
...dataPlatformInstanceFields
|
|
}
|
|
status {
|
|
removed
|
|
}
|
|
access {
|
|
roles {
|
|
role {
|
|
urn
|
|
}
|
|
}
|
|
}
|
|
autoRenderAspects: aspects(input: { autoRenderOnly: true }) {
|
|
...autoRenderAspectFields
|
|
}
|
|
structuredProperties {
|
|
properties {
|
|
...structuredPropertiesFields
|
|
}
|
|
}
|
|
forms {
|
|
...formsFields
|
|
}
|
|
browsePathV2 {
|
|
...browsePathV2Fields
|
|
}
|
|
...notes
|
|
}
|
|
}
|
|
|
|
# We should replace this with a cached summary object on the container
|
|
query getContainerEntitySummary($urn: String!) {
|
|
aggregateAcrossEntities(
|
|
input: {
|
|
types: []
|
|
query: "*"
|
|
facets: ["_entityType␞typeNames", "_entityType"]
|
|
orFilters: [{ and: [{ field: "container", values: [$urn], value: $urn }] }]
|
|
}
|
|
) {
|
|
facets {
|
|
...facetFields
|
|
}
|
|
}
|
|
}
|