forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.graphql
31 lines (30 loc) · 951 Bytes
/
dashboard.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
query getDashboard($urn: String!) {
dashboard(urn: $urn) {
...dashboardFields
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
}
}
}
mutation updateDashboard($urn: String!, $input: DashboardUpdateInput!) {
updateDashboard(urn: $urn, input: $input) {
urn
}
}