action flat_get_submission_history { label: "Get the history of the submission" description: "For teachers only. Returns a detailed history of the submission. This currently includes state and grade histories.\n" provider: flat method: GET path: "/classes/{class}/assignments/{assignment}/submissions/{submission}/history" encoding: json output: { type: "array" items: { type: "object" description: "History item of the submission" properties: { attachment: { type: "object" properties: { revision: { type: "string" description: "The revision identifier that changed" } score: { type: "string" description: "The score identifier that changed" } } } date: { type: "string" format: "date-time" description: "The date when the submission was changed" } draftGrade: { type: "number" description: "The numerator of the grade at this time in the submission grade history" } grade: { type: "number" description: "The numerator of the grade at this time in the submission grade history" } maxPoints: { type: "number" description: "The denominator of the grade at this time in the submission grade history" } state: { type: "string" description: "State of the submission" enum: ["created", "turnedIn", "returned"] } users: { type: "array" description: "The user(s) unique identifier(s) who made the change" items: { type: "string" } } } } } }