Streamlining API calls and creating complex booking functionalities
The meeting participants, referred to as State Changers, discussed the creation of a GET API call. They considered whether to create one or two API calls for retrieving full weeks or half weeks, with an additional option to check if a booking is available. It was established that if the front-end needs to answer the question of available bookings, the concept of availability is already included. The participants also emphasized the importance of having multiple endpoints for different tasks instead of one centralized endpoint. The complexity of the code for checking if an availability is booked was acknowledged, and the need to retrieve and analyze the record before adding or editing it was highlighted. The meeting concluded with an agreement to continue the discussion the following day to address any further questions and move forward. The participants expressed satisfaction with the progress made so far and appreciated the ability to work independently while having occasional support.