Update page 'API Documentaion'
parent
0d5716398c
commit
5035aa78eb
|
@ -29,7 +29,7 @@ Section that contains the specification for the courses get request. /courses re
|
|||
### /timetable/{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.
|
||||
Each lesson has the following values:
|
||||
* lessonID: formate: DAY.LESSON, range: 0.0 to 5.6 (0.0 = Monday.firstLesson, 5.6 = Saturday.lastLesson)
|
||||
* 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
|
||||
* teacher: the lesson teacher
|
||||
* room: the room in which the lesson takes place
|
||||
|
@ -42,14 +42,14 @@ Each lesson has the following values:
|
|||
},
|
||||
"Monday": [
|
||||
{
|
||||
"lessonID": "0.0",
|
||||
"lessonID": "0.0.0",
|
||||
"subject": "Computernetze 1",
|
||||
"teacher": "Mayer E.",
|
||||
"room": "A213",
|
||||
"remark": ""
|
||||
},
|
||||
{
|
||||
"lessonID": "0.1",
|
||||
"lessonID": "0.1.0",
|
||||
"subject": "",
|
||||
"teacher": "",
|
||||
"room": "",
|
||||
|
@ -57,7 +57,7 @@ Each lesson has the following values:
|
|||
},
|
||||
,
|
||||
{
|
||||
"lessonID": "0.2",
|
||||
"lessonID": "0.2.0",
|
||||
"subject": "Systemprogramm.",
|
||||
"teacher": "Mayer E.",
|
||||
"room": "A213",
|
||||
|
@ -67,14 +67,14 @@ Each lesson has the following values:
|
|||
],
|
||||
"Tuesday": [
|
||||
{
|
||||
"lessonID": "1.0",
|
||||
"lessonID": "1.0.0",
|
||||
"subject": "",
|
||||
"teacher": "",
|
||||
"room": "",
|
||||
"remark": ""
|
||||
},
|
||||
{
|
||||
"lessonID": "1.1",
|
||||
"lessonID": "1.1.0",
|
||||
"subject": "Softw. Engin. 1",
|
||||
"teacher": "Dorer",
|
||||
"room": "B005",
|
||||
|
@ -82,7 +82,7 @@ Each lesson has the following values:
|
|||
},
|
||||
,
|
||||
{
|
||||
"lessonID": "1.2",
|
||||
"lessonID": "1.2.0",
|
||||
"subject": "Softw. Engin. 1",
|
||||
"teacher": "Dorer",
|
||||
"room": "B005",
|
||||
|
|
Loading…
Reference in New Issue