pub.chive.collection.getSubcollections

Get subcollections of a given collection

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

Showing version bafyreihqscmvyzpvphg4h42cx7okrhmds4yelnzcsm3dkdtnt3253bu6di. Show the latest

cid bafyreihqscmvyzpvphg4h42cx7okrhmds4yelnzcsm3dkdtnt3253bu6di

Checks

Valid
  • unlimited-string defs.main.parameters.properties.uriNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get subcollections of a given collection",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subcollections": {
              "description": "Subcollections of the given collection",
              "items": {
                "ref": "pub.chive.collection.defs#collectionView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "subcollections"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uri": {
            "description": "AT-URI of the parent collection",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.collection.getSubcollections",
  "lexicon": 1,
  "revision": 1
}