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

Given implementation experience, was choosing the "controller style endpoint" pattern the right decision? #257

Closed
msporny opened this issue Jan 30, 2022 · 1 comment

Comments

@msporny
Copy link
Contributor

msporny commented Jan 30, 2022

@mprorock wrote:

Note in section 2.1.4 of the REST guide the examples - there are good reasons in REST to utilize an ID or name in the path. Prior iterations of that guide were less clear which caused confusion and folks removing those items to just the request body which then breaks the notion of ensuring that when a resource is identified, that that resource identification occurs in the URI. -- via comment on PR #255

It sounds like @mprorock is challenging the "controller style endpoint" pattern that the group provisionally agreed to. If that is the case, I agree with @mprorock -- I've never liked the "controller style endpoint" pattern and we should see if the group has new opinions on this now that we have some implementation experience under our belt.

@msporny msporny changed the title Was the Given implementation experience, was choosing the "controller style endpoint" pattern the right decision? Jan 30, 2022
@msporny
Copy link
Contributor Author

msporny commented Feb 8, 2022

The group discussed this on the 2022-02-08 telecon and agreed that they are open to proposals to modify existing or add new API endpoints that follow collection-style naming conventions.

PRs welcome.

@msporny msporny closed this as completed Feb 8, 2022
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