mirror of
https://github.com/veops/cmdb.git
synced 2025-08-09 22:26:09 +08:00
13 lines
246 B
Python
13 lines
246 B
Python
# -*- coding:utf-8 -*-
|
|
|
|
|
|
from api.lib.cmdb.cache import CMDBCounterCache
|
|
from api.resource import APIView
|
|
|
|
|
|
class CMDBStatisticsView(APIView):
|
|
url_prefix = "/statistics"
|
|
|
|
def get(self):
|
|
return self.jsonify(CMDBCounterCache.get())
|