zone.stratos.repo.hydrateRecord
Hydrate a single record by URI. Returns the record if viewer has boundary access.
Details · query
| Kind | query |
|---|---|
| Authority | repo.stratos.zone |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Hydrate a single record by URI. Returns the record if viewer has boundary access.",
"errors": [
{
"description": "The requested record does not exist",
"name": "RecordNotFound"
},
{
"description": "Access to the record is blocked due to boundary restrictions",
"name": "RecordBlocked"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"value": {
"type": "unknown"
}
},
"required": [
"uri",
"cid",
"value"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cid": {
"description": "Optional CID to verify record version",
"format": "cid",
"type": "string"
},
"uri": {
"description": "The AT-URI of the record to hydrate",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "zone.stratos.repo.hydrateRecord",
"lexicon": 1
}