Browse Source

Correct chain api

Emyrk 1 year ago
parent
commit
79ec933569
1 changed files with 5 additions and 5 deletions
  1. 5 5
      README.md

+ 5 - 5
README.md

@@ -14,7 +14,7 @@ Table of Contents
 |-----|-----|
 | Resource Path | /api |
 | API Version | 1.0.0 |
-| BasePath for the API | https://explorer.factoid.org |
+| BasePath for the API | http://localhost:9000 |
 | Consumes |  |
 | Produces |  |
 
@@ -33,7 +33,7 @@ Table of Contents
 | /api/v1/directory-block/entries/\{height\} | [GET](#FetchDirectoryBlockEntries) | retrieves directory block entries |
 | /api/v1/entry-block/\{keymr\} | [GET](#FetchEntryBlock) | Retrieves the Entry block |
 | /api/v1/eblock-block/entries/\{keymr\} | [GET](#FetchEntryBlockEntries) | retrieves entry block entries |
-| /api/v1/eblock-block/entries/\{chainid\} | [GET](#FetchChainEntries) | retrieves entries in a chain |
+| /api/v1/chain/entries/\{chainid\} | [GET](#FetchChainEntries) | retrieves entries in a chain |
 | /api/v1/admin-block/entries/\{height\} | [GET](#FetchAdminBlockEntries) | retrieves admin block entries by height. |
 | /api/v1/entrycredit-block/entries/\{height\} | [GET](#FetchEntryCreditBlockEntries) | retrieves entry credit block entries |
 | /api/v1/entry/ | [GET](#FetchEntryByHash) | Retrieves the entry commit and reveal by hash. ExtIDs & Content are base64 encoded! |
@@ -215,7 +215,7 @@ retrieves entry block entries
 
 <a name="FetchChainEntries"></a>
 
-#### API: /api/v1/eblock-block/entries/\{chainid\} (GET)
+#### API: /api/v1/chain/entries/\{chainid\} (GET)
 
 
 retrieves entries in a chain
@@ -512,7 +512,6 @@ Retrieves all data needed for index page
 
 | Field Name (alphabetical) | Field Type | Description |
 |-----|-----|-----|
-| name | string |  |
 | readable_status | string |  |
 | user_coinbase_address | string |  |
 
@@ -540,7 +539,6 @@ Retrieves all data needed for index page
 
 | Field Name (alphabetical) | Field Type | Description |
 |-----|-----|-----|
-| name | string |  |
 | user_coinbase_address | string |  |
 
 <a name="github.com.Emyrk.tfa-explorer.api_server.app.controllers.AdminBlockEntriesResponse"></a>
@@ -617,6 +615,7 @@ Retrieves all data needed for index page
 |-----|-----|-----|
 | address | string |  |
 | balance | int64 |  |
+| name | string |  |
 | order | int |  |
 
 <a name="github.com.Emyrk.tfa-explorer.common.FactomTransaction"></a>
@@ -718,6 +717,7 @@ Retrieves all data needed for index page
 | extids | array | []Base64 encoded |
 | extidsString | array |  |
 | id | int |  |
+| pending | bool |  |
 
 <a name="github.com.Emyrk.tfa-explorer.common.SQLEntryBlock"></a>