githubEdit

API Specification of the Relay

The OpenAPI specification of the Relay

Resources

The JSON schema of the OpenAPI Specification of the Relay can be found at:

The rendered document of the specification can be accessed at:

API List

Get total TFLOPS of the network

get
Responses
chevron-right
200

OK

application/json
get
/v1/network

Get the info of all the nodes in the network

get
Query parameters
startinteger · int32Optional
totalinteger · int32 · min: 1 · max: 100Required
Responses
chevron-right
200

OK

application/json
get
/v1/network/nodes/data

Get total nodes number in the network

get
Responses
chevron-right
200

OK

application/json
get
/v1/network/nodes/number

Get total task number in the network

get
Responses
chevron-right
200

OK

application/json
get
/v1/network/tasks/number

Other APIs

Get current unix timestamp of server

get
Responses
chevron-right
200

OK

application/json
get
/v1/now

Last updated