pub.chive.collection.getContaining

Get collections that contain a specific item

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authoritycollection.chive.pub
Indexed

Query

query · GET

Parameters

query string

itemUri

requiredstring

AT-URI of the item to find containing collections for

limit

integer

Maximum results to return

  • minimum: 1
  • maximum: 100
  • default: 50

Output

application/json

collections

requiredarray

Collections containing the item

Similar lexicons

semantic match

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

  • Get a single collection by its AT-URI

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

  • Find the CONTAINS edge between a collection and an item

  • Get subcollections of a given collection

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