pub.chive.collection.getSubcollections

lexicons.governance.chive.pub

Documentation

Get subcollections of a given collection

main query

Get subcollections of a given collection

Parameters

uri string Required

AT-URI of the parent collection

Output

Encodingapplication/json
subcollections array Required

Subcollections of the given collection

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 parent collection
View raw schema
{
  "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"
}

Lexicon Garden

@