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 endpoint for returning the list of students in a given class #137

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

Carifio24
Copy link
Member

This PR adds a simple /classes/roster/<class ID> endpoint that returns a list of all of the students in the specified class.

@Carifio24 Carifio24 requested a review from nmearl September 16, 2024 21:05
@Carifio24
Copy link
Member Author

Something that we probably want is some way to verify that the request is coming from the educator in charge of the class - maybe pass some identifying tag for the educator in a header or something?

I don't think it's pressing since the API is not publicly usable (as we don't currently give out keys), but that may change someday.

@Carifio24 Carifio24 merged commit 0db392a into cosmicds:main Sep 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants