Query Spoke Clusters (v2.0)
POST/v2.0/api/tenants/:tenant_id/sites/:site_id/spokeclusters/query
Query all the spoke clusters.
Request
Path Parameters
The tenant ID.
ID of the site. More details on the site can be retrieved by querying the sites API.
- application/json
Body
Query Details for the spokecluster
- Array [
- ]
aggregate Aggregate
The aggregate number of clusters 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 clusters deleted for a time frame.
Group By
List the clusters 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 [
- ]
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 SpokeClusterQueryFilter[]
Lists the intervals in which the active device advertises its status to the backup.
The cluster description.
The ID of the site.
Name of the cluster.
Indicates if preemption is required or not.
Displays the details about the tags or labels applied to the clusters.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"advertisement_interval": 0,
"id": "string",
"name": "string",
"preempt": true,
"tags": [
"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"
}
]
}
}