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

Add endpoints to routes table (location lists) #8

Open
ezwelty opened this issue Dec 26, 2021 · 0 comments
Open

Add endpoints to routes table (location lists) #8

ezwelty opened this issue Dec 26, 2021 · 0 comments

Comments

@ezwelty
Copy link
Contributor

ezwelty commented Dec 26, 2021

Users can organize locations into ordered collections, named "routes", and display these on a map with Google Map directions overlaid. This feature is buried in the interface and very rarely used.

This feature should be rebranded and the emphasis on routing removed, but otherwise the existing data can be reused.

  • GET user/locations/lists - Get user's location lists
  • POST locations/lists – Create a list
  • PUT locations/lists/{id} – Update a list
  • DELETE locations/lists/{id} – Delete a list
  • POST locations/{id}/lists/{id} – Add location to list
  • DELETE locations/{id}/lists/{id} – Remove location from list
  • GET locations/{id} – For authenticated users with lists, should return membership in lists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant