com.emdashcms.experimental.aggregator.getPackage

emdashcms.com

Documentation

Returns the aggregator's view of one package, including the signed profile record, denormalised metadata for display, and any hydrated labels. Returns NotFound if the aggregator has no record of this (did, slug) pair, or if the package has been tombstoned.

main query

Returns the aggregator's view of one package, including the signed profile record, denormalised metadata for display, and any hydrated labels. Returns NotFound if the aggregator has no record of this (did, slug) pair, or if the package has been tombstoned.

Parameters

did string did Required

Publisher DID.

slug string Required

Package slug.

Output

Errors

NotFound No package indexed under the given (did, slug). Aggregators that hard-delete on publisher deletion (rather than soft-deleting) return NotFound for both the never-indexed and the deleted cases — clients should treat them equivalently.
ListingUnavailable The package is indexed but has no profile 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.
Package slug.
View raw schema
{
  "description": "Returns the aggregator's view of one package, including the signed profile record, denormalised metadata for display, and any hydrated labels. Returns NotFound if the aggregator has no record of this (did, slug) pair, or if the package has been tombstoned.",
  "errors": [
    {
      "description": "No package indexed under the given (did, slug). Aggregators that hard-delete on publisher deletion (rather than soft-deleting) return NotFound for both the never-indexed and the deleted cases — clients should treat them equivalently.",
      "name": "NotFound"
    },
    {
      "description": "The 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": {
      "did": {
        "description": "Publisher DID.",
        "format": "did",
        "type": "string"
      },
      "slug": {
        "description": "Package slug.",
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "did",
      "slug"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@