pub.chive.collection.getParent

Get the parent collection 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 bafyreienoodbjcn27j57y6dcbiw4rjdwclyqkuxaxkhojieztmjltoibua. Show the latest

cid bafyreienoodbjcn27j57y6dcbiw4rjdwclyqkuxaxkhojieztmjltoibua

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 the parent collection of a given collection",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "parent": {
              "description": "Parent collection, if one exists",
              "ref": "pub.chive.collection.defs#collectionView",
              "type": "ref"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uri": {
            "description": "AT-URI of the collection",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.collection.getParent",
  "lexicon": 1,
  "revision": 1
}