Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
None
Description
Provide API support for updating multiple resource in a single request. A user should be able to use a collection endpoint along with a predicate to update multiple resources.
For example:
PUT /clusters/c1/services?foo=bar
{
"state" : "STARTED"
}
For all cluster "c1" services where foo=bar, update the "state" property to "STARTED".
To update all services under the cluster c1, no predicate would be provided.
PUT /clusters/c1/services
{
"state" : "STARTED"
}