Category list api is broken when using user name in request
Open, HighPublic

Description

The khotnewstuff_upload test case from the knewstuff library cannot list categories with specified usernames (see https://bugs.kde.org/show_bug.cgi?id=398037).

It turned out that when searching for entries for a particular username, the corresponding API appeared to be broken as shown with the following example:

https://api.kde-look.org/ocs/v1/content/data?categories=339&distribution=&license=&user=xxxxxx&search=&sortmode=high&page=0&pagesize=10

Regardless of whether entries exist for the user or not, the request should return a valid status code, which does not happen.

In the opposite https://api.kde-look.org/ocs/v1/content/data?categories=339&distribution=&license=&search=&sortmode=high&page=0&pagesize=10 return a status code (and the list)

habacker triaged this task as High priority.Dec 13 2018, 12:44 PM

Are there any plans to fix the api ?