Get Config/State across all Policysets from NB (v2.0)
POST/v2.0/api/tenants/:tenant_id/policysets/bulk_config_state/query
Get all config/state info across all policysets from NB.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
- application/json
Body
Query Details
- Array [
- ]
aggregate Aggregate
The aggregate number of queried elements.
data AggregateData[]
The details of the aggregate data.
value number
Value of the aggregate data.
view object
View the aggregate date.
field string
Field
name string
The name of the query response.
operator string
Possible values: [max
, count
, min
, avg
, sum
]
Operator
statistic string
QoS application aggregate statistics.
unit string
The unit.
dest_page int32
The destination page.
getDeleted boolean
The number of queried elements deleted for a time frame.
group_by string[]
Group the elements state for the query.
id string
List the element by ID.
last_query_ts int64
Return the ID of a specified query in the current session.
limit int32
The query limit.
next_query object
The limit.
query_params object
retrieved_fields string[]
Retrieve information from a field.
retrieved_fields_mask boolean
List the fields to query.
sort_params object
total_count int64
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_TENANT_API_VERSION"
}
]
}
}
Loading...