@book000/pixivts - v0.64.0
    Preparing search index...

    Interface NovelRecommendedParams

    Parameters for fetching recommended novels.

    interface NovelRecommendedParams {
        filter?: "for_ios" | "for_android";
        maxBookmarkIdForRecommend?: number;
        offset?: number;
        viewed?: NovelViewedEntry[];
    }
    Index
    filter?: "for_ios" | "for_android"

    OS filter to apply (default: "for_ios").

    maxBookmarkIdForRecommend?: number

    Cursor for resuming pagination: the maxBookmarkIdForRecommend value extracted from a previous page's next_url via parseNextUrl.

    offset?: number

    Zero-based offset for pagination.

    viewed?: NovelViewedEntry[]

    View history to send with the request. When non-empty, the first page is fetched with POST and the history is serialised as paired view_novel_ids[] / view_novel_datetimes[] body fields; pagination via next_url still uses GET. Omit (or pass an empty array) to keep the plain GET request.

    Observed limits: GET fails with 414 at 100 pairs, while POST succeeds with 200 pairs and fails with 500 at 1000 pairs. Whether the history changes the recommendations is unproven.

    When a response interceptor such as the DB recorder is used, the history is stored as part of the recorded request body.