api needs account balance
This commit is contained in:
parent
b3ec6090d9
commit
85c37459c1
|
@ -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)
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue