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

PUT item confusion #2

Open
ajgrowney opened this issue Nov 23, 2022 · 0 comments
Open

PUT item confusion #2

ajgrowney opened this issue Nov 23, 2022 · 0 comments

Comments

@ajgrowney
Copy link

ajgrowney commented Nov 23, 2022

In your readme for the PUT you have the two following statements which seem to have competing goals.

Must populate the id and collection fields in the Item from the URI.
...
If the id or collection fields are different from those in the URI, status code 400 shall be returned.

Statement one seems to indicate that you can gracefully ignore the values in the body and just override them with the path parameter values, but the second indicates it is a failure state and you should return a 400. And in the case of returning a 400, it would not matter if you follow the directions of statement one since you are returning a 400.

I might be misreading this, so if there is another interpretation it would be nice (and we would include in our documentation) as we are implementing this extension.

Thanks!

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