app.zeens.getCollection

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

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

Query

query · GET

Parameters

query string

uri

requiredstring · at-uri

AT-URI of the app.zeens.collection record.

viewer

string · did

DID of the requester.

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.

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

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

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

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

  • Get a single collection by its AT-URI