1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"lexicon": 1,
"id": "com.publicdomainrelay.temp.market.submitRfp",
"defs": {
"main": {
"type": "procedure",
"description": "A requester submits an RFP to a bidder. The bidder records a bid intent and answers before it bids. Requires a service-auth JWT with lxm set to this NSID; the requester is the token issuer.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["rfpUri", "rfpCid"],
"properties": {
"rfpUri": { "type": "string", "format": "at-uri", "description": "The market.rfp record." },
"rfpCid": { "type": "string", "format": "cid" },
"ingress": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "description": "The com.publicdomainrelay.temp.ingress.webRTC offer records for this bidder. The bidder answers them in the reply with its own answer and listen records." }
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["ok"],
"properties": {
"ok": { "type": "boolean" },
"name": { "type": "string", "description": "The bid intent the bidder recorded." },
"phase": { "type": "string", "description": "The phase of the bid intent." },
"ingress": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "description": "The bidder's com.publicdomainrelay.temp.ingress.webRTC answer and listen records for the request's offers, carrying the SDP and the bidder's STUN servers." }
}
}
},
"errors": [
{ "name": "InvalidRequest" },
{ "name": "Unauthorized" },
{ "name": "Forbidden" },
{ "name": "Unavailable" }
]
}
}
}