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
| Kind | query |
|---|---|
| Authority | collection.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.itemUriNo maxLength, maxGraphemes or format limits this string.
{
"$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
}