Closed ricardogsilva closed 6 years ago
This PR is connected to #15 It fixes the category filter parameter in two ways:
category
Multiple categories can be specified by adding the category={cat} multiple times, as in the following example:
category={cat}
/gfdrr_det/api/v1/exposures/?category=road_network&category=buildings
An error message is thrown in case an invalid category is selected:
http://10.0.1.95:8000/gfdrr_det/api/v1/exposures/?category=dummy
This PR is connected to #15 It fixes the
category
filter parameter in two ways:Multiple categories can be specified by adding the
category={cat}
multiple times, as in the following example:An error message is thrown in case an invalid category is selected: