api needs account balance

This commit is contained in:
seba 2011-09-29 02:37:46 +02:00
parent b3ec6090d9
commit 85c37459c1
2 changed files with 9 additions and 2 deletions

View File

@ -47,8 +47,8 @@ buyable/
""" list all types (groups) which an item can belong to """
account/
transactions/
transact/ # sollte eigentlich transfer heißen imo
transactions/ or transfers/
transact/ or transfer/ # sollte eigentlich transfer heißen imo
GET (=list)
""" list your transactions """
num list $num entries
@ -60,6 +60,8 @@ account/
GET (=list)
""" list all available transaction types"
balance/
GET (=show)
""" return current account balance """
auth/
blob/
GET (=get)

View File

@ -57,6 +57,11 @@ class TransactionTypeHandler(BaseHandler):
allowed_methods = ('GET',)
model = TransactionType
class AccountBalance(BaseHandler):
allowed_methods = ('GET',)
def read(self, request):
pass
class AuthBlobHandler(BaseHandler):
# allowed_methods = ('GET', 'POST')
# model =