comAtprotoSpaceGetRecord function
Get a single record from a space repo. Responses are authenticated with a MAC. Requires auth as the repo's account or with a space credential; implemented by PDS.
Implementation
Future<XRPCResponse<SpaceGetRecordOutput>> comAtprotoSpaceGetRecord({
required String space,
required String repo,
required String collection,
required String rkey,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoSpaceGetRecord,
service: $service,
headers: $headers,
parameters: {
...?$unknown,
'space': space,
'repo': repo,
'collection': collection,
'rkey': rkey,
},
to: const SpaceGetRecordOutputConverter().fromJson,
);