Removed transfer (transact-alias) urls from api2

This commit is contained in:
Sebastian Lohff 2011-10-31 16:29:51 +01:00
parent df32875789
commit c2d144ea91
2 changed files with 25 additions and 27 deletions

View File

@ -49,9 +49,7 @@ urlpatterns = patterns('',
url(r'buyable/history/?$', historyRes), url(r'buyable/history/?$', historyRes),
url(r'account/transactions/transact/?$', transactionTransactRes), url(r'account/transactions/transact/?$', transactionTransactRes),
url(r'account/transfers/transfer/?$', transactionTransactRes),
url(r'account/transactions/types/?$', transactionTypeRes), url(r'account/transactions/types/?$', transactionTypeRes),
url(r'account/transfers/types/?$', transactionTypeRes),
url(r'account/transactions/virtual/?$', transactionVirtualRes), url(r'account/transactions/virtual/?$', transactionVirtualRes),
url(r'account/balance/?$', accountBalanceRes), url(r'account/balance/?$', accountBalanceRes),

View File

@ -99,8 +99,8 @@ to the handler or the responsible method for more documentation or code.
========= ================= ========= =================
**account/** **account/**
**transactions/** or **transfers/** **transactions/**
:class:`transact/ or transfer/ <api2.handlers.TransactionTransactHandler>` :class:`transact/ <api2.handlers.TransactionTransactHandler>`
:func:`GET <api2.handlers.TransactionTransactHandler.read>` :func:`GET <api2.handlers.TransactionTransactHandler.read>`
List the user's last transactions List the user's last transactions
@ -120,32 +120,32 @@ to the handler or the responsible method for more documentation or code.
type [required] Type of transaction (id) type [required] Type of transaction (id)
========= ================= ========= =================
:class:`types/ <api2.handlers.TransactionTypeHandler>` :class:`types/ <api2.handlers.TransactionTypeHandler>`
:func:`GET <api2.handlers.TransactionTypeHandler.read>` :func:`GET <api2.handlers.TransactionTypeHandler.read>`
List all available :class:`Transaction Types <buyable.models.TransactionType>` List all available :class:`Transaction Types <buyable.models.TransactionType>`
:class:`balance/ <api2.handlers.AccountBalanceHandler>` :class:`balance/ <api2.handlers.AccountBalanceHandler>`
:func:`GET <api2.handlers.AccountBalanceHandler.read>` :func:`GET <api2.handlers.AccountBalanceHandler.read>`
Get user's account balance Get user's account balance
:class:`virtual/ <api2.handlers.TransactionVirtualHandler>` :class:`virtual/ <api2.handlers.TransactionVirtualHandler>`
:func:`GET <api2.handlers.TransactionVirtualHandler.read>` :func:`GET <api2.handlers.TransactionVirtualHandler.read>`
Return the user's last virtual transactions (inbound and outbound) Return the user's last virtual transactions (inbound and outbound)
========= ================= ========= =================
Parameter Description Parameter Description
========= ================= ========= =================
num Number of entries to return num Number of entries to return
========= ================= ========= =================
:func:`POST <api2.handlers.TransactionVirtualHandler.create>` :func:`POST <api2.handlers.TransactionVirtualHandler.create>`
Transact money from the users to another users account. Transact money from the users to another users account.
========= ================= ========= =================
Parameter Description Parameter Description
========= ================= ========= =================
amount [required] Amount to transact amount [required] Amount to transact
recipient [required] User that will get the money recipient [required] User that will get the money
comment [required] Comment, why the money was transacted comment [required] Comment, why the money was transacted
========= ================= ========= =================
**auth/** **auth/**
:class:`blob/ <api2.handlers.AuthBlobHandler>` :class:`blob/ <api2.handlers.AuthBlobHandler>`