Skip to content

/v0/episodes offset 限制应该 -1 #242

@inchei

Description

@inchei

若 offset 超出限制,会返回 offset should be less than or equal to {限制数量}。这个限制数量目前是集数,但第一集是 0,所以正确的限制数量是 集数-1。
例:https://api.bgm.tv/v0/episodes?subject_id=454684&limit=1&offset=13 ,返回的 data 是空数组,因为不存在这一集。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions