You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the /availabilities endpoint only returns the available hour slots for a specific date. I would like to submit a PR that adds a new endpoint that would return the days with availabilities for a certain month or date range. Something like:
alextselegidis
changed the title
[Rest API] Add endpoint to obtain available dates
Add support for month based availability generation on the availabilities API.
Jul 11, 2022
Change the endpoint to /api/v1/availabilities?date=2022-07&providerId=&serviceId=
Do you mean I should replace the current existing endpoint? Because /api/v1/availabilities already exists. Or you just meant that the new endpoint should begin with /api/v1/?
Currently, the
/availabilities
endpoint only returns the available hour slots for a specific date. I would like to submit a PR that adds a new endpoint that would return the days with availabilities for a certain month or date range. Something like:/availabilities/dates?month=2022-07&providerId=xx&serviceId=xx
which returns either an array of available dates:
or perhaps an array of dates and slots:
Would that be OK?
The text was updated successfully, but these errors were encountered: