@bachman-dev/wanikani-api-types - v2.0.0
    Preparing search index...

    Interface CreatedReview

    A created review returned from the WaniKani API.

    interface CreatedReview {
        data: {
            assignment_id: number;
            created_at: DatableString;
            ending_srs_stage: SpacedRepetitionSystemStageNumber;
            incorrect_meaning_answers: number;
            incorrect_reading_answers: number;
            spaced_repetition_system_id: number;
            starting_srs_stage: SpacedRepetitionSystemStageNumber;
            subject_id: number;
        };
        data_updated_at: DatableString;
        id: number;
        object: "review";
        resources_updated: {
            assignment: Assignment;
            review_statistic: ReviewStatistic;
        };
        url: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    data: {
        assignment_id: number;
        created_at: DatableString;
        ending_srs_stage: SpacedRepetitionSystemStageNumber;
        incorrect_meaning_answers: number;
        incorrect_reading_answers: number;
        spaced_repetition_system_id: number;
        starting_srs_stage: SpacedRepetitionSystemStageNumber;
        subject_id: number;
    }

    Data for the returned review.

    Type declaration

    • assignment_id: number

      Unique identifier of the associated assignment.

    • created_at: DatableString

      Timestamp when the review was created.

    • ending_srs_stage: SpacedRepetitionSystemStageNumber

      The SRS stage interval calculated from the number of correct and incorrect answers, with valid values ranging from 1 to 9.

    • incorrect_meaning_answers: number

      The number of times the user has answered the meaning incorrectly.

    • incorrect_reading_answers: number

      The number of times the user has answered the reading incorrectly.

    • spaced_repetition_system_id: number

      Unique identifier of the associated spaced_repetition_system.

    • starting_srs_stage: SpacedRepetitionSystemStageNumber

      The starting SRS stage interval, with valid values ranging from 1 to 8.

    • subject_id: number

      Unique identifier of the associated subject.

    data_updated_at: DatableString

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

    id: number

    A unique number identifying the review.

    object: "review"

    The kind of object returned.

    resources_updated: { assignment: Assignment; review_statistic: ReviewStatistic }

    The resources updated alongside creating the review.

    Type declaration

    url: string

    The URL of the requested resource.