REST updating multiple resources

Viewed 6125

I've tried searching this, but I haven't managed to find an answer which would fit my needs.

Considering I currently have the following route:

[GET] /items

Which can be filtered by using query parameters. Now I need to give it the ability to add multiple resources at once. I've considered of doing the following request:

[PATCH] /items

With a body like this:

id[]=1&id[]=2&id[]=3&updateField=newValue

I think there is something wrong with this call, but i'm not able to figure it out.

1 Answers
Related