Call each function by its full path. A question mark marks an optional field.
mobile/v1/notifications:destination
{
expectedTenantId?: string
notificationId: string
}Response type
null | {
kind: "grade" | "lesson"
courseId: string
enrollmentId: string
activityId?: string
} | {
kind: "conversation"
threadId: string
} | {
kind: "practice"
occurrenceId: string
}mobile/v1/notifications:list
{
expectedTenantId?: string
}Response type
{
notifications: Array<{
notificationId: string
title: string
body: string
status: "unread" | "read"
deliveredAt: string
}>
}mobile/v1/notifications:markRead
{
expectedTenantId?: string
notificationId: string
}Response type
{
status: "read"
}