sensors.AFRICA-api icon indicating copy to clipboard operation
sensors.AFRICA-api copied to clipboard

Update/api_views: data endpoint

Open gideonmaina opened this issue 3 months ago • 6 comments

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 name choices and country name choices.

  • [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.
  • [x] This change requires a documentation update

Screenshots

Screenshot 2025-08-21 at 13 15 53 Screenshot 2025-08-21 at 13 13 20 Screenshot 2025-08-21 at 13 16 30

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code

gideonmaina avatar Aug 21 '25 10:08 gideonmaina