Skip to content

Implement pagination on the /resources page #104

Closed
@lpatmo

Description

@lpatmo

Context

At the moment, we're returning all resources on the /resources page.

When we make a GET request to /resources, the response looks something like:

{
    "count": 46,
    "next": "http://localhost:8000/api/v1/resources/?page=2",
    "previous": null,
    "results": [
        {
            "guid": "4e85dbb6-d519-11ea-a622-0242ac130002",
            "author": "",
            "title": "asldfkjadsf",
            "description": "",

Acceptance criteria

[ ] Implement pagination -- the user should be able to click on "next" or "previous" to go to the next or previous pages.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions