LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
387 stars 233 forks source link

How can we make modifications in the Api's for example i want to authenticate via email #51

Open namitgarg opened 3 years ago

namitgarg commented 3 years ago

IS there a standard way we can add new Api's as per our requirement, i am not able to find anything how to add, modify an Api, For example in authentication api i want to use email instead of username . curl --location --request POST 'http://localhost/BookedScheduler/Web/Services/index.php/Authentication/Authenticate' \ --header 'Content-Type: application/json' \ --data-raw '{ "username": "admin", "password": "password" }'

effgarces commented 3 years ago

If there is nothing on the documentation then it was something that wasn't defined, so from my part I would say, make your best judgment and try to follow how the other api's were done, where possible.