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

    Interface SubjectParameters

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

    interface SubjectParameters {
        hidden?: boolean;
        ids?: SafeInteger[];
        levels?: Level[];
        page_after_id?: SafeInteger;
        page_before_id?: SafeInteger;
        slugs?: string[];
        types?: SubjectTuple;
        updated_after?: Date | DatableString;
    }

    Hierarchy (View Summary)

    Index

    Properties

    hidden?: boolean

    Return subjects which are or are not hidden from the user-facing application.

    ids?: SafeInteger[]

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

    levels?: Level[]

    Return subjects at the specified levels.

    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.

    slugs?: string[]

    Return subjects of the specified slug.

    types?: SubjectTuple

    Return subjects of the specified types.

    updated_after?: Date | DatableString

    Only resources updated after this time are returned.