diff --git a/API-Documentaion.md b/API-Documentaion.md index cedc670..aec8e0d 100644 --- a/API-Documentaion.md +++ b/API-Documentaion.md @@ -29,8 +29,9 @@ Section that contains the specification for the courses get request. /courses re } ``` -### /timetable?courseName={coursename} -Section that contains the specification for the /timetable/{coursename} get request. /timetable/{coursename} returns 6 arrays (Monday to Saturday) containing the timetable. Each array (day) contains 7 lessons. +### /timetable?courseName={coursename}&week={week} +/timetable returns a ArrayList "timetable" which contains a Array of 6 days, each day contains a Array of 6 ArrayLists which contain 0..n lessons. The meta part contains course-name, the actual timetable link, the last update-time and the week index (starting with 0 for the current week) + Each lesson has the following values: * lessonID: formate: DAY.TIMESLOT.LESSON, range: 0.0.0 to 5.5.x (0.0.0 = Monday.firstTimeSlot.firstLesson, 5.6.x = Saturday.lastTimeSlot.lastLesson) * subject: the lesson subject