Convert category dropdown to pull data from API #262
Labels
enhancement
New feature or request
Hackathon
Issues we think could be tackled during a Hackathon
Up for grabs
Anyone can offer to take on these tickets
Milestone
What we need to code
Create a REST API call to get the categories from https://nccovid.vizioz.com/api/v1/resource/settings
HTTP GET https://nccovid.vizioz.com/api/v1/resource/settings
Use the data returned to populate the category selection dropdown.
The data returned is in JSON format, and returns an object containing both a category list (including subcategories) and a regions list. Only the categories are to be used now.
Additional context
The documentation for the API can be found at https://github.com/Vizioz/CovidSupport/blob/master/documentation.md
The text was updated successfully, but these errors were encountered: