feat: increase MAX_LIMIT to 1000 for /plays/fielding/, /plays/batting/, /plays/pitching/ #111
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-database#111
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Increase the maximum allowed limit query parameter from the current DEFAULT_LIMIT/MAX_LIMIT to 1000 for the play-level stat endpoints: /api/v3/plays/fielding/, /api/v3/plays/batting/, /api/v3/plays/pitching/. These endpoints return individual play records which often need higher pagination limits for full-season queries. Other endpoints should keep their current limits.
PR #113 opened: #113
Changed
le=MAX_LIMIT(500) tole=1000in thelimitparameter for/plays/batting,/plays/fielding, and/plays/pitching. Also removed the now-unusedMAX_LIMITimport from each file. All other endpoints are unchanged.