Get Notification
GraphQL endpoint: /user
A single notification of the current user's, by id — for resolving one already known by id rather than reading a list. Null when the id isn't the caller's, which reads the same as one that never existed.
kind says what happened and subjectId names what it happened to. subjectStatus is that subject's status as it stood when the notification was written, not as it stands now, so read the subject itself before acting on it. context carries any further id needed to reach the subject.
Query
query ($id: ID!) {
notification (id: $id) {
id
text
kind
subjectId
subjectStatus
context
status
}
}
Variables
Response
Last updated