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

Opinion — plurals vs non-plurals #8

Open
davesag opened this issue Mar 8, 2019 · 0 comments
Open

Opinion — plurals vs non-plurals #8

davesag opened this issue Mar 8, 2019 · 0 comments

Comments

@davesag
Copy link

davesag commented Mar 8, 2019

I note in bad-url-examples you prefer to always pluralise a noun even when requesting a single instance.

I think this is mostly a hangover from the old Ruby on Rails era and is less useful in modern times.

An URL like GET /v1/employee/alice-smith just seems to be better English than GET /v1/employees/alice-smith and it also reinforces that you are returning a single object and not an array of results.

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

No branches or pull requests

1 participant