comAtprotoRepoGetRecord function
Get a single record from a repository. Does not require auth.
Implementation
Future<XRPCResponse<RepoGetRecordOutput>> comAtprotoRepoGetRecord({
required String repo,
required String collection,
required String rkey,
String? cid,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoRepoGetRecord,
headers: $headers,
parameters: {
...?$unknown,
'repo': repo,
'collection': collection,
'rkey': rkey,
if (cid != null) 'cid': cid,
},
to: const RepoGetRecordOutputConverter().fromJson,
);