Skip to content

Paginated Data*-type models don't contain pagination info #6

Description

@mirrorcult

Changing pagination options is still possible, I just didnt think this would be useful. SRC API says it looks like this (https://github.com/speedruncomorg/api/blob/master/version1/pagination.md):

{
  "data": [<etc>, <etc>, <etc>],
  "pagination": {
    "offset": 20,
    "max": 30,
    "size": 30,
    "links": [{
      "rel": "next",
      "uri": "https://www.speedrun.com/api/v1/[etc]?max=30&offset=50"
    }, {
      "rel": "prev",
      "uri": "https://www.speedrun.com/api/v1/[etc]?max=30"
    }]
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions