com.fedproxy.temp.xrpc.subscribe
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"errors": [
{
"description": "Malformed or missing registration.",
"name": "InvalidRequest"
},
{
"description": "Registration signatures do not verify against the issued nonce or did:key, or the nonce is unknown/expired.",
"name": "Unauthorized"
}
],
"message": {
"schema": {
"refs": [
"#registered",
"#request",
"#response"
],
"type": "union"
}
},
"parameters": {
"properties": {
"registration": {
"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.",
"type": "string"
}
},
"required": [
"registration"
],
"type": "params"
},
"type": "subscription"
},
"registered": {
"description": "First frame sent by the relay on connect, assigning this subscriber a serviceId.",
"properties": {
"proxyRef": {
"description": "did:web:HOST#serviceId value callers pass as the atproto-proxy header to route XRPC calls to this subscriber.",
"type": "string"
},
"serviceId": {
"description": "Opaque id the relay assigns to this subscriber for the connection lifetime.",
"type": "string"
}
},
"required": [
"serviceId",
"proxyRef"
],
"type": "object"
},
"request": {
"description": "An inbound XRPC call relayed to the subscriber to handle.",
"properties": {
"body": {
"type": "unknown"
},
"callerDid": {
"format": "did",
"type": "string"
},
"method": {
"type": "string"
},
"nsid": {
"format": "nsid",
"type": "string"
},
"params": {
"description": "Query params as a map of string keys to string values.",
"type": "unknown"
},
"requestId": {
"type": "string"
}
},
"required": [
"requestId",
"method",
"nsid",
"params",
"callerDid"
],
"type": "object"
},
"response": {
"description": "The subscriber's reply to a #request, keyed by the same requestId.",
"properties": {
"body": {
"type": "unknown"
},
"contentType": {
"type": "string"
},
"requestId": {
"type": "string"
},
"status": {
"type": "integer"
}
},
"required": [
"requestId",
"status"
],
"type": "object"
}
},
"id": "com.fedproxy.temp.xrpc.subscribe",
"lexicon": 1
}
Metadata
- DID
-
did:plc:5svqtrhheairglgiiyvutzik - CID
-
bafyreibxzyhicfjowd4wy7yf5w43swtctz2w3lq3lahb2kzpcbvl7srwoi - Indexed At
- 2026-06-12 05:08 UTC
- AT-URI
-
at://did:plc:5svqtrhheairglgiiyvutzik/com.atproto.lexicon.schema/com.fedproxy.temp.xrpc.subscribe
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A subscriber's signed registration. Proves custody of the did:key by carrying badge.blue attestations (network.attested.signature) over the nonce returned from com.fedproxy.temp.xrpc.getRegistrationNonce. Presented as t…
-
Request a one-time registration nonce from the relay before subscribing. The caller presents its did:key and badge.blue attestations (network.attested.signature) over its own key material; the relay replies with a crypt…