Admin API / Types
Notification
ObjectAn event addressed to the caller.
Requires a client key with one of these scopes:admin:account:readThe requirement applies to every field of Notification unless that field declares its own scopes.
type Notification implements NodeFields
| Field | Type | Description |
|---|---|---|
actor | User | The person whose action caused the event. Null for system events and when the person does not resolve. |
amount | Money | The offer, bid or winning amount at the time of the event. Null for other types. |
createdAt | DateTime! | When the event happened. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
isUnread | Boolean! | True when the notification is newer than Viewer.notificationsSeenAt, or that value is null. |
message | String! | A one-line English summary. It names people by username only. |
subject | NotificationSubject | The object the event is about. Null when it no longer exists, when the caller cannot read it, or when its type has no subject type yet, such as SUBSCRIPTION_STARTED. Each member type applies its own client scope. |
type | NotificationType! | The kind of event. Treat an unknown value as a generic notification and show message. |