Skip to content

Resolve "Implement REST endpoints for SPOs"

Santosh Kumar requested to merge 28-implement-rest-endpoints-for-spos into develop

Two routes have been implemented:

  1. GET /api/v1/spo/devices:

This endpoint fetches and filters nodes in DHT which are capable of running cardano node.

  1. POST /api/v1/spo/deploy/:nodeID:

The /devices route returns JSON object with metadata about a node. :nodeID can be taken from there. At current moment, this endpoint also expects query parameter deployment_type, which is either of auto or manual. A typical call would look something like this:

POST /api/v1/spo/deploy/:nodeID?deployment_type=manual

Closes #28 (closed) #44 (closed)

Edited by Santosh Kumar

Merge request reports