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
cid bafyreibvw6ciul3e337xfbanuln44xozzdopvgt6suovapsjmmlpsgq2my

Checks

Valid
  • unlimited-string defs.main.parameters.properties.itemUriNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get collections that contain a specific item",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "collections": {
              "description": "Collections containing the item",
              "items": {
                "ref": "pub.chive.collection.defs#collectionView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "collections"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "itemUri": {
            "description": "AT-URI of the item to find containing collections for",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum results to return",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "itemUri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.collection.getContaining",
  "lexicon": 1,
  "revision": 1
}