Get objects with filters
Changed onReturns all objects available to the current user, optionally filtered. Supports filtering by name, class, parent, zone, geographical area, state, and custom attributes.
Request
- Base URLhttp://127.0.0.1:8000
- URLhttp://127.0.0.1:8000/objects
- Auth
- HTTP basic
- or API key in cookie session_handle
- or API key in header Session-Id
Query parameters
Geographical area filter as "lat1,lon1,lat2,lon2" (bounding box)
Comma-separated list of object class names (e.g., "Node,Container")
Name filter (glob pattern or regex if regex=true)
Filter objects that are children of given parent object ID
Filter nodes by primary name (glob pattern or regex if regex=true)
Filter nodes by state flags (integer or hex with 0x prefix)
Return only top-level objects
Treat name and custom attribute filters as regex patterns
Comma-separated list of zone UINs
Custom attribute filter. Use @attributeName=value format
Response
List of objects
Changes
- breaking
for the
queryrequest parametertopLevelOnly, default valuefalsewas added - breaking
for the
queryrequest parameterparent, the type changed fromstringtointeger, and format from no format toint64 - warning
deleted the
queryrequest parameter@custom_attribute_name - warning
deleted the
queryrequest parameteruseRegex - info
added the new optional
queryrequest parameter@{attributeName} - info
added the new optional
queryrequest parameterprimaryName - info
added the new optional
queryrequest parameterregex - info
added the new optional
queryrequest parameterstate - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- info
api operation id
getObjectswas added - info
added the non-success response with the status
- info