Project

General

Profile

action #114421

Updated by mkittler over 1 year ago

## Acceptance criteria 
 * **AC1:** Every query or API route mentioned in #113189 has a reasonable limit 
 * **AC2:** There is a way for users to get all the data, e.g. with pagination 
 * **AC3:** By default we still show a sensible number 

 ## Suggestions 
 * Add limit for easy endpoints, and split out the harder ones (multiple SQL queries, paging...) into separate tickets 
 * Wait for outcome of #111770 
 * Ensure there is a query parameter available to users to configure the number of results 
 * Ensure there is a server-side limit 
 * Add help text on the web UI (or documentation) 
 * Watch out for a combination of dbix and perl code filtering/ processing queries 
 * Allow users to get all data but each query limited 
 * Optional: UI elements to configure the limit directly 
 * As an example for introducing a limit, have a look at https://github.com/os-autoinst/openQA/commit/4242bb107e032c27d5f99c91a358adc9640f5ca6

Back