changed hard-coded URL in docs link to a :ref:

This commit is contained in:
Troy McConaghy 2017-06-15 10:04:49 +02:00
parent 275f29cfe4
commit 0f4998ef16

View File

@ -150,8 +150,8 @@ Transactions
.. note:: .. note::
If the server is returning a ``202`` HTTP status code, then the If the server is returning a ``202`` HTTP status code, then the
transaction has been accepted for processing. To check the status of the transaction has been accepted for processing. To check the status of the
transaction, poll the link to the `status monitor transaction, poll the link to the
<https://docs.bigchaindb.com/projects/server/en/latest/http-client-server-api.html#get--api-v1-statuses?tx_id=tx_id>`_ :ref:`status monitor <get_status_of_transaction>`
provided in the ``Location`` header or listen to server's provided in the ``Location`` header or listen to server's
:ref:`WebSocket Event Stream API <The WebSocket Event Stream API>`. :ref:`WebSocket Event Stream API <The WebSocket Event Stream API>`.
@ -225,6 +225,7 @@ Statuses
statuses <#get--statuses?tx_id=tx_id>`_ and `block statuses statuses <#get--statuses?tx_id=tx_id>`_ and `block statuses
<#get--statuses?block_id=block_id>`_). <#get--statuses?block_id=block_id>`_).
.. _get_status_of_transaction:
.. http:get:: /api/v1/statuses?tx_id={tx_id} .. http:get:: /api/v1/statuses?tx_id={tx_id}