Bee Debug API (0.6.0)

Download OpenAPI specification:Download

A list of the currently provided debug interfaces to interact with the bee node

Connectivity

Get overlay and underlay addresses of the node

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "overlay": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
  • "underlay":
    [
    ],
  • "ethereum": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
  • "publicKey": "02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4",
  • "pssPublicKey": "02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4"
}

Get a list of blocklisted peers

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "peers":
    [
    ]
}

Connect to address

Authorizations:
path Parameters
multiAddress
required
string

Underlay address of peer

Responses

Response samples

Content type
application/json
{
  • "address": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f"
}

Get a list of peers

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "peers":
    [
    ]
}

Remove peer

Authorizations:
path Parameters
address
required
string ^[A-Fa-f0-9]{64}$
Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f

Swarm address of peer

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "code": 0
}

Try connection to node

Authorizations:
path Parameters
peer-id
required
string ^[A-Fa-f0-9]{64}$
Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f

Swarm address of peer

Responses

Response samples

Content type
application/json
{
  • "rtt": "5.0018ms"
}

Get topology of known network

Get topology of known network

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "baseAddr": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
  • "population": 0,
  • "connected": 0,
  • "timestamp": "string",
  • "nnLowWatermark": 0,
  • "depth": 0,
  • "bins":
    {
    }
}

Get configured P2P welcome message

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "welcomeMessage": "string"
}

Set P2P welcome message

Authorizations:
Request Body schema: application/json
welcomeMessage
string

Responses

Request samples

Content type
application/json
{
  • "welcomeMessage": "string"
}

Response samples

Content type
application/json
{
  • "status": "string"
}

Balance

Get the balances with all known peers including prepaid services

Authorizations:

Responses

Response samples