Currently, calling sync.getRecord on a bridgy repo returns 400 error="InvalidRequest" for records that don't exist.
eg: https://atproto.brid.gy/xrpc/com.atproto.sync.getRecord?did=did:plc:ic4mplmy2blzwvurli4htcim&collection=fake.collection.hey&rkey=22234
It should return 200 OK with a CAR slice proving the absence of the requested key -- a slice containing the would-be-adjacent keys.
From the spec:
Get data blocks needed to prove the existence or non-existence of record in the current version of repo.
eg: https://porcini.us-east.host.bsky.network/xrpc/com.atproto.sync.getRecord?did=did:plc:hdhoaan3xa3jiuq4fg4mefid&collection=fake.collection.hey&rkey=22234
Currently, calling
sync.getRecordon a bridgy repo returns 400 error="InvalidRequest" for records that don't exist.eg: https://atproto.brid.gy/xrpc/com.atproto.sync.getRecord?did=did:plc:ic4mplmy2blzwvurli4htcim&collection=fake.collection.hey&rkey=22234
It should return 200 OK with a CAR slice proving the absence of the requested key -- a slice containing the would-be-adjacent keys.
From the spec:
eg: https://porcini.us-east.host.bsky.network/xrpc/com.atproto.sync.getRecord?did=did:plc:hdhoaan3xa3jiuq4fg4mefid&collection=fake.collection.hey&rkey=22234