ucsb-cs156-f24 / proj-happycows-f24-11

1 stars 0 forks source link

GetAllByCourseId Endpoint added — GET endpoint for multiple students objects in table #40

Open smmzhu opened 9 hours ago

smmzhu commented 9 hours ago

Overview

(Merge #30 before this one) Fourth ticket in a series tackling issue #26 — GetAllByCourseId Endpoint added. GET endpoint for multiple students objects with same CourseId.

Screenshots (Optional)

image

Future Possibilities (Optional)

This endpoint may have to be paginated in the future since the max load could be upwards of 850 students (in the worst case of Campbell Hall).

Validation (Optional)

  1. Go into Swagger. Use the students Post request to create student objects in the table with the same CourseId.
  2. Validate this endpoint by using the endpoint to get the student objects back.

Tests

Linked Issues

Closes #32