diff options
| author | Humair K <Humair K> | 2016-07-16 02:27:29 +0000 |
|---|---|---|
| committer | Humair K <Humair K> | 2016-07-16 02:27:29 +0000 |
| commit | 6bf79c033f879c924510f44bdda84a1a244fb28b (patch) | |
| tree | 1130292a7ea8dcb91c13b31b55e12b75fe16317f /server_info.txt | |
| parent | c98aa4c3503a27ce37005a0eebc172ce880004a6 (diff) | |
Added more request info
Diffstat (limited to 'server_info.txt')
| -rw-r--r-- | server_info.txt | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/server_info.txt b/server_info.txt index 9cb939d..cb76198 100644 --- a/server_info.txt +++ b/server_info.txt @@ -10,6 +10,7 @@ admin, likewise for users. All visitor requests are requests that everyone that visits the website can make. Assume content/data-types are json format (they are omitted). +Standard serves for styles/images/script files are omitted. ******************************** ADMIN ONLY ************************************ N/A @@ -125,20 +126,26 @@ Url: '/exam' Data: examTitle = { courseCode: 'csc148', termOffered: 'Fall', - dateOffered: 'June/2014', + dateOffered: 'June2014', campus: 'St.George', } On Success: Return response such that: response = { - courseCode: - instructors: - uploadDate: - - - + courseCode: 'csc148' + instructors: 'Paul Grieves and Danny Heap', + uploadDate: '2014-01-26' + pageCouont: 22 + questionCount: 10 + questions: {question1, question2,...}, + path: '/exams/stgeorge/2014/fall/csc148.png' } -Notes: +Where each questionN is a question object such that: +questionN = { + questionNumber: 1, + solutionCount: 2, + commentCount: 6 +} -------------------------------------------------------------------------------- QUESTION - SOLUTIONS - PAGE |
