pub.chive.collection.getSubcollections

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
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "subcollections"
      ],
      "properties": {
        "subcollections": {
          "type": "array",
          "items": {
            "ref": "pub.chive.collection.defs#collectionView",
            "type": "ref"
          },
          "description": "Subcollections of the given collection"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "uri"
    ],
    "properties": {
      "uri": {
        "type": "string",
        "description": "AT-URI of the parent collection"
      }
    }
  },
  "description": "Get subcollections of a given collection"
}

Lexicon Garden

@