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.
Similar to #8 for location types, except that this would be a brand new feature.
Questions
Endpoints
GET user/types/lists- Get user's type listsPOST types/lists– Create a listPUT types/lists/{id}– Update a listDELETE types/lists/{id}– Delete a listPOST types/{id}/lists/{id}– Add type to listDELETE types/{id}/lists/{id}– Remove type from listGET types/{id}– For authenticated users with lists, return membership in lists.