-
Notifications
You must be signed in to change notification settings - Fork 3
Initiate first version of raw API #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
api/fhda_api_1.1.yaml
Outdated
| 400: | ||
| description: bad input parameter | ||
|
|
||
| /add_course: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to use /api/course/add?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, will work on it in next commit
api/fhda_api_1.1.yaml
Outdated
| description: Secured Admin-only calls | ||
|
|
||
| paths: | ||
| /course_by_quarter: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similarly, would /api/course/get be better? and you can use something like /api/course/get?quarter=2020winter
api/fhda_api_1.1.yaml
Outdated
| 400: | ||
| description: bad input parameter | ||
|
|
||
| /course_by_quarter_and_dept: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e.g. /api/course/get?quarter=2020winter&dept=MATH
api/fhda_api_1.1.yaml
Outdated
|
|
||
|
|
||
| #################Instructor OPERATIONS########################### | ||
| /instructor/get: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to have a URL as “/instructor”, the method as "GET"(for retrieving), "POST"(for adding), etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relating to issue #2