Query Prefix Set (3.1)
POST/v3.1/api/tenants/:tenant_id/prefixes/query
Query the prefix set.
Request
Path Parameters
The tenant ID.
- application/json
Body
Query Details for prefixes
- Array [
- ]
aggregate Aggregate
The aggregate number of prefix 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 prefix sets deleted for a time frame.
Group the prefix sets for the query.
List the prefix sets by ID.
Ipv4 Prefix
Ipv6 Prefix
Return the ID of a specified query in the current session.
The query limit.
The limit.
Query using query parameters.
Retrieve information from a field.
List the fields to query.
Specify the order in which you want the search criteria to display.
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- 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 PrefixQueryFilterV3N1[]
The element ID.
The IPv4 address prefix.
The IPv6 address prefix.
The resource ID.
Possible values: [static_route
, interface
, lan_network
, BGP
]
The resource type.
Possible values: [GLOBAL
, LOCAL
]
The prefix scope.
The site ID.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"element_id": "string",
"ipv4_prefix": "string",
"ipv6_prefix": "string",
"resource_id": "string",
"resource_type": "static_route",
"scope": "GLOBAL",
"site_id": "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_QUERY_REQUEST"
}
]
}
}