app.zeens.getCollectionsContaining

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).

Repository @zeens.app did:plc:pwpuqwge6g7xrjmfbw73uycw namespace authority
Details · query
Kindquery
Authorityzeens.app
Indexed

Query

query · GET

Parameters

query string

subject

requiredstring · at-uri

AT-URI of the post or article.

viewer

requiredstring · did

DID of the requester (collections owner).

Output

application/json

Similar lexicons

semantic match

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 returns the whole record plus an item count; a zeen had no AppView read at all and getZeen goes to the author's PDS for every page's full text to find one cid.