Subscribe to a federation directory
POST /admin/federation/directories
Fetches /v1/operator from the directory URL, captures the operator pubkey + fingerprint, and persists the subscription. The admin should review the returned fingerprint out-of-band before relying on the directory.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Directory base URL (https, no path, no trailing slash).
Responses
Section titled “ Responses ”Subscription created.
One subscribed federation directory. Pairing alone shares no content; directories are discovery aids per docs/spec/federation-directory/v1.md.
object
PEM-wrapped Ed25519 directory operator pubkey (pinned at subscribe time).
Malformed request
object
Human-readable error summary
Example
the request could not be completedAuthentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completedAlready subscribed to this directory URL.
object
Human-readable error summary
Example
the request could not be completed