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 """
|
""" list all types (groups) which an item can belong to """
|
||||||
|
|
||||||
account/
|
account/
|
||||||
transactions/
|
transactions/ or transfers/
|
||||||
transact/ # sollte eigentlich transfer heißen imo
|
transact/ or transfer/ # sollte eigentlich transfer heißen imo
|
||||||
GET (=list)
|
GET (=list)
|
||||||
""" list your transactions """
|
""" list your transactions """
|
||||||
num list $num entries
|
num list $num entries
|
||||||
|
@ -60,6 +60,8 @@ account/
|
||||||
GET (=list)
|
GET (=list)
|
||||||
""" list all available transaction types"
|
""" list all available transaction types"
|
||||||
balance/
|
balance/
|
||||||
|
GET (=show)
|
||||||
|
""" return current account balance """
|
||||||
auth/
|
auth/
|
||||||
blob/
|
blob/
|
||||||
GET (=get)
|
GET (=get)
|
||||||
|
|
|
@ -57,6 +57,11 @@ class TransactionTypeHandler(BaseHandler):
|
||||||
allowed_methods = ('GET',)
|
allowed_methods = ('GET',)
|
||||||
model = TransactionType
|
model = TransactionType
|
||||||
|
|
||||||
|
class AccountBalance(BaseHandler):
|
||||||
|
allowed_methods = ('GET',)
|
||||||
|
def read(self, request):
|
||||||
|
pass
|
||||||
|
|
||||||
class AuthBlobHandler(BaseHandler):
|
class AuthBlobHandler(BaseHandler):
|
||||||
# allowed_methods = ('GET', 'POST')
|
# allowed_methods = ('GET', 'POST')
|
||||||
# model =
|
# model =
|
||||||
|
|
Loading…
Reference in New Issue