Open a relay channel. The subscriber presents a com.fedproxy.temp.xrpc.registration: a record signed (network.attested.signature) over the nonce previously issued by com.fedproxy.temp.xrpc.getRegistrationNonce. The relay verifies the registration's signatures against the issued nonce and the did:key, then binds the WebSocket to that key. On connect the relay sends a #registered frame with the assigned serviceId/proxyRef; subsequent #request frames carry inbound XRPC calls the subscriber answers with #response frames.
Parameters
Errors
InvalidRequest
Malformed or missing registration. Unauthorized
Registration signatures do not verify against the issued nonce or did:key, or the nonce is unknown/expired. View raw schema
{
"type": "subscription",
"errors": [
{
"name": "InvalidRequest",
"description": "Malformed or missing registration."
},
{
"name": "Unauthorized",
"description": "Registration signatures do not verify against the issued nonce or did:key, or the nonce is unknown/expired."
}
],
"message": {
"schema": {
"refs": [
"#registered",
"#request",
"#response"
],
"type": "union"
}
},
"parameters": {
"type": "params",
"required": [
"registration"
],
"properties": {
"registration": {
"type": "string",
"description": "The full com.fedproxy.temp.xrpc.registration object as URL-encoded JSON, signing the nonce from getRegistrationNonce. Sent inline (not an AT-URI) so the subscriber needs no PDS to host the record."
}
}
},
"description": "Open a relay channel. The subscriber presents a com.fedproxy.temp.xrpc.registration: a record signed (network.attested.signature) over the nonce previously issued by com.fedproxy.temp.xrpc.getRegistrationNonce. The relay verifies the registration's signatures against the issued nonce and the did:key, then binds the WebSocket to that key. On connect the relay sends a #registered frame with the assigned serviceId/proxyRef; subsequent #request frames carry inbound XRPC calls the subscriber answers with #response frames."
}