134 lines
3.1 KiB
GraphQL
Raw Normal View History

fragment incidentsFields on EntityIncidentsResult {
start
count
total
incidents {
urn
type
incidentType
customType
title
description
startedAt
status {
state
stage
message
lastUpdated {
time
actor
}
}
source {
type
source {
...assertionDetails
}
}
created {
time
actor
}
tags {
...globalTagsFields
}
priority
assignees {
... on CorpUser {
urn
type
username
status
properties {
displayName
}
}
}
linkedAssets: relationships(
input: { types: ["IncidentOn"], direction: OUTGOING, start: 0, count: 1000, includeSoftDelete: false }
) {
relationships {
entity {
...entityPreview
}
}
}
}
}
fragment datasetSiblingIncidents on Dataset {
siblings {
isPrimary
siblings {
urn
type
... on Dataset {
incidents(start: $start, count: $count, state: $state) {
...incidentsFields
}
}
}
}
2025-01-29 20:42:01 -05:00
siblingsSearch(input: { query: "*", count: 5 }) {
count
total
searchResults {
entity {
urn
type
... on Dataset {
incidents(start: $start, count: $count, state: $state) {
...incidentsFields
}
}
}
}
}
}
query getEntityIncidents($urn: String!, $start: Int!, $count: Int!, $state: IncidentState) {
entity(urn: $urn) {
... on Dataset {
incidents(start: $start, count: $count, state: $state) {
...incidentsFields
}
...datasetSiblingIncidents
2025-01-29 20:42:01 -05:00
privileges {
canEditIncidents
}
}
... on DataJob {
incidents(start: $start, count: $count, state: $state) {
...incidentsFields
}
2025-01-29 20:42:01 -05:00
privileges {
canEditIncidents
}
}
... on DataFlow {
incidents(start: $start, count: $count, state: $state) {
...incidentsFields
}
2025-01-29 20:42:01 -05:00
privileges {
canEditIncidents
}
}
... on Dashboard {
incidents(start: $start, count: $count, state: $state) {
...incidentsFields
}
2025-01-29 20:42:01 -05:00
privileges {
canEditIncidents
}
}
... on Chart {
incidents(start: $start, count: $count, state: $state) {
...incidentsFields
}
2025-01-29 20:42:01 -05:00
privileges {
canEditIncidents
}
}
}
2024-06-21 11:03:56 -07:00
}