POST /transactions returns statuses payload

This commit is contained in:
diminator 2017-01-05 15:22:22 +01:00 committed by tim
parent 005a164e6b
commit fde3d21ba7
2 changed files with 6 additions and 1 deletions

View File

@ -71,6 +71,10 @@ TPLS['post-tx-response'] = """\
HTTP/1.1 202 Accepted
Content-Type: application/json
Location: ../statuses/%(txid)s
{
"status": "/statuses/%(txid)s"
}
"""

View File

@ -226,7 +226,8 @@ Transactions
.. http:post:: /transactions
Push a new transaction.
Push a new transaction. The endpoint will return a ``statuses`` endpoint to track
the status of the transaction.
.. note::
The posted transaction should be valid `transaction