Thanks @sam
As it stands:
- Empty search is a dead spot in the API
- Search endpoint accepts a search term but also metadata arguments (user, categories, tags, etc.)
- Metadata arguments are not documented in the API
- Front-end validates the search correctly, but back-end API validates it partially (allowing empty search to go through)
- Response message should be descriptive in any case
I hope this overview helps.
IMO this a bug. I’d be surprised if this is the intended behavior.
Thanks anyway ![]()