Call each function by its full path. A question mark marks an optional field.
mobile/v1/documents:beginUpload
{
expectedTenantId?: string
}Response type
{
uploadUrl: string
}mobile/v1/documents:coachFeedback
{
expectedTenantId?: string
clientOpId: string
messageId: string
message: string
rating: "up" | "down" | "report"
note?: string
source?: string
}Response type
{
clientOpId: string
ok: true
feedbackId: string
replayed: boolean
}mobile/v1/documents:coachNotes
{
expectedTenantId?: string
}Response type
{
notes: Array<{
noteId: string
authorName: string
body: string
courseId: string | null
activityId: string | null
documentId: string | null
createdAt: string
}>
}mobile/v1/documents:deleteDocument
{
expectedTenantId?: string
documentId: string
}Response type
{
documentId: string
deleted: true
}mobile/v1/documents:myDocuments
{
expectedTenantId?: string
}Response type
{
documents: Array<{
documentId: string
title: string
fileName: string
mimeType: string | null
sizeBytes: number | null
createdAt: string
}>
upload: {
maxBytes: number
mimeTypes: Array<string>
}
}mobile/v1/documents:openDocument
{
expectedTenantId?: string
documentId: string
}Response type
{
documentId: string
url: string
fileName: string
mimeType: string | null
}mobile/v1/documents:saveDocument
{
expectedTenantId?: string
clientOpId: string
storageId: string
title: string
fileName: string
}Response type
{
clientOpId: string
document: {
documentId: string
title: string
fileName: string
mimeType: string | null
sizeBytes: number | null
createdAt: string
}
replayed: boolean
}