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

    Interface ReviewStatisticParameters

    Parameters that can be passed to the WaniKani API to filter a request for a Review Statistic Collection.

    interface ReviewStatisticParameters {
        hidden?: boolean;
        ids?: SafeInteger[];
        page_after_id?: SafeInteger;
        page_before_id?: SafeInteger;
        percentages_greater_than?: number;
        percentages_less_than?: number;
        subject_ids?: SafeInteger[];
        subject_types?: SubjectTuple;
        updated_after?: Date | DatableString;
    }

    Hierarchy (View Summary)

    Index

    Properties

    hidden?: boolean

    Return review statistics with a matching value in the hidden attribute.

    ids?: SafeInteger[]

    Only resources where data.id matches one of the array values are returned.

    page_after_id?: SafeInteger

    Get a collection's next page containing pages.per_page resources after the given ID.

    This will take precedence over page_before_id if both are specified.

    page_before_id?: SafeInteger

    Get a collection's previous page containing pages.per_page resources before the given ID.

    The page_after_id parameter takes precedence over this if it is specified alongside this parameter.

    percentages_greater_than?: number

    Return review statistics where the percentage_correct is greater than the value.

    percentages_less_than?: number

    Return review statistics where the percentage_correct is less than the value.

    subject_ids?: SafeInteger[]

    Only review statistics where data.subject_id matches one of the array values are returned.

    subject_types?: SubjectTuple

    Only review statistics where data.subject_type matches one of the array values are returned.

    updated_after?: Date | DatableString

    Only resources updated after this time are returned.