com.publicdomainrelay.temp.market.registerBidder
Register a bidder with the market registry. Called by bidders after they publish a bidderDiscovery record in their own repo and connect to the relay. The registry verifies the caller's service-auth JWT issuer matches the bidderDid, then indexes the bidder so it appears in listBidders queries. Liveness is determined by the registry polling the bidder's bidderDiscovery record — there is no separate heartbeat procedure.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | market.temp.publicdomainrelay.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.registrationCidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.registrationUriNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Register a bidder with the market registry. Called by bidders after they publish a bidderDiscovery record in their own repo and connect to the relay. The registry verifies the caller's service-auth JWT issuer matches the bidderDid, then indexes the bidder so it appears in listBidders queries. Liveness is determined by the registry polling the bidder's bidderDiscovery record — there is no separate heartbeat procedure.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"appliesTo": {
"description": "Payload NSIDs this bidder handles.",
"items": {
"format": "nsid",
"type": "string"
},
"minLength": 1,
"type": "array"
},
"bidderDid": {
"description": "DID of the bidder registering. Must match the service-auth JWT issuer.",
"format": "did",
"type": "string"
}
},
"required": [
"bidderDid",
"appliesTo"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"ok": {
"type": "boolean"
},
"registrationCid": {
"type": "string"
},
"registrationUri": {
"type": "string"
}
},
"required": [
"ok",
"registrationUri",
"registrationCid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.publicdomainrelay.temp.market.registerBidder",
"lexicon": 1
}