Submission Submitted
The submission.submitted event is triggered when a student submits their work for an assignment.
Event Properties
Section titled “Event Properties”| Property | Type | Description |
|---|---|---|
| id | string | Unique identifier for the submission (UUID) |
| state | string | Current state of the submission (submitted) |
| title | string | Title of the submission |
| content | string | Text content of the submission |
| submitted_at | string | Timestamp when the student submitted |
| checked_at | string | Timestamp when grading was completed (absent until completed) |
| created_at | string | Timestamp when the submission was created |
| updated_at | string | Timestamp when the submission was last updated |
| assignment | object | The assignment being submitted to (id, name, course_id) |
| student | object | The submitting student (id, name, email) |
Example Payload
Section titled “Example Payload”All timestamps are in ISO 8601 format and include a timezone offset (e.g. +08:00). Properties with empty values are omitted from the payload.
{ "type": "submission.submitted", "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "state": "submitted", "title": "My Week 1 Homework", "content": "Here is my answer to the exercises...", "submitted_at": "2024-03-22T10:30:00+08:00", "created_at": "2024-03-22T10:29:00+08:00", "updated_at": "2024-03-22T10:30:00+08:00", "assignment": { "id": "660e8400-e29b-41d4-a716-446655440111", "name": "Week 1 Homework", "course_id": "770e8400-e29b-41d4-a716-446655440222" }, "student": { "id": "880e8400-e29b-41d4-a716-446655440333", "name": "Test Student", "email": "student@example.com" } }}