kartoza / miniSASS

miniSASS website for GroundTruth
http://kartoza.github.io/miniSASS/
GNU General Public License v3.0
2 stars 8 forks source link

patch: create seperate serializers for sites and observations #1058

Closed tinashechiraya closed 1 month ago

tinashechiraya commented 1 month ago

The existing serializers return combined data for sites and observations as this is the expected result on the frontend however for this API the data requires a better structure which is why i have created these additional serialzers so that the output structure matches the one requested by the client

sites_with_observations_api

example usage: '/sites-with-observations/?start_date=2023-03-13'

lgkgh commented 1 month ago

Jenkins Build Details:

Build status: SUCCESS Build duration: 16 min