Skip to content

Unable to determine if there is a next page #9

@jluna

Description

@jluna

Related to issue #8.

As noted in #8, the API allows you to set a page and a limit via the params. However, the node library doesn't return the metadata from the response. It only returns the items.

That means there's no way to know if there's a next_page link (which appears in the metadata when there are more pages). So there's no way to know if there are more results to be gathered.

I suppose you could keep going to the next page until you get a 404, but that's not a great solution for obvious reasons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions