avniproject / avni-server

Backend APIs for Avni
https://avniproject.org
GNU Affero General Public License v3.0
5 stars 25 forks source link

External API for locations #714

Closed vinayvenu closed 3 months ago

vinayvenu commented 3 months ago

Required

Acceptance criteria

petmongrels commented 3 months ago

location rename

External API is not currently designed to allow for rename of locations because we do not send location UUIDs in the subject api response. Once a subject has been saved by the API consumer in their system and then if location name changes, they won't have a way to fix the data on their side - as the subject last modified date time is not updated and should not be updated.

Since this is a mistake in original design of API, we can introduce a new field called locationId in the API response which will have the UUID alone.

AchalaBelokar commented 3 months ago