kids-first / kf-api-dataservice

:file_cabinet: Primary API for interacting with the Kids First data
http://kf-api-dataservice.kidsfirstdrc.org
Apache License 2.0
5 stars 2 forks source link

🔧 Increase max and default page limits #629

Closed znatty22 closed 1 year ago

znatty22 commented 1 year ago

Motivation

The kf-api-study-creator API often queries the Dataservice when it syncs studies between Dataservice and itself. Unfortunately there is a bug in study creator where it only ever requests the first 100 studies since this is the maximum # of resources you can fetch in a single request.

Additionally, several other API consumers have long been requesting the maximum page size be increased from 100 to something larger so that they can send less requests.

Approach