@bachman-dev/wanikani-api-types - v1.8.0
    Preparing search index...

    Interface WKReviewObjectWithAssignmentId

    The review object used in the request to create a new review via the WaniKani API by Assignment ID.

    interface WKReviewObjectWithAssignmentId {
        assignment_id: number;
        incorrect_meaning_answers: number;
        incorrect_reading_answers: number;
        created_at?: WKDatableString | Date;
        subject_id?: undefined;
    }

    Hierarchy

    • WKReviewObjectdBase
      • WKReviewObjectWithAssignmentId
    Index

    Properties

    assignment_id: number

    Unique identifier of the assignment. This or subject_id must be set.

    incorrect_meaning_answers: number

    Must be zero or a positive number. This is the number of times the meaning was answered incorrectly.

    incorrect_reading_answers: number

    Must be zero or a positive number. This is the number of times the reading was answered incorrectly. Note that subjects with a type of radical do not quiz on readings. Thus, set this value to 0.

    created_at?: WKDatableString | Date

    Timestamp when the review was completed. Defaults to the time of the request if omitted from the request body. Must be in the past, but after assignment.available_at.

    subject_id?: undefined

    The subject_id should not be set at the same time as assignment_id.