Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow creating places through the API #319

Open
Rikuoja opened this issue Aug 29, 2019 · 1 comment
Open

Allow creating places through the API #319

Rikuoja opened this issue Aug 29, 2019 · 1 comment

Comments

@Rikuoja
Copy link
Contributor

Rikuoja commented Aug 29, 2019

Essentially, this means finishing the almost-finished PR #236 .

Required for City-of-Helsinki/linkedevents-ui#420

On the API side, we do not want to limit the coordinates and addresses the users POST, since not all cities using Linkedevents have a comprehensive address and geocoding service that would allow us to ascertain the addresses and coordinates.

Therefore, locations with any addresses and coordinates should be POSTable (with the system data source), and if a data source has is_user_editable set to True, its locations should be editable via the API.

In the Helsinki use case, the UI will check the validity of the coordinate-address pairs using the #318 address endpoint.

@Rikuoja
Copy link
Contributor Author

Rikuoja commented Oct 31, 2019

A slight change of plans: as all addresses are now in the database, geocoding will not be needed in Linkedevents, so #318 is closed. Helsinki has no use case for this at the moment (since we import all the addresses already), but the functionality should still be included for other cities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant