fully functional API endpoint for CRUD operations on a list item