nschutz
Community Contributor

See multiple pages of responses in Postman

Jump to solution

Does anyone know how to view more than 1 page of responses in Postman? For example, if I run a canvas API request that retrieves a paginated list, like a list of assignments, Postman will only show the 1st page in the body, it appears. I searched the documentation of Postman but no luck. I also tried Send and Download when running the request, but it still only sends 1 page of responses.

Labels (2)
1 Solution
dgrobani
Community Champion

This page is a good resource: Pagination - Canvas LMS REST API Documentation.

Also, searching the community for "pagination" will yield several discussions that might be useful.

View solution in original post

2 Replies
wjlane
Community Participant

I'm not sure about retrieving more than 1 page in one api but you can specify which page to load (and how many to load per page) by appending the appropriate parameters to the request url like so : &page=2&per_page=50

https://some.instructure.com/api/v1/users/5/courses/0000/assignments?access_token=XXXXXX&page=2&per_...

dgrobani
Community Champion

This page is a good resource: Pagination - Canvas LMS REST API Documentation.

Also, searching the community for "pagination" will yield several discussions that might be useful.