Query Hub Clusters (v4.0)
POST/v4.0/api/tenants/:tenant_id/hubclusters/query
Query hub clusters.
Request
Path Parameters
The tenant ID.
- application/json
Body
Details of the hub cluster to be created
- Array [
- ]
aggregate Aggregate
The aggregate number of hub 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 of hub clusters deleted for a time frame.
Group the hub clusters for the query.
List the hub clusters by ID.
Return the ID of a specified query in the current session.
The query limit.
List the next query.
Retrieve information from a field.
List the marked fields to query.
The total number of query parameters.
Responses
- 200
- 400
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
- 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 HubClusterQueryFilterV4[]
List the details of the default cluster.
Description of the default cluster.
elements HubClusterElement[]
Details of the elements in the cluster.
Possible values: [FIRST
, SECOND
, THIRD
]
HubClusterElementNumber: JsonIgnore(value = true)
Hub Element Id
Locked
The ID of the cluster.
The name of the cluster.
The sites associated with the data center cluster.
The count threshold of the alarms for the sites.
The ID of the site.
A information field that can be added to identify the hub cluster.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"default_cluster": true,
"elements": [
{
"hubClusterElementNumber": "FIRST",
"hub_element_id": "string",
"locked": true
}
],
"id": "string",
"name": "string",
"peer_sites": [
"string"
],
"site_count_alarm_threshold": 0,
"site_id": "string",
"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_QUERY_OR_SORT_PARAMETERS"
}
]
}
}