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 for type lists #9

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

Add endpoints for type lists #9

ezwelty opened this issue Dec 26, 2021 · 0 comments

Comments

@ezwelty
Copy link
Contributor

ezwelty commented Dec 26, 2021

Similar to #8 for location types, except that this would be a brand new feature.

Questions

  • Does order make sense for types, as it does for locations?
  • Does adding a type to a list also include all children types?

Endpoints

  • GET user/types/lists - Get user's type lists
  • POST types/lists – Create a list
  • PUT types/lists/{id} – Update a list
  • DELETE types/lists/{id} – Delete a list
  • POST types/{id}/lists/{id} – Add type to list
  • DELETE types/{id}/lists/{id} – Remove type from list
  • GET types/{id} – For authenticated users with lists, 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