mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-28 11:59:54 +00:00
38 lines
1.0 KiB
GraphQL
38 lines
1.0 KiB
GraphQL
query getDashboard($urn: String!) {
|
|
dashboard(urn: $urn) {
|
|
urn
|
|
type
|
|
...dashboardFields
|
|
privileges {
|
|
...entityPrivileges
|
|
}
|
|
charts: relationships(input: { types: ["Contains"], direction: OUTGOING, start: 0, count: 100 }) {
|
|
...fullRelationshipResults
|
|
}
|
|
datasets: relationships(input: { types: ["Consumes"], direction: OUTGOING, start: 0, count: 100 }) {
|
|
...fullRelationshipResults
|
|
}
|
|
autoRenderAspects: aspects(input: { autoRenderOnly: true }) {
|
|
...autoRenderAspectFields
|
|
}
|
|
structuredProperties {
|
|
properties {
|
|
...structuredPropertiesFields
|
|
}
|
|
}
|
|
activeIncidents: incidents(start: 0, count: 1, state: ACTIVE) {
|
|
total
|
|
}
|
|
forms {
|
|
...formsFields
|
|
}
|
|
...notes
|
|
}
|
|
}
|
|
|
|
mutation updateDashboard($urn: String!, $input: DashboardUpdateInput!) {
|
|
updateDashboard(urn: $urn, input: $input) {
|
|
urn
|
|
}
|
|
}
|