Hi,
We have been working with the /api/v3/reservation/resources/reservable endpoint and would like to raise a few concerns and feature requests.
Issue 1: No pagination support
The endpoint currently only supports a limit parameter with no way to paginate through results. For use cases where there are a large number of resources, we are forced to either:
- Set a high
limitvalue (e.g.limit=10000), which results in very large response payloads (potentially 100MB+) that are expensive to download and hold in memory - Set a low
limitvalue and miss resources beyond that limit
Request: Could you add an offset parameter (or equivalent cursor-based pagination) so we can fetch resources in smaller pages?
Example of how we'd use it:
GET /api/v3/reservation/resources/reservable?limit=500&offset=0&reservableStatus=Available
GET /api/v3/reservation/resources/reservable?limit=500&offset=500&reservableStatus=Available
GET /api/v3/reservation/resources/reservable?limit=500&offset=1000&reservableStatus=Available
Issue 2: No field filtering
The endpoint always returns the full resource object for every result. In some cases we only need a small subset of fields, but there is no way to request specific fields to reduce payload size.
Request: Could you add a fields or select query parameter so callers can request only the fields they need?
Issue 3: reservableStatus=Checkin causes request timeout
When querying with reservableStatus=Checkin, the request consistently times out (~30 seconds), while Available and Unavailable respond normally. Is this a known issue or a bug?
Thank you for looking into these. Pagination support in particular would significantly improve the reliability and performance of working with this endpoint at scale.
