Call each function by its full path. A question mark marks an optional field.
mobile/v1/me:communityTerms
{
expectedTenantId?: string
}Response type
{
discussions: string
}mobile/v1/me:get
{
expectedTenantId?: string
}Response type
{
mobileApiVersion: string
user: {
userId: string
displayName: string | null
email: string | null
imageUrl: string | null
}
workspace: {
tenantId: string
displayName: string
hostname: string | null
}
role: "learner" | "teacher" | "manager" | "builder" | "admin"
capabilities: {
learning: boolean
community: boolean
notifications: boolean
messages: boolean
push: boolean
documents: boolean
directory: boolean
coachFeedback: boolean
}
terminology: {
profile: string
community: string
groups: string
messages: string
}
theme: {
source: "experience" | "theme" | "default"
preset: "porcelain" | "4kira_preview" | "northstar"
applicationName: string | null
defaultMode: "light" | "dark"
userMode: "light" | "dark" | null
colors: {
primary: string
onPrimary: string
surfaceTint: string
}
light: {
canvas: string
surface: string
ink: string
mutedInk: string
action: string
actionInk: string
tint: string
accent: string
accentInk: string
} | null
dark: {
canvas: string
surface: string
ink: string
mutedInk: string
action: string
actionInk: string
tint: string
accent: string
accentInk: string
} | null
headingFont: "system" | "serif" | null
}
}mobile/v1/me:selectWorkspace
{
tenantId: string
}Response type
{
tenantId: string
}mobile/v1/me:workspaces
{}Response type
{
workspaces: Array<{
tenantId: string
displayName: string | null
role: "learner" | "teacher" | "manager" | "builder" | "admin"
hostname: string | null
}>
}