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

Transaction Ext: POST and PUT should validate the Item's id and collection match the path's id and collection #384

Closed
philvarner opened this issue Mar 25, 2022 · 0 comments · Fixed by #425
Labels
spec Compliance with STAC/OGC specifications

Comments

@philvarner
Copy link
Collaborator

E.g., I could have a body like:

{
  "id": "1",
  "collection": "1",
}

that I post to /collections/2/items or put to /collections/1/items/1 /collections/1/items/2. Either of these should return a 400.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec Compliance with STAC/OGC specifications
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant