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

Update status codes for stage 3 data endpoints #75

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

Carifio24
Copy link
Member

Currently, the /stage-3-data endpoints return a 404 if the found set of measurements is empty. This made sense in the original implementation, where this meant that no data for the student or student/class combo existed. But now that we only return data if there's been a change since we last checked, this doesn't really make sense - getting no data returned can happen (quite frequently) with valid inputs. This PR updates the status code for these endpoints to only give a 404 if one or more of the passed IDs is invalid.

@Carifio24 Carifio24 merged commit ffff6ba into cosmicds:main Jul 26, 2023
1 check passed
@Carifio24 Carifio24 deleted the data-error-codes branch October 16, 2024 04:39
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.

1 participant