Search Entities
Using search API you can search Operations for Networks entities by specifying entity type and filter expression. A filter expression is a predicate expression (similar to SQL where clause) used to define the search criteria. Please refer to API Guide on details of how to construct filter expression. A successful search request will return a list of entity ids that matches the search criteria.
Search Request
{
"entity_type": "string",
"filter": "string",
"sort_by": {
"field": "string",
"order": "string"
},
"size": 0,
"cursor": "string",
"time_range": {
"start_time": 1597247025,
"end_time": 1597247999
}
}
entity_type
query filter
sort_by
size
cursor
time_range
Success
"PagedListResponseWithTime Object"
results
Cursor for the next page
Total number of objects returned
Start timestamp of the window of the objects returned
End timestamp of the window of the objects returned
Bad Request
"ApiError Object"
code
message
details
Unauthorized
Internal Error
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/ni/search