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

    Interface WKReviewObjectWithSubjectId

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

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

    Hierarchy

    • WKReviewObjectdBase
      • WKReviewObjectWithSubjectId
    Index

    Properties

    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.

    subject_id: number

    Unique identifier of the subject. This or assignment_id must be set.

    assignment_id?: undefined

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

    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.