The OpenAPI specification of the Relay
Last updated 9 months ago
The JSON schema of the OpenAPI Specification of the Relay can be found at:
The rendered document of the specification can be accessed at:
GET /v1/network HTTP/1.1 Host: Accept: */*
OK
{ "data": { "tflops": 1 }, "message": "text" }
GET /v1/network/nodes/data?total=1 HTTP/1.1 Host: Accept: */*
{ "data": [ { "address": "text", "balance": {}, "card_model": "text", "qos": 1, "v_ram": 1 } ], "message": "text" }
GET /v1/network/nodes/number HTTP/1.1 Host: Accept: */*
{ "data": { "active_nodes": 1, "all_nodes": 1, "busy_nodes": 1 }, "message": "text" }
GET /v1/network/tasks/number HTTP/1.1 Host: Accept: */*
{ "data": { "queued_tasks": 1, "running_tasks": 1, "total_tasks": 1 }, "message": "text" }
GET /v1/now HTTP/1.1 Host: Accept: */*
{ "data": { "now": 1 }, "message": "text" }