Provider's calendar availability REST APIs

Hello,

I am developing a native iOS and Android Patient app using the OPEN EMR REST apis. After closely checked all the APIs, I did not get any API that return the availability of Provider.

Basically I want to allow patient to book an appointment based on the available slots. Please suggest how this can be archived.

Thank you

You can use the timeslot end point. Here are tests for the API: openmrs-module-appointmentscheduling/TimeSlotResource1_9ControllerTest.java at 1.16.0 · openmrs/openmrs-module-appointmentscheduling · GitHub

This seems to be too old. Will this work properly with the the latest version of OPEN EMR?