Title here
Summary here
Relays share their instance directories with each other using a pull-based gossip protocol. When one relay discovers a new instance — whether from an admin adding it or from another peer — that instance propagates through the mesh automatically.
There is no central registry. The directory is whatever the collective mesh knows about.
The gossip protocol is pull-based: each relay periodically fetches instances from its configured peers and merges new entries. Push support (instant propagation on add) is planned.
GET /api/v1/federation/instances from Relay Bcurl https://relay.btoven.net/api/v1/federation/statusReturns: peer URLs, last sync timestamps, number of instances from each peer.