Filtering

Ops Center Protector REST API User Guide

Version
7.7.x
Audience
anonymous
Part Number
MK-99PTT005-07

When retrieving a list of resources it is possible to apply a filter using the “query” parameter within the URL.

It is possible to filter on properties deep within the resource structure by using ‘dot notation’. For example, filtering for authorized nodes can be achieved with the following query:

https://localhost/API/:version/master/NodeManager/objects/Nodes/?query=stateInfo.authorized=true

The query syntax supports AND, OR and grouping (using brackets) for complex queries.
Note: It is only possible to filter on supported properties. Please refer to the API Reference Guide for further information.