mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
POST /transactions returns statuses payload
This commit is contained in:
parent
005a164e6b
commit
fde3d21ba7
@ -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"
|
||||
}
|
||||
"""
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user