Project

General

Profile

action #102551

Updated by okurz almost 2 years ago

## Observation 

 When a nonexisting groupid is passed to **api/v1/jobs/overview**, openQA returns the same results as if no groupid was given 

 e.g. https://openqa.suse.de/api/v1/jobs/overview?groupid=9999 

 The expected result would be an empty set, because no jobs match the given criteria. 

 ## Steps to reproduce 

 ~~~ 
 curl https://openqa.suse.de/api/v1/jobs/overview?groupid=9999 
 ~~~ 

 ## Problem 

 When specifying a concrete parameter like **groupid**, openQA should return only results that match those parameters explicitly. 

 ## Suggestion 

 If parameters are explicitly given, openQA should return only results that match those parameters. 

 ## Further details 
 entrance level issue 

 ## Workaround 

 None

Back