Write a simple REST API in Python to convert JSON payloads from one format to other. Environment: Linux/Docker (JSON parsing and some Regular Expression skills required.)
I am dealing with a patient day calendar with time slots. Each hour is divided into two equal time slots. If the person is available for the whole 1 hour it is is denoted as 11 If not available for the whole hour : 00 Available for first half only : 10 Available for second half only : 01 So the entire calendar of the patient has 48 digits But for now, just to ease things, we will assume we ar...