Get /system/managed-server/filtered-summary
Description
Return the cluster information for all managed servers using the given sort and filter.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Request Body Parameters
Name |
Required |
Type |
---|---|---|
filter | Optional | Array |
sortKey | Optional | String |
sortDir | Optional | String |
Sample Request
Request URL |
Get https://10.106.94.152:8443/api/v2/system/managed-server/filtered-summary |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
sortKey: "xxxxxxxxxx' sortDir: "asc" |
Sample Response
{
"status": "string",
"errorMessage": "string",
"clusters": [
{
"primaryServer": {
"id": 0,
"name": "string",
"ip": "string",
"lastSyncAttempt": 0,
"lastSyncSuccess": 0,
"status": "string",
"product": "string"
},
"secondaryServer": {
"id": 0,
"name": "string",
"ip": "string",
"lastSyncAttempt": 0,
"lastSyncSuccess": 0,
"status": "string",
"product": "string"
},
"appServers": [
{
"id": 0,
"name": "string",
"ip": "string",
"lastSyncAttempt": 0,
"lastSyncSuccess": 0,
"status": "string",
"product": "string"
}
]
}
]
}