projectAlerts(projectReference: ID!, status: [AlertStatus!], sortOrder: AlertSortOrder, limit: Int, cursor: String): ProjectAlertPage!
Requires project.logs.read.
Arguments
Response
Returns ProjectAlertPage!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
query ProjectAlerts($projectReference: ID!, $status: [AlertStatus!], $sortOrder: AlertSortOrder, $limit: Int, $cursor: String) {
projectAlerts(projectReference: $projectReference, status: $status, sortOrder: $sortOrder, limit: $limit, cursor: $cursor) {
data {
id
status
errorCode
resolvedAt
ruleId
}
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
}
}{
"projectReference": "00000000-0000-4000-8000-000000000001"
}