![]() Todo items uses 3 different scopes, so using BookmarkedCollections we can paginate it. Test Plan: - As a teacher, with at least 10 assignments that need grading - Hit the todo items api with a per_page less than 10 - It should return pagination headers and using the next link should give you the rest of your todo items - As a student have more than 10 assignments that you need to submit in the next week - Hit the todo items api with a per_page less than 10 - It should return pagination headers and using the next link should give you the rest of your todo items - Have ungraded quizzes that you need to take as a student - Hit the todo items api with a per_page less than 10 and include[]=ungraded_quizzes - It should return pagination headers and using the next link should give you the rest of your todo items Change-Id: I725c2489d42e46f6b4165a3ac93ddc8fbb8b5faa Reviewed-on: https://gerrit.instructure.com/134699 Tested-by: Jenkins Reviewed-by: Cody Cutrer <cody@instructure.com> QA-Review: Heath Hales <hhales@instructure.com> Product-Review: Matthew Sessions <msessions@instructure.com> |
||
---|---|---|
.. | ||
lib | ||
spec | ||
Gemfile | ||
Rakefile | ||
bookmarked_collection.gemspec | ||
test.sh |