Roundup Tracker - Issues

Message8118

Author rouilj
Recipients rouilj
Date 2024-07-18.02:57:41
Message-id <1721271461.23.0.260353220415.issue2551315@roundup.psfhosted.org>
In-reply-to
This can be done using interfaces.py with:

  from roundup.rest import RestfulInstance
  RestfulInstance.max_response_row_size = 25

which limits the number of rows returned to 24 (one less than the setting).

With this in place:

   https://example.net/demo/rest/data/issue?@page_size=25

returns:

  {
    "error": {
        "status": 400,
        "msg": "Page size 25 must be less than admin limit on query result size: 25."
    }
  }

I think this is sufficient. I don't expect it to be used often. The default
limit is 10M rows.
History
Date User Action Args
2024-07-18 02:57:41rouiljsetmessageid: <1721271461.23.0.260353220415.issue2551315@roundup.psfhosted.org>
2024-07-18 02:57:41rouiljsetrecipients: + rouilj
2024-07-18 02:57:41rouiljlinkissue2551315 messages
2024-07-18 02:57:41rouiljcreate