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" and "professors" endpoint to section endpoint #229

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

Add "course" and "professors" endpoint to section endpoint #229

jpahm opened this issue Oct 23, 2024 · 4 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, it can be inconvenient and overcomplicated for our end users to perform some common aggregate operations such as getting a section's course or the professors which teach the section.

As such, we should add the following endpoints which immediately aggregate and return matching sections' courses or professors:

Courses:

  • Query based: GET /section/course (allows for querying like the base section endpoint)
  • ID specific: GET /section/{sectionId}/course (gets course only for a specific section)

Professors:

  • Query based: GET /section/professors (allows for querying like the base section endpoint)
  • ID specific: GET /section/{sectionId}/professors (gets professors only for a specific section)
@jpahm jpahm added the L2 A task suitable for someone who is comfortable implementing features. label Oct 23, 2024
@KD-kAnEsHi
Copy link

I would like to do this

@jpahm
Copy link
Contributor Author

jpahm commented Nov 7, 2024

I would like to do this

You are welcome to do so! I would heavily suggest looking at what @mikehquan19 did in #234 for some inspiration or guidance.

@KD-kAnEsHi
Copy link

understood, I will keep you updated

@jpahm
Copy link
Contributor Author

jpahm commented Nov 21, 2024

understood, I will keep you updated

Hi, any updates on this?

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