Call each function by its full path. A question mark marks an optional field.
mobile/v1/push:preferences
{
expectedTenantId?: string
}Response type
{
directMessages: boolean
replies: boolean
gradingReleased: boolean
assignments: boolean
adminBroadcasts: boolean
}mobile/v1/push:registerDevice
{
expectedTenantId?: string
token: string
platform: "ios" | "android"
appVersion?: string
deviceId?: string
}Response type
{
deviceId: string
registered: true
}mobile/v1/push:setPreferences
{
expectedTenantId?: string
directMessages?: boolean
replies?: boolean
gradingReleased?: boolean
assignments?: boolean
adminBroadcasts?: boolean
}Response type
{
directMessages: boolean
replies: boolean
gradingReleased: boolean
assignments: boolean
adminBroadcasts: boolean
}mobile/v1/push:unregisterDevice
{
expectedTenantId?: string
token: string
}Response type
{
unregistered: true
}