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
}
}
}