Update docs/features/software-catalog/api.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -383,20 +383,18 @@ meaning.
|
||||
```
|
||||
|
||||
The other use case is for arrays where you match with a primitive value, such
|
||||
as labels. Example:
|
||||
as tags. Example:
|
||||
|
||||
```js
|
||||
{
|
||||
// Works for any field, as long as the value is a primitive
|
||||
// (either string, number, or boolean)
|
||||
"metadata.labels": {
|
||||
// Works for array fields whose items are primitive values
|
||||
// (typically strings, but numbers and booleans are also supported)
|
||||
"metadata.tags": {
|
||||
"$contains": "java"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
In every case, the matching is case insensitive.
|
||||
|
||||
### `GET /entities`
|
||||
|
||||
Lists entities.
|
||||
|
||||
Reference in New Issue
Block a user