Skip to content

Get around the 50 page limit in the JSON:API Drupal module

Notifications You must be signed in to change notification settings

manafire/jsonapi_custom_limit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This module exists to get around the 50 page limit defined in the JSON API Drupal module by extending the EntityResource service and overriding a couple of classes and functions. There are plenty of valid points on why you would want to do this and why you shouldn't. See this discussion.

To use: Simply change SIZE_MAX in src/Query/CustomOffsetPage.php to whatever you'd like. I've set it to 500 here since I'm using the API internally.

In the future, may want to add this as a configurable option in the UI.

About

Get around the 50 page limit in the JSON:API Drupal module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages