532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"id": "com.atproto.sync.getRecord",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"errors": [
|
|
{
|
|
"name": "RecordNotFound"
|
|
},
|
|
{
|
|
"name": "RepoNotFound"
|
|
},
|
|
{
|
|
"name": "RepoTakendown"
|
|
},
|
|
{
|
|
"name": "RepoSuspended"
|
|
},
|
|
{
|
|
"name": "RepoDeactivated"
|
|
}
|
|
],
|
|
"output": {
|
|
"encoding": "application/vnd.ipld.car"
|
|
},
|
|
"parameters": {
|
|
"type": "params",
|
|
"required": [
|
|
"did",
|
|
"collection",
|
|
"rkey"
|
|
],
|
|
"properties": {
|
|
"did": {
|
|
"type": "string",
|
|
"format": "did",
|
|
"description": "The DID of the repo."
|
|
},
|
|
"rkey": {
|
|
"type": "string",
|
|
"format": "record-key",
|
|
"description": "Record Key"
|
|
},
|
|
"collection": {
|
|
"type": "string",
|
|
"format": "nsid"
|
|
}
|
|
}
|
|
},
|
|
"description": "Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|