Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, I would expect GET /students to return all of the students (or at least, all of the students visible to me). Typically with query parameters for filtering:

    GET /students?min_age=20
Alternatively, `students` might be a collection attribute on another resource:

    GET /classes/{class_id}/students



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: