Help › Reference: every action › Actions that change something
Classwork
work.create: Assignment. On the pages: Classwork ▸ Create. Parameters: {class: id, title: string, instructions?: string, points?: number|"ungraded", due?: "YYYY-MM-DD[THH:MM]"|ms, topic?: id, category?: id, period?: id, students?: [id], groups?: [id], alsoTo?: [id], draft?: bool, schedule?: "YYYY-MM-DD[THH:MM]"|ms, rubric?: id, closeAfterDue?: bool, attachments?: [{url, title?} | {file, name, size, mode?: "view"|"copy"} | {sim}]}
material.create: Material. On the pages: Classwork ▸ Create. Parameters: {class: id, title: string, description?: string, topic?: id, students?: [id], groups?: [id], alsoTo?: [id], draft?: bool, schedule?: "YYYY-MM-DD[THH:MM]"|ms, attachments?: [{url, title?} | {file, name, size, mode?: "view"}]}
work.move: Move up or down. On the pages: Classwork. Parameters: {class: id, post: id, up?: bool, top?: bool}
work.update: Save. On the pages: Classwork. Parameters: {class: id, post: id, title?: string, instructions?: string, description?: string, points?: number|"ungraded", due?: "YYYY-MM-DD[THH:MM]"|ms|"", topic?: id|"", category?: id|"", period?: id|"", students?: [id], groups?: [id], choices?: [string]|"one per line", studentsReply?: bool, studentsEdit?: bool, showSummary?: bool, showResults?: bool, allowFiles?: bool, shuffleQuestions?: bool, closeAfterDue?: bool}
work.publish: Assign. On the pages: Classwork. Parameters: {class: id, post: id, alsoTo?: [id], schedule?: "YYYY-MM-DD[THH:MM]"|ms}
work.markReviewed: Mark as reviewed. On the pages: To-do ▸ To review. Parameters: {class: id, post: id, reviewed?: bool}
work.attach: Add. On the pages: Assignment ▸ Edit ▸ Add. Parameters: {class: id, post: id, url?: string, title?: string, file?: string, name?: string, size?: number, mode?: "view"|"copy", sim?: string, note?: string}
work.detach: Remove attachment. On the pages: Assignment ▸ Edit. Parameters: {class: id, post: id, attachment: id}
work.updateAttachment: Change attachment. On the pages: Assignment ▸ Edit. Parameters: {class: id, post: id, attachment: id, note?: string, up?: bool}
work.addReview: Add something to review. On the pages: Assignment ▸ Edit ▸ To review. Parameters: {class: id, post: id, question?: id, skill?: id, url?: string, title?: string, file?: string, name?: string, size?: number, attachment?: id, note?: string}
work.removeReview: Remove from To review. On the pages: Assignment ▸ Edit ▸ To review. Parameters: {class: id, post: id, review: id}