mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-05 15:57:58 +00:00
136 lines
3.0 KiB
GraphQL
136 lines
3.0 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
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
downstreamLineage {
|
|
...downstreamRelationshipFields
|
|
}
|
|
upstreamLineage {
|
|
...upstreamRelationshipFields
|
|
}
|
|
}
|
|
externalUrl
|
|
type
|
|
access
|
|
lastRefreshed
|
|
lastModified {
|
|
time
|
|
}
|
|
created {
|
|
time
|
|
}
|
|
customProperties {
|
|
key
|
|
value
|
|
}
|
|
}
|
|
query {
|
|
rawQuery
|
|
type
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
globalTags {
|
|
...globalTagsFields
|
|
}
|
|
downstreamLineage {
|
|
...downstreamRelationshipFields
|
|
}
|
|
upstreamLineage {
|
|
...upstreamRelationshipFields
|
|
}
|
|
editableProperties {
|
|
description
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation updateChart($urn: String!, $input: ChartUpdateInput!) {
|
|
updateChart(urn: $urn, input: $input) {
|
|
urn
|
|
type
|
|
tool
|
|
chartId
|
|
info {
|
|
name
|
|
description
|
|
inputs {
|
|
urn
|
|
name
|
|
origin
|
|
description
|
|
platform {
|
|
name
|
|
info {
|
|
logoUrl
|
|
}
|
|
}
|
|
platformNativeType
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
downstreamLineage {
|
|
...downstreamRelationshipFields
|
|
}
|
|
upstreamLineage {
|
|
...upstreamRelationshipFields
|
|
}
|
|
}
|
|
externalUrl
|
|
type
|
|
access
|
|
lastRefreshed
|
|
lastModified {
|
|
time
|
|
}
|
|
created {
|
|
time
|
|
}
|
|
customProperties {
|
|
key
|
|
value
|
|
}
|
|
}
|
|
query {
|
|
rawQuery
|
|
type
|
|
}
|
|
editableProperties {
|
|
description
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
globalTags {
|
|
...globalTagsFields
|
|
}
|
|
downstreamLineage {
|
|
...downstreamRelationshipFields
|
|
}
|
|
upstreamLineage {
|
|
...upstreamRelationshipFields
|
|
}
|
|
}
|
|
}
|