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
42
43
44
45
46
{
"lexicon": 1,
"id": "com.publicdomainrelay.temp.market.submitAccept",
"defs": {
"main": {
"type": "procedure",
"description": "A requester submits its accept of a bid to the bidder. The bidder records a provisioning intent and answers 202; the receipt follows as a market.receipt record. 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": ["acceptUri", "acceptCid"],
"properties": {
"acceptUri": { "type": "string", "format": "at-uri", "description": "The market.accept record." },
"acceptCid": { "type": "string", "format": "cid" },
"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." }
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["ok"],
"properties": {
"ok": { "type": "boolean" },
"id": { "type": "string", "description": "The provisioning intent the bidder recorded." },
"acceptUri": { "type": "string", "format": "at-uri" },
"acceptCid": { "type": "string", "format": "cid" },
"uri": { "type": "string", "format": "at-uri", "description": "The market.receipt, when it is already written." },
"cid": { "type": "string", "format": "cid" },
"submitEvent": { "type": "string", "description": "Where the requester submits events: a DID service ref (did#serviceId) or an HTTP URL." },
"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." }
}
}
},
"errors": [
{ "name": "InvalidRequest" },
{ "name": "Unauthorized" },
{ "name": "Forbidden" },
{ "name": "InternalError" },
{ "name": "Unavailable" }
]
}
}
}