Show TimeTable - MarcoLagalla/marette_backend GitHub Wiki

Name Show Timetable
Description Show the timetable for the given restaurant
URL api/v1/webapp/restaurant/<int:id>/timetable
Allowed methods GET
Authorizations GET (AlloyAny)

GET

Returns the complete details list with the TimeTable

{
    "opened_now": false,
    "opens_at": "Oggi Chiuso",
    "timetable": [
        {
            "id": 4,
            "restaurant": 3,
            "day": "Martedi",
            "fasce": []
        },
        {
            "id": 5,
            "restaurant": 3,
            "day": "Mercoledi",
            "fasce": [
                {
                    "id": 6,
                    "restaurant": 3,
                    "start": "20:00",
                    "end": "23:30"
                },
                {
                    "id": 7,
                    "restaurant": 3,
                    "start": "15:00",
                    "end": "20:00"
                }
            ]
        }
    ]
}
⚠️ **GitHub.com Fallback** ⚠️