org.cairnsproto.draft.getInputs

Everything a client needs to recompute a project's reading itself: every input record with its value, the beacons its draw claims used, the epoch each author was first seen in, and the labels of the policy's labelers. A client can drop records before reading, such as stones from sponsors it blocks, without telling the indexer.

Repository @cairnsproto.org did:plc:np7ezqujtsry4bkogisaabul namespace authority
Details · query
Kindquery
Authoritydraft.cairnsproto.org
Commit rev3mzxyqidwyl2o
Indexed

Query

query · GET

Parameters

query string

project

requiredstring · at-uri

Output

application/json

beacons

requiredarray

epoch

requiredinteger

The indexer's current epoch.

  • minimum: 0

firstEpochs

requiredarray
itemsref
Reference

labels

array

Every label from the labelers the policy lists, for the reading to evaluate as of its time.

itemsref
Reference

policy

requiredref

project

requiredref

records

requiredarray
itemsref
Reference

sources

array

Every source record, from any author, whose hash is one of the project's scope sources or a source its stones' sites trace back to, ordered by URI. The hash is the source's identity and records with the same hash are interchangeable metadata, such as URLs and a MIME type. They are not reading inputs and are not in the input root.

itemsref
Reference

The project's stones deleted from their repos: CID and site key only, with no URI, author or payload. A reading counts each as withdrawn and adds it to the input root.

itemsref
Reference

#firstEpoch

object

Properties

did

requiredstring · did

epoch

requiredinteger
  • minimum: 0

#label

object

An ATProto label as its labeler published it.

Properties

cid

string · cid

cts

string · datetime

exp

string · datetime

neg

boolean

src

requiredstring · did

uri

requiredstring · uri

val

requiredstring
  • maxLength: 128

#record

object

Properties

cid

requiredstring · cid

seenEpoch

requiredinteger
  • minimum: 0

uri

requiredstring · at-uri

value

requiredunknown

#tombstone

object

Properties

cid

requiredstring · cid

site

requiredref

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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.