With the changes done in #419 , we can easily extend the pagination and sorting functionality to /agencies and /data-request, so let's do that!
Requirements
Add pagination and sorting to the /agencies and /data-requestGET method
Tests
Integration tests for both endpoints should be left unchanged, and still pass.
Add additional middleware tests to ensure this functionality behaves as expected. Perhaps make Resources-Middleware level integration tests that imitate the various different query parameters.
Context
/agencies
and/data-request
, so let's do that!Requirements
/agencies
and /data-request
GET
methodTests
Docs
Open questions