Project

General

Profile

Actions

Feature #38173

closed

Increase limit of entries in json/xml and, preferably, make it configurable

Added by Sergey Naumov almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

Currently there is a limit on how many entries could be returned by JSON/XML API in one batch - 100 entries. This limit is hardcoded in Redmine core. Such a low limit makes requests to Redmine to be affected by RTT + it could put more load on DB.

The question is why this limit it not set to at least 500 (the default value for number of entries exported via CSV export API). Could this limit be made configurable just like for CSV?


Related issues

Related to Redmine - Patch #16069: Allow configuration of API limit instead of hardcoding at 100New

Actions
Actions #1

Updated by Mike B almost 2 years ago

Yes, I agree, it would be great if it is possible to configure this value via GUI instead of be hardcoded in core code.
What is the reason to hardcode this value especially for JSON output?

Actions #2

Updated by Go MAEDA almost 2 years ago

  • Related to Patch #16069: Allow configuration of API limit instead of hardcoding at 100 added
Actions #3

Updated by Go MAEDA almost 2 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Closing as a duplicate of #16069.

Actions

Also available in: Atom PDF