Skip to content

Conversation

@EdenWuyt
Copy link
Contributor

@EdenWuyt EdenWuyt commented Jan 6, 2026

Change Summary

/rooms/{id}/availability: Returns availabile slots for a single room grouped by date
/rooms/availability: Returns paginated results of availability for multiple rooms (in the sense that whether they can be booked within a time range) => which I think it is useful after starting to implement #24

Change Form

Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

  • The pull request title has an issue number
  • The change works by "Smoke testing" or quick testing
  • The change has tests
  • The change has documentation

Other Information

Assumption:

Related issue

@EdenWuyt EdenWuyt marked this pull request as ready for review January 6, 2026 14:55
@EdenWuyt EdenWuyt marked this pull request as draft January 11, 2026 17:30
@EdenWuyt
Copy link
Contributor Author

I will add another endpoint /rooms/availability to quickly get all rooms' availibity with a date time filter.

@EdenWuyt EdenWuyt marked this pull request as ready for review January 12, 2026 17:57
…T. Update validation for parameters date format and date range. Date range must be <= 42 days (suppose 6 lines X 7 days in calendar).
@IIEnat IIEnat mentioned this pull request Jan 18, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add availability API endpoints

2 participants