You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recruiters and admins should be able to see all applications submitted in the current cycle. This will be helpful for the frontend where recruiters and admins can filter by unreviewed applications and get an overview of all applicants.
Task
Add a new endpoint that allows recruiters and admins to get all applications for the current cycle.
Request Schema
GET /apps
Response Schema
{
"applications": GetApplicationResponseDTO[]
}
where GetApplicationResponseDTO is defined here and can be created from an Application entity using the function here.
200 OK
If the applications were retrieved successfully.
401 Unauthorized
If the calling user is not a recruiter or admin.
The text was updated successfully, but these errors were encountered:
* feat: getAllAplications endpoint resolves#44
* made Cycle fields private, and created env vars for year/semester
* Application Summary DTO
* feat: completed getAllApplications endpoint
* fix: updated semester logic
* fix: updated current semester function and dto mapping
---------
Co-authored-by: Jonathan Chen <[email protected]>
Co-authored-by: Harrison Kim <[email protected]>
* feat: getAllAplications endpoint resolves#44
* made Cycle fields private, and created env vars for year/semester
* Application Summary DTO
* feat: completed getAllApplications endpoint
* fix: updated semester logic
* fix: updated current semester function and dto mapping
* mean rating test
* modified mean ratings dto
* code cleanup
---------
Co-authored-by: OJisMe <[email protected]>
Co-authored-by: Jonathan Chen <[email protected]>
Co-authored-by: Harrison Kim <[email protected]>
Background
Recruiters and admins should be able to see all applications submitted in the current cycle. This will be helpful for the frontend where recruiters and admins can filter by unreviewed applications and get an overview of all applicants.
Task
Add a new endpoint that allows recruiters and admins to get all applications for the current cycle.
Request Schema
GET /apps
Response Schema
where
GetApplicationResponseDTO
is defined here and can be created from anApplication
entity using the function here.200 OK
If the applications were retrieved successfully.
401 Unauthorized
If the calling user is not a recruiter or admin.
The text was updated successfully, but these errors were encountered: