com.bad-example.repo.getUriRecord

bad-example.com

Documentation

ergonomic complement to com.atproto.repo.getRecord which accepts an at-uri instead of individual repo/collection/rkey params

main query

ergonomic complement to com.atproto.repo.getRecord which accepts an at-uri instead of individual repo/collection/rkey params

Parameters

at_uri string at-uri Required

the at-uri of the record (identifier can be a DID or handle)

cid string cid Optional

optional CID of the version of the record. if not specified, return the most recent version. if specified and a newer version exists, returns 404.

Output

Encodingapplication/json
cid stringcid Optional

CID for this exact version of the record

uri stringat-uri Required

at-uri for this record

value unknown Required

the record itself

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
the at-uri of the record (identifier can be a DID or handle)
optional CID of the version of the record. if not specified, return the most recent version. if specified and a newer version exists, returns 404.
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "value"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "CID for this exact version of the record"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "at-uri for this record"
        },
        "value": {
          "type": "unknown",
          "description": "the record itself"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "at_uri"
    ],
    "properties": {
      "cid": {
        "type": "string",
        "format": "cid",
        "description": "optional CID of the version of the record. if not specified, return the most recent version. if specified and a newer version exists, returns 404."
      },
      "at_uri": {
        "type": "string",
        "format": "at-uri",
        "description": "the at-uri of the record (identifier can be a DID or handle)"
      }
    }
  },
  "description": "ergonomic complement to com.atproto.repo.getRecord which accepts an at-uri instead of individual repo/collection/rkey params"
}

Lexicon Garden

@