-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from uw-it-aca/develop
Develop
- Loading branch information
Showing
9 changed files
with
118 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from restclients_core.exceptions import DataFailureException | ||
|
||
|
||
class TermEvalNotCreated(DataFailureException): | ||
|
||
def __init__(self, url, status, msg): | ||
super(TermEvalNotCreated, self).__init__(url, status, msg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...ces/iasystem_uw/file/api/v1/evaluation_term_name_Winter_instructor_id_123456789_year_2015
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"collection":{ | ||
"links":[ | ||
{"rel":"home","prompt":"IASystem v1 Web API","href":"https://uw.iasystem.org/api/v1"}, | ||
{"prompt":"IASystem Evaluation Listing","href":"https://uw.iasystem.org/api/v1/evaluation","rel":"self"}], | ||
"queries":[ | ||
{"rel":"collection filter", | ||
"href":"https://uw.iasystem.org/api/v1/evaluation", | ||
"data":[ | ||
{"prompt":"Year", | ||
"name":"year", | ||
"required":true}, | ||
{"required":true, | ||
"name":"term_name", | ||
"prompt":"Term Name"}, | ||
{"name":"curriculum_abbreviation", | ||
"prompt":"Curriculum Abbreviation"}, | ||
{"name":"course_number", | ||
"prompt":"Course Number"}, | ||
{"name":"section_id", | ||
"prompt":"Section ID"}, | ||
{"prompt":"Student ID", | ||
"name":"student_id"}, | ||
{"prompt":"Instructor ID", | ||
"name":"instructor_id"}], | ||
"prompt":"Evaluation Search Resource"}], | ||
"error":{"message":"The year and term_name parameters did not match an existing term.", | ||
"title":"Term is out of range", | ||
"code":400}, | ||
"version":"1.0", | ||
"href":"https://uw.iasystem.org/api/v1/evaluation" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
...uw/file/api/v1/evaluation_term_name_Winter_instructor_id_123456789_year_2015.http-headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"status":400, | ||
"headers":{} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ces/iasystem_uw/file/api/v1/evaluation_term_name_Winter_instructor_id_123456789_year_2016
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"collection":{ | ||
"links":[ | ||
{"rel":"home","prompt":"IASystem v1 Web API","href":"https://uw.iasystem.org/api/v1"}, | ||
{"prompt":"IASystem Evaluation Listing","href":"https://uw.iasystem.org/api/v1/evaluation?year=2016&term_name=Autumn&instructor_id=123456789","rel":"self"}], | ||
"queries":[ | ||
{"rel":"collection filter", | ||
"href":"https://uw.iasystem.org/api/v1/evaluation", | ||
"data":[ | ||
{"prompt":"Year", | ||
"name":"year", | ||
"required":true}, | ||
{"required":true, | ||
"name":"term_name", | ||
"prompt":"Term Name"}, | ||
{"name":"curriculum_abbreviation", | ||
"prompt":"Curriculum Abbreviation"}, | ||
{"name":"course_number", | ||
"prompt":"Course Number"}, | ||
{"name":"section_id", | ||
"prompt":"Section ID"}, | ||
{"prompt":"Student ID", | ||
"name":"student_id"}, | ||
{"prompt":"Instructor ID", | ||
"name":"instructor_id"}], | ||
"prompt":"Evaluation Search Resource"}], | ||
"error":{"message":"...", | ||
"title":"Internal Server Error", | ||
"code":500}, | ||
"version":"1.0", | ||
"href":"https://uw.iasystem.org/api/v1/evaluation" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
..._uw/file/api/v1/evaluation_term_name_Winter_instructor_id_123456789_year_2016.http-header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"status":500, | ||
"headers":{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters