improve wording on post transactions status codes

This commit is contained in:
diminator 2017-01-05 16:06:27 +01:00 committed by tim
parent fde3d21ba7
commit 6cf39542ea

View File

@ -247,8 +247,11 @@ Transactions
.. literalinclude:: samples/post-tx-response.http
:language: http
:statuscode 202: The pushed transaction was accepted, but the processing has not been completed.
:statuscode 400: The transaction was invalid and not created.
:resheader Content-Type: ``application/json``
:resheader Location: As the transaction will be persisted asynchronously, an endpoint to monitor its status is provided in this header.
:statuscode 202: The pushed transaction was accepted in the ``BACKLOG``, but the processing has not been completed.
:statuscode 400: The transaction was malformed and not accepted in the ``BACKLOG``.
Statuses