Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 1.14 KB

README.md

File metadata and controls

61 lines (49 loc) · 1.14 KB

chia-node-list-api

General API Information

HTTP Return Codes

  • HTTP 4xx return codes are used for malformed requests; the issue is on the sender's side
  • HTTP 5xx return codes are used for internal error; the issue is on server side

API Endpoints

Node List

GET /node

Get node list

Parameters:

Name Type Mandatory Description
limit int NO Default 100; max 1000.

Insert Node

POST /node

form-data

insert node

Parameters:

Name Type Mandatory Description
node_ip str YES Ip Address Node
node_port int YES Port Node

Active Node

PATCH /node

form-data

active node

Parameters:

Name Type Mandatory Description
node_ip str YES Ip Address Node
node_port int YES Port Node

Active or Insert Node

PUT /node

form-data

Parameters:

Name Type Mandatory Description
node_ip str YES Ip Address Node
node_port int YES Port Node