mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-05 15:57:58 +00:00
116 lines
2.4 KiB
GraphQL
116 lines
2.4 KiB
GraphQL
query getChart($urn: String!) {
|
|
chart(urn: $urn) {
|
|
urn
|
|
type
|
|
tool
|
|
chartId
|
|
info {
|
|
name
|
|
description
|
|
inputs {
|
|
urn
|
|
name
|
|
origin
|
|
description
|
|
platform {
|
|
name
|
|
info {
|
|
logoUrl
|
|
}
|
|
}
|
|
platformNativeType
|
|
tags
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
downstreamLineage {
|
|
downstreams {
|
|
type
|
|
dataset {
|
|
urn
|
|
}
|
|
}
|
|
}
|
|
upstreamLineage {
|
|
upstreams {
|
|
type
|
|
dataset {
|
|
urn
|
|
}
|
|
}
|
|
}
|
|
}
|
|
url
|
|
type
|
|
access
|
|
lastRefreshed
|
|
lastModified {
|
|
time
|
|
}
|
|
created {
|
|
time
|
|
}
|
|
}
|
|
query {
|
|
rawQuery
|
|
type
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
globalTags {
|
|
...globalTagsFields
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation updateChart($input: ChartUpdateInput!) {
|
|
updateChart(input: $input) {
|
|
urn
|
|
type
|
|
tool
|
|
chartId
|
|
info {
|
|
name
|
|
description
|
|
inputs {
|
|
urn
|
|
name
|
|
origin
|
|
description
|
|
platform {
|
|
name
|
|
info {
|
|
logoUrl
|
|
}
|
|
}
|
|
platformNativeType
|
|
tags
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
}
|
|
url
|
|
type
|
|
access
|
|
lastRefreshed
|
|
lastModified {
|
|
time
|
|
}
|
|
created {
|
|
time
|
|
}
|
|
}
|
|
query {
|
|
rawQuery
|
|
type
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
globalTags {
|
|
...globalTagsFields
|
|
}
|
|
}
|
|
}
|