Help › Reference: every action › Actions that change something
Questions
question.create: Question. On the pages: Classwork ▸ Create. Parameters: {class: id, type: "shortAnswer"|"multipleChoice"|"checkboxes", title: string, choices?: [string]|"one per line", 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, studentsReply?: bool, studentsEdit?: bool, showSummary?: bool, closeAfterDue?: bool, attachments?: [{url, title?} | {file, name, size, mode?: "view"|"copy"}]}
question.answer: Turn in. On the pages: Question ▸ Your answer. Parameters: {class: id, post: id, answer?: string, answers?: [string]}
question.reply: Reply. On the pages: Question ▸ Class answers. Parameters: {class: id, post: id, student: id, text: string}
question.deleteReply: Delete reply. On the pages: Question ▸ Class answers. Parameters: {class: id, post: id, student: id, reply: id}