Enforcer
Get enforcer statistics
get/enforcer/{id}/stats
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Enforcer ID
Headers
X-Auth-Tokenstring required
Response
Success
Example response
{
"id": "541386aa8e36fe113593cc0dc6678b7d2a",
"read_at": "2018-01-18T07:20:15Z",
"stats": {
"interval": 5,
"total": {
"cpu": 1,
"memory": 2089816064,
"cur_session_in": 1,
"cur_session_out": 1
},
"span_1": {
"cpu": 1,
"memory": 2089816064,
"cur_session_in": 1,
"cur_session_out": 1
},
"span_12": {
"cpu": 1,
"memory": 2089816064,
"cur_session_in": 1,
"cur_session_out": 1
},
"span_60": {
"cpu": 1,
"memory": 2089816064,
"cur_session_in": 1,
"cur_session_out": 1
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.