Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.23 KB

_addClusterCriterionWithPriorityForCommand.adoc

File metadata and controls

30 lines (24 loc) · 1.23 KB

Insert a New Cluster Criterion For Command

Description

Add a new Criterion to the existing list of cluster criteria for the command identified by id. The priority is the place in the list this new criterion should be placed. A value of 0 indicates it should be placed at the front of the list with the highest possible priority. 1 would be second in the list etc. If priority is > the current size of the cluster criteria list this new criterion will be placed at the end as the lowest priority item. Priority must be >= 0.

Endpoint

PUT /api/v3/commands/{id}/clusterCriteria/{priority}