lexicons and xrpc
lexicon
com.publicdomainrelay.temp.market.submitBid
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
| field | type | description |
|---|---|---|
uri * | string at-uri | The market.bid record. |
cid * | string cid | |
record * | com.publicdomainrelay.temp.market.bid | The market.bid record value. |
ingress | array of com.atproto.repo.strongRef | The bidder's com.publicdomainrelay.temp.ingress.webRTC listen records for this call. |
output
| field | type | description |
|---|---|---|
ok * | boolean | |
ingress | array of com.atproto.repo.strongRef | The requester's com.publicdomainrelay.temp.ingress.webRTC listen records for this call. |
errors
| error | description |
|---|---|
InvalidRequest | 400: the body is not JSON or the record is not a valid market.bid. |
Unauthorized | 401: the service-auth token is missing or not valid for this method. |
Forbidden | 403: the bid record is not in the token issuer's repo. |
Unavailable | 503: the requester is starting, or it could not queue the bid. |
used in
flow: one compute contract, end to end, lexicons-market: one row per lexicon, market: the RFP flow
raw schema: lexicons/com/publicdomainrelay/temp/market/submitBid.json
{
"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",
"description": "400: the body is not JSON or the record is not a valid market.bid."
},
{
"name": "Unauthorized",
"description": "401: the service-auth token is missing or not valid for this method."
},
{
"name": "Forbidden",
"description": "403: the bid record is not in the token issuer's repo."
},
{
"name": "Unavailable",
"description": "503: the requester is starting, or it could not queue the bid."
}
]
}
}
}