sensors.AFRICA-api
sensors.AFRICA-api copied to clipboard
Update/api_views: data endpoint
Description
Update the /data endpoint by adding more filtering options and omitting unnecessary data
Type of change
-
[x] New feature (non-breaking change which adds functionality)
-
Add filtering options by
node uid,node owner,sensor type namechoices andcountry namechoices. -
[x] Breaking change (fix or feature that would cause existing functionality not to work as expected)
- Remove filtering by
sensor id: this approach is cumbersome as it requires tracking sensors by their PKs. A node uid is sufficient for the user and further filtering can be done by sensor types inside the node.
- Remove filtering by
-
[x] This change requires a documentation update
Screenshots
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code