We are creating room reservations via the API but to properly sync them, we also need to Updates(Patches) and Deletes. Are there any plugins that add that? Or will we have to build that ourselves?
Just saw this thread: Indico API : import room reservation - #10 by ThiefMaster
And it looks like everything I need is available under these urls:
POST: /rooms/api/booking/create
PATCH: /rooms/api/bookings/<id>
POST: /rooms/api/bookings/<id>/cancel
What’s the status of these end-points?
They are not documented, which I would normally assume means that they are not “stable”. Is it reasonable to use these but treat them as beta: i.e. there’s some small risk that their contract / signature might change in a future release? Are there plans to document them and have them replace the old end-point documented here:/api/roomBooking/bookRoom.TYPE?
Thanks!
They are simply used by the Indico frontend itself. So they are “stable” but without any specific guarantees of backwards compatibility. Currently I don’t foresee any breaking changes to them though - they work so I don’t see any reason why we’d change them, beyond maybe adding some new field if we ever add extra functionality.
Hence, I very much recommend using them instead of the very legacy /api/roomBooking API.