pub.chive.collection.getContaining

chive.pub

Documentation

Get collections that contain a specific item

main query

Get collections that contain a specific item

Parameters

itemUri string Required

AT-URI of the item to find containing collections for

limit integer Optional

Maximum results to return

Output

Encodingapplication/json
collections array Required

Collections containing the item

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
AT-URI of the item to find containing collections for
Maximum results to return
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "collections"
      ],
      "properties": {
        "collections": {
          "type": "array",
          "items": {
            "ref": "pub.chive.collection.defs#collectionView",
            "type": "ref"
          },
          "description": "Collections containing the item"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "itemUri"
    ],
    "properties": {
      "limit": {
        "type": "integer",
        "default": 50,
        "maximum": 100,
        "minimum": 1,
        "description": "Maximum results to return"
      },
      "itemUri": {
        "type": "string",
        "description": "AT-URI of the item to find containing collections for"
      }
    }
  },
  "description": "Get collections that contain a specific item"
}

Lexicon Garden

@