API root URL vs BigchainDB root URL

This commit is contained in:
diminator 2017-01-02 15:24:14 +01:00 committed by tim
parent 204c8cce9c
commit 21ffe22516

View File

@ -12,8 +12,8 @@ and you're not sure what the API Root URL is,
then see the last section of this page for help.
API Root URL
------------
BigchainDB Root URL
-------------------
If you send an HTTP GET request to the API Root URL
e.g. ``http://localhost:9984``
@ -31,7 +31,28 @@ with something like the following in the body:
],
"public_key": "AiygKSRhZWTxxYT4AfgKoTG4TZAoPsWoEt6C6bLq4jJR",
"software": "BigchainDB",
"version": "0.6.0"
"version": "0.9.0"
}
API Root URL
-------------------
If you send an HTTP GET request to the API Root URL
e.g. ``http://localhost:9984/api/v1/``
or ``http://apihosting4u.net:9984/api/v1/``,
then you should get an HTTP response
that allows you to discover the BigchainDB endpoints:
.. code-block:: json
{
"_links": {
"self": { "href": "/" },
"transactions": { "href": "/transactions" },
"statuses": { "href": "/statuses" },
"blocks": { "href": "/blocks" },
"votes": { "href": "/votes" }
}
Transactions