docs
docs copied to clipboard
Add update items by query examples
Page
https://docs.directus.io/reference/items.html#update-multiple-items
Describe the Inaccuracy
As follow up to https://github.com/directus/directus/pull/20774 i think we should include examples for how to do updating by query. Currently we only have examples for updating by ID and that this is possible is only mentioned once in the request body description.
It might also be worth to mention that in this specific scenario we're dealing with 2 separate queries in the request:
- in the request body to define which items should be updated
- in the request parameters to define what data should be returned from the API