Skip to content

PUT item confusion #2

@ajgrowney

Description

@ajgrowney

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions