com.emdashcms.experimental.aggregator.resolvePackage

emdashcms.com

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Convenience endpoint that combines bidirectionally verified handle-to-DID resolution with a package lookup. Useful when the user-facing identifier is `@example.dev/gallery-plugin` rather than a DID. The aggregator maintains a short-lived handle projection and refreshes stale identities in the background.",
      "errors": [
        {
          "description": "The handle could not be resolved to a DID.",
          "name": "HandleNotFound"
        },
        {
          "description": "No package indexed under the resolved (did, slug).",
          "name": "NotFound"
        },
        {
          "description": "The resolved package is indexed but has no profile 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#packageView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "handle": {
            "description": "Publisher's handle (e.g. 'example.dev').",
            "format": "handle",
            "type": "string"
          },
          "slug": {
            "description": "Package slug.",
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "handle",
          "slug"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Resolve a (handle, slug) pair to its canonical (did, slug) identity and return the package view. EXPERIMENTAL.",
  "id": "com.emdashcms.experimental.aggregator.resolvePackage",
  "lexicon": 1
}

Validate Record

Validate a record against com.emdashcms.experimental.aggregator.resolvePackage

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ilznslhspsvk6naatedr66pi
CID
bafyreibfh3lleewd43x2qbxwlwdlfxoqtd6jhqfkotn6iinqpxt6pu7b54
Indexed At
2026-10-08 09:24 UTC
AT-URI
at://did:plc:ilznslhspsvk6naatedr66pi/com.atproto.lexicon.schema/com.emdashcms.experimental.aggregator.resolvePackage

Referenced Schemas (1)

Similar Lexicons

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

Lexicon Garden

@