AlertRules
version : 0.0.0
stability : stable
Objects
AlertRule
Fields
| Name | Type | Description |
|---|---|---|
| id | ID! | The alert rule's identifier |
| login | String! | The alert rule's login name. |
| organization | Organization! | Owner organization. |
| account | Account! | Owner account. |
| owner | User! | Owner user. |
| name | String! | The alert rule's name. |
| createdAt | DateTime! | The alert rule's creation time |
| updatedAt | DateTime! | The alert rule's update time |
| violations | [Violation]! | The alert rule's violation |
AlertRuleEdge
Fields
| Name | Type | Description |
|---|---|---|
| cursor | ID! | - |
| node | AlertRule | - |
PageInfo
Information about type pagination in a connection. Fields
| Name | Type | Description |
|---|---|---|
| startCursor | ID | When paginating backwards, the cursor to continue. |
| endCursor | ID | When paginating forwards, the cursor to continue. |
| hasNextPage | Boolean! | When paginating forwards, are there more items? |
| hasPreviousPage | Boolean! | When paginating backwards, are there more items? |
AlertRuleConnection
Fields
| Name | Type | Description |
|---|---|---|
| edges | [AlertRuleEdge]! | - |
| nodes | [AlertRule]! | - |
| pageInfo | PageInfo! | - |
Queries
alertRule
Returns: AlertRule
Arguments
| Name | Type | Description |
|---|---|---|
| login | String! | - |
alertRules
Returns: AlertRuleConnection
Arguments
| Name | Type | Description |
|---|---|---|
| first | Int! | - |
| after | String | - |
Mutations
createAlertRule
Returns: AlertRule
Arguments
| Name | Type | Description |
|---|---|---|
| input | CreateAlertRuleMutationInput! | - |
updateAlertRule
Returns: AlertRule
Arguments
| Name | Type | Description |
|---|---|---|
| input | UpdateAlertRuleMutationInput! | - |
deleteAlertRule
Returns: AlertRule
Arguments
| Name | Type | Description |
|---|---|---|
| input | DeleteAlertRuleMutationInput! | - |
Inputs
CreateAlertRuleMutationInput
Fields
| Name | Type | Description | Default |
|---|---|---|---|
| name | ConstraintString | The alert rule's name. | - |
| violations | [String] | The alert rule's violations logins. | - |
UpdateAlertRuleMutationInput
Fields
| Name | Type | Description | Default |
|---|---|---|---|
| login | ConstraintString | The alert rule's login name. | - |
| name | ConstraintString | The alert rule's name. | - |
| violations | [String] | The alert rule's violations logins. | - |
DeleteAlertRuleMutationInput
Fields
| Name | Type | Description | Default |
|---|---|---|---|
| login | ConstraintString | The alert rule's login. | - |