summaryrefslogtreecommitdiff
path: root/src/leap/soledad/server/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/soledad/server/interfaces.py')
-rw-r--r--src/leap/soledad/server/interfaces.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/soledad/server/interfaces.py b/src/leap/soledad/server/interfaces.py
index ee73aac8..1f97624b 100644
--- a/src/leap/soledad/server/interfaces.py
+++ b/src/leap/soledad/server/interfaces.py
@@ -49,6 +49,11 @@ class IBlobsBackend(Interface):
Get the size of the given blob id.
"""
+ def count(user, request, namespace=''):
+ """
+ Counts the total number of blobs.
+ """
+
def list_blobs(user, request, namespace='', order_by=None):
"""
Returns a json-encoded list of ids from user's blobs storage,