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

Properly nest returning judgements for a book under the book route #1187

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

epugh
Copy link
Member

@epugh epugh commented Jan 18, 2025

Description

Move judgements.csv from /book/:id.csv to /book/:id/judgements.csv.

This matches up with the existing /book/:id/judgements.json API end point!

Motivation and Context

Be restful! Don't return book details in json and judgement details in csv at the same url!

Will need to fix Jupyterlite notebook to follow this pattern.

@epugh
Copy link
Member Author

epugh commented Jan 18, 2025

@david-fisher FYI, this was something I noticed when you fixed one of the notebooks, that the path to get the CSV was conceptually wrong. This PR fixes that pathing, and will need an update to the notebook ;-(.

@epugh epugh merged commit defae89 into main Jan 20, 2025
5 checks 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.

1 participant