object housekeeping.get(object parameters)
该方法允许根据给定参数检索数据清理对象。
任何类型的用户都可以使用该方法。调用该方法的权限可在用户角色设置中撤销。更多信息请参阅 用户角色。
(object)
定义所需输出的参数。
该方法只支持一个参数。
(object)
返回数据清理对象。
请求:
响应:
{
"jsonrpc": "2.0",
"result": {
"hk_events_mode": "1",
"hk_events_trigger": "365d",
"hk_events_service": "1d",
"hk_events_internal": "1d",
"hk_events_discovery": "1d",
"hk_events_autoreg": "1d",
"hk_services_mode": "1",
"hk_services": "365d",
"hk_audit_mode": "1",
"hk_audit": "31d",
"hk_sessions_mode": "1",
"hk_sessions": "365d",
"hk_history_mode": "1",
"hk_history_global": "0",
"hk_history": "31d",
"hk_trends_mode": "1",
"hk_trends_global": "0",
"hk_trends": "365d",
"db_extension": "",
"compression_status": "0",
"compress_older": "7d"
},
"id": 1
}
CHousekeeping ::get() 在 ui/include/classes/api/services/CHousekeeping.php.