# Debug API
The Debug API contains endpoints that are used to retrieve statistics related to Miyabi.
The endpoint is optional and can be enabled by adding the DebugWebApiConfig
section of the Node Config.
The debug API consists of the following types of API.
# Consensus API
This API is only used for debugging purposes to verify the state of consensus in Miyabi.
URL | Method | Description |
---|---|---|
/consensus/memberinfo QueryParams height | GET | Retrieve information on the credentials of the members involved in block consensus at a given block height or current height. |
/consensus/state | GET | Return the current state of consensus in Miyabi. |
# Inventory API
This API is used for debugging the inventory layer related functionalities of a particular node.
URL | Method | Description |
---|---|---|
/inventory/state | GET | Return the current state of inventory in Miyabi. It provides the details about the current inventory layer, items downloaded, peers connected, etc. |