Skip to main content

get_record

Function get_record 

Source
pub(crate) async fn get_record(
    __arg0: State<AppState>,
    peer: Peer,
    headers: HeaderMap,
    query: Result<Query<GetRecordQuery>, QueryRejection>,
) -> Response
Expand description

GET /xrpc/com.atproto.repo.getRecord

404 RecordNotFound when the record is not there, which is the name the lexicon declares and the only one it declares.