mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Minor corrections on /statuses
This commit is contained in:
parent
5ac7eb9b5a
commit
5048846b0f
@ -435,7 +435,7 @@ Transactions
|
|||||||
Statuses
|
Statuses
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
.. http:get:: /statuses/{tx_id | block_id}
|
.. http:get:: /statuses/{tx_id|block_id}
|
||||||
|
|
||||||
Get the status of an asynchronously written resource by their id.
|
Get the status of an asynchronously written resource by their id.
|
||||||
|
|
||||||
@ -445,9 +445,9 @@ Statuses
|
|||||||
The possible status values are ``backlog``, ``undecided``, ``valid`` or
|
The possible status values are ``backlog``, ``undecided``, ``valid`` or
|
||||||
``invalid``.
|
``invalid``.
|
||||||
|
|
||||||
If a transaction or block is persisted to the chain and it's status is set to
|
If a transaction or block is persisted to the chain and it's status is set
|
||||||
``valid`` or ``undecided``, a ``303 See Other`` status code is returned, as
|
to ``valid`` or ``undecided``, a ``303 See Other`` status code is returned,
|
||||||
well as an URL to the resource in the location header.
|
as well as an URL to the resource in the location header.
|
||||||
|
|
||||||
:param tx_id: transaction ID
|
:param tx_id: transaction ID
|
||||||
:type tx_id: hex string
|
:type tx_id: hex string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user