com.emdashcms.experimental.aggregator.getLatestRelease

emdashcms.com

Documentation

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.

main query

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.

Parameters

did string did Required

Publisher DID.

package string Required

Parent package slug.

Output

Errors

NotFound No eligible release for the given (did, package).
ListingUnavailable The package is indexed but has no release revision available under the aggregator's listing policy. No publisher-controlled content is returned.
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
Publisher DID.
Parent package slug.
View raw schema
{
  "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"
}

Lexicon Garden

@