Skip to content

Assignment Updated

The assignment.updated event is triggered when an existing assignment is modified. The payload shape is identical to assignment.created.

PropertyTypeDescription
idstringUnique identifier for the assignment (UUID)
namestringName of the assignment
descriptionstringDescription of the assignment
publishedbooleanIndicates whether the assignment is published
due_atstringDue date of the assignment (may be absent)
created_atstringTimestamp when the assignment was created
updated_atstringTimestamp when the assignment was last updated
courseobjectThe course this assignment belongs to (id, name, slug)

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": "assignment.updated",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Week 1 Homework (extended deadline)",
"description": "Complete the exercises from chapter 1.",
"published": true,
"due_at": "2024-04-04T13:45:30+08:00",
"created_at": "2024-03-21T13:45:30+08:00",
"updated_at": "2024-03-25T09:00:00+08:00",
"course": {
"id": "660e8400-e29b-41d4-a716-446655440111",
"name": "Introduction to Programming",
"slug": "intro-to-programming"
}
}
}