pub.chive.sync.indexRecord

chive.pub

Documentation

Index a record from PDS (owner or admin only)

main procedure

Index a record from PDS (owner or admin only)

Input

Encodingapplication/json
uri stringat-uri Required

AT-URI of the record to index

Output

Encodingapplication/json
cid stringcid Optional

CID of the indexed record (if successful)

error string Optional

Error message (if failed)

indexed boolean Required

Whether indexing succeeded

uri stringat-uri Required

AT-URI of the indexed record

Errors

InvalidRequest
AuthenticationRequired
NotFound
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://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "uri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the record to index"
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "InvalidRequest"
    },
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "NotFound"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "indexed"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "CID of the indexed record (if successful)"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the indexed record"
        },
        "error": {
          "type": "string",
          "description": "Error message (if failed)"
        },
        "indexed": {
          "type": "boolean",
          "description": "Whether indexing succeeded"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Index a record from PDS (owner or admin only)"
}

Lexicon Garden

@