org.cairnsproto.draft.listDraws
Sites a sponsor holds a deliverable draw for: the newest epoch whose retrace window is still open and whose beacon draws the sponsor, for sites not yet past their export bar, in projects where the declared model counts, where the sponsor is eligible and the draw hash falls under the escalated threshold. Each draw carries what a client needs to verify it and do the work. Course-0 sites nobody has opened are listed separately under open, since a first read needs no draw.
Details · query
| Kind | query |
|---|---|
| Authority | draft.cairnsproto.org |
| Indexed |
Query
query · GETParameters
query stringlimit
integerminimum: 1maximum: 100default: 50
model
stringThe declared model family. Projects whose policy gives it no weight are left out; without it, the weight of a stone with no model applies.
maxLength: 256
modelVersion
stringmaxLength: 128
project
string · at-uriLimit to one project.
site
stringLimit to one site key, as 64 lowercase hex digits.
minLength: 64maxLength: 64
thinking
stringmaxLength: 64
Output
application/jsonThe beacons the draws used. Projects with different epoch lengths draw from different rounds.
open
arraySites no stone has reached yet, in projects where the declared model counts: root-course sites, and child sites a split course opened on a parent value past the open-children bar. A first read needs no draw and earns full credit, so anyone may open them.
versions
arrayFor each project listed, the version draws and open sites were routed under, and a newer version still waiting out its activation delay.
#draw
objectProperties
minimum: 1
course
stringThe id of the course whose schema the site has.
maxLength: 128
drawKey
string · didUnder mergeOrgs, the org unit the beacon drew, when it isn't the sponsor itself; the draw hash is over this DID.
The epoch under the project's policy.
minimum: 1
Source hashes the site's chain starts from.
maxLength: 32
minimum: 0maximum: 1000000
#openSite
objectProperties
maxLength: 128
The sources the site's chain starts from.
The site itself: base, mark and schema.
#pendingVersion
objectProperties
The drand round from which the newer version is in effect.
minimum: 0
#routedVersion
objectSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Projects the indexer has seen, each at the version it routes under, ranked by need, highest first. Projects a labeler the policy honors, or a labeler the caller names, marks unsafe are left out.
-
The current reading of a project under its policy, with the inputs a client needs to recompute it: every input record's URI, CID and first-seen epoch, and the beacons its draw claims used.