OpenRelay protocol specification V0
URL: services/announce/
Announces a new node to an established node, for initial seeding in the OpenRelay network. Returns the established node’s information if the new node’s key verification is successful.
Returns:
{
'ip_address': <established node IP address>,
'port': <established node IP port>,
}
URL: services/heartbeat/
Ask a node for it’s current CPU usage.
Returns:
{
'cpuload': str(<sibling node CPU usage>)
}
URL: service/inventory/hash
Ask a node for it’s resource inventory hash, to avoid retrieving the entire resource list on every call.
Return:
{
'inventory_hash': <resource inventory hash>
}
URL: service/siblings/hash
Ask a node for it’s node list hash, to avoid retrieving the entire node list on every call.
Return:
{
'siblings_hash': <sibling node node inventory hash>
}
URL: resources/resource_file/<uuid>/
URL: resources/version/download/<uuid>/
URL: resources/version/serve/<uuid>/
URL: resources/version/<uuid>/
URL: resources/version/
URL: resources/sibling/