Skip to main content

Notification

Web notifications can be pushed to users to notify them from actions in Kili.

type Notification {
_: Boolean
id: ID!
createdAt: DateTime!
hasBeenSeen: Boolean!
linkFollowed: Boolean!
linkLabel: String
linkPath: String
message: String!
progress: Int
status: NotificationStatus!
url: String!
userID: String!
}

Fields​

Notification._ ● Boolean scalar​

Notification.id ● ID! non-null scalar​

Notification.createdAt ● DateTime! non-null scalar​

Notification.hasBeenSeen ● Boolean! non-null scalar​

Notification.linkFollowed ● Boolean! non-null scalar​

Whether the user has already followed linkPath. The button is one-shot; the link is kept.

Notification.linkLabel ● String scalar​

Wording of the button that follows linkPath, e.g. "Update queue".

Notification.linkPath ● String scalar​

Relative in-app route the notification points back to, e.g. the queue a bulk action was launched from. Always built by the backend, never supplied by a client.

Notification.message ● String! non-null scalar​

Notification.progress ● Int scalar​

Notification.status ● NotificationStatus! non-null enum​

Notification.url ● String! non-null scalar​

Notification.userID ● String! non-null scalar​