naturerobots / HSOS-SEP-PlantMap-2022

PlantMap Digital Logbook: A tool to support sustainable micro farming :link: https://naturerobots.github.io/HSOS-SEP-PlantMap-2022/
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

Api endpoint: Corrections and suggestions #130

Closed dobro929 closed 2 years ago

dobro929 commented 2 years ago

API Endpoint (companies//gardens//beds//plants) doesn't work in the current dev branch. The method getPlants needs the variable bed_id. Suggestion: getPlants(request, company_id: string, garden_id: string, bed_id: string)

We also need to change name to plant.

grafik

pbrozi commented 2 years ago

Problem fixed, dev branch updated.

lniehaus commented 2 years ago

in the current dev branch the mock data JSON does not have the changed attribute from "name" to "plant"

image