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
Output
application/jsonErrors
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.
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"
}