Query DB for Policy Sets (v3.0)
POST/v3.0/api/tenants/:tenant_id/policysets/query
Query the DB for policy sets that match the query parameters.
Request
Path Parameters
The tenant ID.
- application/json
Body
Query details for policy set
- Array [
- ]
aggregate Aggregate
The aggregate number of policy sets that match the query parameters.
data AggregateData[]
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
Field
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
Operator
QoS application aggregate statistics.
The unit.
The destination page.
The number of policy sets deleted for a time frame.
Group the policy sets for the query.
Lists the policy sets by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Retrieve information from a field.
List the fields to query.
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- ]
- ]
- Array [
- ]
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
The tenant ID.
Total number.
items PolicySetQueryFilter[]
bandwidth_allocation_schemes BandwidthAllocationScheme[]
Allocate or modify the percentage of bandwidth configured for each priority and application traffic type. Can configure up to four bandwidth allocation schemes.
bandwidth_range BandwidthRange
The details of the bandwidth range.
The high range of the bandwidth allocated.
The low range of the bandwidth allocated.
business_priorities BusinessPriority[]
Information on the business priorities.
The bandwidth allocated.
bandwidth_split_per_type BandwidthSplit
The bandwidth split per type.
Bulk
Rt Audio
Rt Video
Transactional
The priority number.
business_priority_names BusinessPriorityNameMapper[]
The list of business priority names. Max size = 4.
The business priority name.
The business priority number.
The default policy.
The description of the policy set.
The policy set ID.
The name of the policy set. Max size = 128.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"bandwidth_allocation_schemes": [
{
"bandwidth_range": {
"high": 0,
"low": 0
},
"business_priorities": [
{
"bandwidth_allocation": 0,
"bandwidth_split_per_type": {
"bulk": 0,
"rt_audio": 0,
"rt_video": 0,
"transactional": 0
},
"priority_num": 0
}
]
}
],
"business_priority_names": [
{
"priority_name": "string",
"priority_num": 0
}
],
"default_policy": true,
"id": "string",
"name": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "BAD_REQUEST"
}
]
}
}