Most API modules that take a limit let you use "max" for the limit, which automatically gives you the most results you can get based on whether you have apihighlimits or not. (example: https://en.wikipedia.org/w/api.php?action=query&list=allusers&aulimit=max)
When trying this with the echo API, you get a warning saying "notlimit may not be less than 1 (set to 0)" (https://en.wikipedia.org/w/api.php?action=query&meta=notifications&format=jsonfm¬limit=max)
Version: unspecified
Severity: normal
URL: https://en.wikipedia.org/w/api.php?action=query&meta=notifications&format=jsonfm¬limit=max