JumboCode / OCCUR

MIT License
2 stars 0 forks source link

Backend multicategory filter #54

Closed e-hat closed 3 years ago

e-hat commented 3 years ago

In response to #52.

The filter endpoint now accepts a query parameter for comma separated category names, for example: /api/v1/list/resource?category=COMM_GIVE,MENTAL_HEALTH

The endpoint will now return resources whose categories are in the given list.

If an invalid category is passed in this list, an error will be returned in order to match the previous behavior of the filter with a single category.

controversial commented 3 years ago

LGTM 👍