Limit Parameter Behavior in KDE Neon App Store API
0 reputation · 06 Dec 2024, 18:39 UTC
What is the maximum value that the "limit" query parameter can accept for a single request to the KDE Neon App Store API before the server enforces a lower bound or returns an error?
The API documentation confirms that a "limit" value can be supplied to bound the number of results per page and that pagination is supported via a "page" or cursor token. However, the maximum permissible limit is not documented, and it is unclear how the server responds when a request exceeds an internal threshold.
Specifically, if a client requests a very large limit (e.g., 10,000), does the API:
• truncate the result set to an internal maximum,
• return an error indicating the limit is too high,
• or silently adjust the limit to a default value?
Additionally, what is the recommended safe default limit to use in client applications to avoid potential throttling or unexpected responses?