summaryrefslogtreecommitdiff
path: root/releasenotes/notes/placement-required-traits-on-list-resource-providers-fab11cdb36cd3502.yaml
blob: 1fa3ecd37d93fbd63343d4d1a4a85182b9b93cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
features:
  - |
    Placement API microversion 1.18 adds support for the `required` query
    parameter to the `GET /resource_providers` API. It accepts a
    comma-separated list of string trait names. When specified, the API
    results will be filtered to include only resource providers marked with
    all the specified traits. This is in addition to (logical AND) any
    filtering based on other query parameters.

    Trait names which are empty, do not exist, or are otherwise invalid will
    result in a 400 error.