technology.agave.marketplace.getVersion

catalogue.agave.technology

Documentation

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

main query

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

Parameters

author string at-identifier Required

Either a DID or an AT Protocol handle.

slug string Required

No description available.

version integer Optional

Absent: the newest published version.

Output

Encodingapplication/json
cid stringcid Required

A content identifier (CID) referencing immutable data.

indexedAt stringdatetime Required

An RFC 3339 formatted timestamp.

pds stringuri Required

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

record unknown Required

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

uri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

uses integer Required

No description available.

verified boolean Required

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.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Either a DID or an AT Protocol handle.
Absent: the newest published version.
View raw schema
{
  "description": "Resolve a version to its record and where its archive is.",
  "errors": [
    {
      "description": "The author never published this version, or no version of the slug.",
      "name": "VersionNotFound"
    },
    {
      "description": "The version was published and its record is deleted since. Without a version: every version of the slug is.",
      "name": "VersionWithdrawn"
    },
    {
      "description": "The author's handle does not resolve.",
      "name": "ActorNotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "author": {
          "ref": "technology.agave.marketplace.defs#actorView",
          "type": "ref"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "pds": {
          "description": "The author's PDS as of indexing, which serves the archive at com.atproto.sync.getBlob.",
          "format": "uri",
          "type": "string"
        },
        "record": {
          "description": "The technology.agave.blockVersion record as its repository signed it. Its archive names the blob by CID.",
          "type": "unknown"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "uses": {
          "minimum": 0,
          "type": "integer"
        },
        "verified": {
          "description": "The marketplace's operator vouches for this version's author.",
          "type": "boolean"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "record",
        "pds",
        "indexedAt",
        "uses",
        "verified"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "author": {
        "format": "at-identifier",
        "type": "string"
      },
      "slug": {
        "maxLength": 40,
        "type": "string"
      },
      "version": {
        "description": "Absent: the newest published version.",
        "minimum": 1,
        "type": "integer"
      }
    },
    "required": [
      "author",
      "slug"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@