Introducing endpoint for stats
This endpoint can be queried on a daily basis to retrieve cloud usage stats. For assets and comments we take into considerations only those who belong to public projects.
This commit is contained in:
@@ -49,7 +49,11 @@ class CloudExtension(PillarExtension):
|
||||
:rtype: list of flask.Blueprint objects.
|
||||
"""
|
||||
from . import routes
|
||||
return [routes.blueprint]
|
||||
import cloud.stats.routes
|
||||
return [
|
||||
routes.blueprint,
|
||||
cloud.stats.routes.blueprint,
|
||||
]
|
||||
|
||||
@property
|
||||
def template_path(self):
|
||||
|
Reference in New Issue
Block a user