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:
Fredrik Adelöw
2026-02-23 09:54:43 +01:00
parent 4a47c603e1
commit 0a4b3a16ae
+4 -6
View File
@@ -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.