Assignments contain information about a user's progress on a particular subject, including their current state and timestamps for various progress milestones. Assignments are created when a user has passed all the components of the given subject and the assignment is at or below their current level for the first time.

interface WKAssignment {
    data: WKAssignmentData;
    data_updated_at: WKDatableString;
    id: number;
    object: "assignment";
    url: string;
    code?: undefined;
    error?: undefined;
}

Hierarchy (view full)

Properties

Date for the returned assignment.

data_updated_at: WKDatableString

For a resource, this is the last time that particular resource was updated.

id: number

A unique number identifying the assignment.

object: "assignment"

The kind of object returned.

url: string

The URL of the requested resource.

code?: undefined

A resource will never have a code property.

error?: undefined

A resource will never have an error property.