API resource for booking desks #12
Labels
api
Issues related to the API
enhancement
New feature or request
hacktoberfest
Good for working towards your Hacktoberfest goal
As an alternative to the desk booking form, there should be an API resource to create a booking record.
This will be a bit trickier than API endpoints which fetch data from the database. Booking need to be validated. There is already some logic in view.py book() which should be moved into separate functions (maybe methods of the Booking class?) so that it can be reused (rather than duplicated).
The text was updated successfully, but these errors were encountered: