add: [stats] item statistics

main
Alexandre Dulaunoy 2021-05-27 12:12:45 +02:00
parent e14ba03145
commit 989632ab98
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ class info(Resource):
info = {}
info['publishers'] = r.zcard('t:1')
info['projects'] = r.zcard('t:2')
info['items'] = z.card('t:3')
info['version'] = version
return info