Skip to content
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

Add course, section, and professor-specific grade endpoints #226

Open
jpahm opened this issue Oct 23, 2024 · 2 comments
Open

Add course, section, and professor-specific grade endpoints #226

jpahm opened this issue Oct 23, 2024 · 2 comments
Assignees
Labels
L2 A task suitable for someone who is comfortable implementing features.

Comments

@jpahm
Copy link
Contributor

jpahm commented Oct 23, 2024

Currently, we have one centralized grade endpoint that handles all types of grade queries based on a provided subject, course number, and/or professor.

For example, a current grade request might look something like this:
GET /grades?subject_prefix=CS&course_number=1337

For the sake of backwards-compatibility and supporting mixed queries, it would be best to leave the current grades endpoint in place. That being said, it could be considerably more convenient for the following endpoints to also be created:

  • Course-specific grades: GET /course/{courseId}/grades
  • Section-specific grades: GET /section/{sectionId}/grades
  • Professor-specific grades: GET /professor/{professorId}/grades

Ideally these endpoints will be able to share as much internal logic with the current /grades endpoint as possible so as to keep things uncluttered.

@jpahm jpahm added the L2 A task suitable for someone who is comfortable implementing features. label Oct 23, 2024
@dhomiller
Copy link

I'll take this one!

@jpahm
Copy link
Contributor Author

jpahm commented Oct 24, 2024

I'll take this one!

It's all yours!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L2 A task suitable for someone who is comfortable implementing features.
Projects
None yet
Development

No branches or pull requests

2 participants