app.zeens.getCollectionsContaining

zeens.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "For a viewer, list which of their own collections (private + public) currently contain a given subject URI. Each match includes the parent collection's name, rkey, and visibility. Used by the 'Add to collection' modal to show which boxes are already checked, and by the post-detail page to render a 'part of collection' pill (public collections only).",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "subject": {
            "description": "AT-URI of the post or article.",
            "format": "at-uri",
            "type": "string"
          },
          "viewer": {
            "description": "DID of the requester (collections owner).",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "viewer",
          "subject"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.collectionItem",
      "type": "query"
    }
  },
  "id": "app.zeens.getCollectionsContaining",
  "lexicon": 1
}

Validate Record

Validate a record against app.zeens.getCollectionsContaining

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pwpuqwge6g7xrjmfbw73uycw
CID
bafyreigz5pjieopla5z2rbuu6vi74gypx2vzkr4legn6lpfv7pr5fh22xe
Indexed At
2026-10-22 16:31 UTC
AT-URI
at://did:plc:pwpuqwge6g7xrjmfbw73uycw/com.atproto.lexicon.schema/app.zeens.getCollectionsContaining

Similar Lexicons

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

  • Fetch a single collection record + a recent-items preview for the cover. Returns 404 if visibility=private and viewer != owner.

  • List collections owned by an actor. Private collections are only returned when viewer == actor.

  • Get collections that contain a specific item

  • List items inside a collection. Returns 404 if the collection is private and viewer != owner. Items are returned newest-first by addedAt.

  • Cover thumbnails for a batch of zeen / collection URIs. Deliberately narrow -- URIs in, cover refs out -- so a notifications list can draw a preview per row without a round trip each. getCollection takes one uri and ret…

Lexicon Garden

@