pub.chive.collection.findContainsEdge

chive.pub

Documentation

Find the CONTAINS edge between a collection and an item

main query

Find the CONTAINS edge between a collection and an item

Parameters

collectionUri string Required

AT-URI of the collection

itemUri string Required

AT-URI of the item to find

Output

Encodingapplication/json
cosmikCardUri string Optional

AT-URI of the Cosmik card for this item

cosmikItemUrl string Optional

URL key in cosmikItems metadata

cosmikLinkUri string Optional

AT-URI of the Cosmik collection link for this item

edgeUri string Optional

AT-URI of the CONTAINS edge

found boolean Required

Whether the edge was found

parentCollectionUri string Optional

AT-URI of the parent collection (for walking up)

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 collection
AT-URI of the item to find
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "found"
      ],
      "properties": {
        "found": {
          "type": "boolean",
          "description": "Whether the edge was found"
        },
        "edgeUri": {
          "type": "string",
          "description": "AT-URI of the CONTAINS edge"
        },
        "cosmikCardUri": {
          "type": "string",
          "description": "AT-URI of the Cosmik card for this item"
        },
        "cosmikItemUrl": {
          "type": "string",
          "description": "URL key in cosmikItems metadata"
        },
        "cosmikLinkUri": {
          "type": "string",
          "description": "AT-URI of the Cosmik collection link for this item"
        },
        "parentCollectionUri": {
          "type": "string",
          "description": "AT-URI of the parent collection (for walking up)"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "collectionUri",
      "itemUri"
    ],
    "properties": {
      "itemUri": {
        "type": "string",
        "description": "AT-URI of the item to find"
      },
      "collectionUri": {
        "type": "string",
        "description": "AT-URI of the collection"
      }
    }
  },
  "description": "Find the CONTAINS edge between a collection and an item"
}

Lexicon Garden

@