~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
40 lines · 1.6 KB Raw History
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.market.submitBid",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "A bidder submits a bid it wrote to the requester. Requires a service-auth JWT with lxm set to this NSID; the bidder is the token issuer.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["uri", "cid", "record"],
          "properties": {
            "uri": { "type": "string", "format": "at-uri", "description": "The market.bid record." },
            "cid": { "type": "string", "format": "cid" },
            "record": { "type": "ref", "ref": "com.publicdomainrelay.temp.market.bid", "description": "The market.bid record value." },
            "ingress": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "description": "The bidder's com.publicdomainrelay.temp.ingress.webRTC listen records for this call." }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["ok"],
          "properties": {
            "ok": { "type": "boolean" },
            "ingress": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "description": "The requester's com.publicdomainrelay.temp.ingress.webRTC listen records for this call." }
          }
        }
      },
      "errors": [
        { "name": "InvalidRequest" },
        { "name": "Unauthorized" },
        { "name": "Forbidden" },
        { "name": "Unavailable" }
      ]
    }
  }
}