com.emdashcms.experimental.aggregator.getLatestRelease

Returns the aggregator's view of the latest release for a package, including the signed release record, artifact cache services, and hydrated labels. The latest release is the highest semver version (full precedence rules, not lexicographic) excluding any release tombstoned by the publisher or labelled with a hard-enforcement label by a trusted labeller the request accepts. Returns NotFound if there are no eligible releases.

Repository @emdashcms.com did:plc:ilznslhspsvk6naatedr66pi namespace authority
Details · query
Kindquery
Authorityaggregator.experimental.emdashcms.com
Indexed
cid bafyreicc4irfwn2mcquuxbccyzkkbhmz2wokdabmnlgfs3xj4mbdvdgpba

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Returns the aggregator's view of the latest release for a package, including the signed release record, artifact cache services, and hydrated labels. The latest release is the highest semver version (full precedence rules, not lexicographic) excluding any release tombstoned by the publisher or labelled with a hard-enforcement label by a trusted labeller the request accepts. Returns NotFound if there are no eligible releases.",
      "errors": [
        {
          "description": "No eligible release for the given (did, package).",
          "name": "NotFound"
        },
        {
          "description": "The package is indexed but has no release revision available under the aggregator's listing policy. No publisher-controlled content is returned.",
          "name": "ListingUnavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "com.emdashcms.experimental.aggregator.defs#releaseView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "Publisher DID.",
            "format": "did",
            "type": "string"
          },
          "package": {
            "description": "Parent package slug.",
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "did",
          "package"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Get the latest release for a package: the highest semver version among non-tombstoned, non-yanked releases. EXPERIMENTAL.",
  "id": "com.emdashcms.experimental.aggregator.getLatestRelease",
  "lexicon": 1
}