technology.agave.marketplace.getVersion

Resolve a version to its record and where its archive is.

Details · query
Kindquery
Authoritymarketplace.agave.technology
Indexed

Query

query · GET

Parameters

query string

author

requiredstring · at-identifier

slug

requiredstring
  • maxLength: 40

version

integer

Absent: the newest published version.

  • minimum: 1

Output

application/json

cid

requiredstring · cid

indexedAt

requiredstring · datetime

pds

requiredstring · uri

The author's PDS as of indexing, which serves the archive at com.atproto.sync.getBlob.

record

requiredunknown

The technology.agave.blockVersion record as its repository signed it. Its archive names the blob by CID.

uri

requiredstring · at-uri

uses

requiredinteger
  • minimum: 0

verified

requiredboolean

The marketplace's operator vouches for this version's author.

Errors

VersionNotFound

The author never published this version, or no version of the slug.

VersionWithdrawn

The version was published and its record is deleted since. Without a version: every version of the slug is.

ActorNotFound

The author's handle does not resolve.

Similar lexicons

semantic match

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

  • Every version of one author's slug the marketplace indexed, newest first, withdrawn ones included.

  • The mirror's copy of a published version's archive. The caller verifies the bytes against the CID, as it would the PDS's.

  • A version's archive blob. technology.agave.marketplace.getBlob serves it from the mirror, com.atproto.sync.getBlob from the author's PDS.

  • Fetch one technology.agave record from its author's PDS with its repository proof, verify it and index it, or drop it from the index when the repository no longer holds it. Needs no authentication: everything indexed comes from the repository, nothing from the caller.